[Bug c/40517] strict-aliasing warning contains internal variable name
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 25 20:52:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list