This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40517] strict-aliasing warning contains internal variable name
- From: "mark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2009 09:06:27 -0000
- Subject: [Bug c/40517] strict-aliasing warning contains internal variable name
- References: <bug-40517-3639@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from mark at gcc dot gnu dot org 2009-06-22 09:06 -------
Created an attachment (id=18045)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18045&action=view)
compressed -E preprocessed sources
$ gcc -g -Wall -O2 -c dwarf_getaranges.c
dwarf_getaranges.c: In function ?dwarf_getaranges?:
libdwP.h:540: warning: dereferencing pointer ?readp.44? does break
strict-aliasing rules
dwarf_getaranges.c:152: note: initialized from here
libdwP.h:519: warning: dereferencing pointer ?readp.44? does break
strict-aliasing rules
dwarf_getaranges.c:174: note: initialized from here
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40517