From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 06 Jan 2012 07:48:36 +0100 Subject: [U-Boot] [PATCH 2/9] Fix strict-aliasing warning in dlmalloc In-Reply-To: <1325822097-15227-3-git-send-email-sjg@chromium.org> References: <1325822097-15227-1-git-send-email-sjg@chromium.org> <1325822097-15227-3-git-send-email-sjg@chromium.org> Message-ID: <20120106064836.C35251FD3DA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, In message <1325822097-15227-3-git-send-email-sjg@chromium.org> you wrote: > This fixes the following warnings in dlmalloc seen with my gcc 4.6. Which exact version is this? > dlmalloc.c: In function 'malloc_bin_reloc': > dlmalloc.c:1493: warning: dereferencing pointer 'p' does break strict-aliasing rules > dlmalloc.c:1493: warning: dereferencing pointer 'p' does break strict-aliasing rules > dlmalloc.c:1490: note: initialized from here > dlmalloc.c:1493: note: initialized from here Can you please tell me at least one board configuration that throws this error (preferrably ppc, arm or mips) ? Also, at least one for the "mpc5xxx: Fix strict-aliasing warnings in usb_ohci.c" and "ppc4xx: Fix strict-aliasing warnings in usb_ohci.c" patches? I wonder why I don't see any such warnings. Which exact commit ID are you building? Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Make it right before you make it faster.