From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 13 Aug 2012 10:54:03 -0400 Subject: [U-Boot] [PATCH] dlmalloc: remove manual reloc alias warning In-Reply-To: <1344848523-20359-1-git-send-email-andreas.devel@googlemail.com> References: <1344848523-20359-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <201208131054.05076.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 Monday 13 August 2012 05:02:03 Andreas Bie?mann wrote: > From: Andreas Bie?mann > > The avr32 architecture (and some others) require manual relocation. Due to > the previous error all avr32 boards gave warnings in MAKEALL wich makes it > hard to find new warnings. > > This patch fixes following warning: > ---8<--- > 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 > --->8--- > > Signed-off-by: Andreas Bie?mann > --- > A question to all the other related arches, namely m68k, mips, nds32 and > sparc: Do you encounter the same warnings or is this warning due to my > outdated compiler (4.4.3 currently, unfortunately atmel do not bother to > send their patches mainline)? previous thread (and i think there was one before this): http://patchwork.ozlabs.org/patch/134597/ -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: