From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Wed, 05 Sep 2012 11:41:33 +0200 Subject: [U-Boot] [PATCH] Fix strict-aliasing warning in dlmalloc In-Reply-To: <1346794267-10709-1-git-send-email-andreas.devel@googlemail.com> References: <1346794267-10709-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <50471E4D.9010708@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear all, On 04.09.2012 23:31, andreas.devel at googlemail.com wrote: > From: Simon Glass > > This fixes the following warnings in dlmalloc seen with my gcc 4.6. > > 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 > > This version is tested on avr32 arch boards. > > Signed-off-by: Simon Glass > Signed-off-by: Andreas Bie?mann > --- if no one complains I will apply this through u-boot-avr32 next weekend. Best regards Andreas Bie?mann