From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 8 Jan 2012 04:27:33 -0500 Subject: [U-Boot] [PATCH 2/9] Fix strict-aliasing warning in dlmalloc In-Reply-To: References: <1325822097-15227-1-git-send-email-sjg@chromium.org> <20120106064836.C35251FD3DA@gemini.denx.de> Message-ID: <201201080427.34098.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 06 January 2012 15:39:08 Simon Glass wrote: > On Thu, Jan 5, 2012 at 10:48 PM, Wolfgang Denk wrote: > > Simon Glass 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) ? > > I can't see one with those architectures. It does happen for others though: yes, there have been reports and patches posted in the past iirc. first by Kumar i think. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: