public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] warnings from gcc-4.4 build
@ 2009-06-30 15:28 Kumar Gala
  2009-07-01 13:53 ` Detlev Zundel
  2009-07-04 23:33 ` Wolfgang Denk
  0 siblings, 2 replies; 7+ messages in thread
From: Kumar Gala @ 2009-06-30 15:28 UTC (permalink / raw)
  To: u-boot

When building the MPC8572DS_config w/gcc-4.4 I get:

sys_eeprom.c: In function ?do_mac?:
sys_eeprom.c:323: warning: dereferencing type-punned pointer will  
break strict-aliasing rules
sys_eeprom.c: In function ?mac_read_from_eeprom?:
sys_eeprom.c:395: warning: dereferencing type-punned pointer will  
break strict-aliasing rules
ahci.c: In function ?ata_scsiop_read_capacity10?:
ahci.c:616: warning: dereferencing type-punned pointer will break  
strict-aliasing rules
biosemu.c: In function ?BE_setVGA?:
biosemu.c:147: warning: dereferencing type-punned pointer will break  
strict-aliasing rules
tsec.c: In function ?tsec_init?:
tsec.c:200: warning: dereferencing type-punned pointer will break  
strict-aliasing rules
dlmalloc.c: In function ?malloc_bin_reloc?:
dlmalloc.c:1502: warning: dereferencing pointer ?p? does break strict- 
aliasing rules
dlmalloc.c:1502: warning: dereferencing pointer ?p? does break strict- 
aliasing rules
dlmalloc.c:1499: note: initialized from here
dlmalloc.c:1502: note: initialized from here
dlmalloc.c: In function ?free?:
dlmalloc.c:2474: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2474: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2474: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2474: note: initialized from here
dlmalloc.c: In function ?malloc?:
dlmalloc.c:2219: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2219: note: initialized from here
dlmalloc.c:2228: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2228: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2228: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2228: note: initialized from here
dlmalloc.c:2235: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2235: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2235: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2235: note: initialized from here
dlmalloc.c:2292: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2292: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2292: warning: dereferencing pointer ?({anonymous})? does  
break strict-aliasing rules
dlmalloc.c:2292: note: initialized from here
xyzModem.c: In function ?xyzModem_stream_open?:
xyzModem.c:564: warning: ?dummy? is used uninitialized in this function
xyzModem.c:547: note: ?dummy? was declared here

Should would be turning on -fno-strict-aliasing.  The linux kernel has  
been doing this for some time.

- k

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-07-11  2:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30 15:28 [U-Boot] warnings from gcc-4.4 build Kumar Gala
2009-07-01 13:53 ` Detlev Zundel
2009-07-04 23:33 ` Wolfgang Denk
2009-07-06 15:10   ` Kumar Gala
2009-07-06 17:52     ` Scott Wood
2009-07-10 23:05       ` Wolfgang Denk
2009-07-11  2:49         ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox