This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/40517] strict-aliasing warning contains internal variable name



------- Comment #5 from manu at gcc dot gnu dot org  2009-06-25 20:52 -------
GCC 4.5 produces nothing with -Wall -O2. With -Wstrict-aliasing=1 it says:

pr40517.c:4514:8: warning: dereferencing type-punned pointer might break
strict-aliasing rules
pr40517.c:4536:6: warning: dereferencing type-punned pointer might break
strict-aliasing rules

which points to:

4514       IDX_debug_aranges, (unsigned char **)&readp,

so the column info is not very precise.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40517


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]