[U-Boot] [PATCH 2/9] Fix strict-aliasing warning in dlmalloc

Wolfgang Denk wd at denx.de
Fri Jan 6 07:48:36 CET 2012


Dear Simon Glass,

In message <1325822097-15227-3-git-send-email-sjg at 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.


More information about the U-Boot mailing list