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

2009-06-25 Thread manu at gcc dot gnu dot org
--- 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-pu

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

2009-06-24 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-06-24 09:43 --- It's not available. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40517

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

2009-06-23 Thread roland at redhat dot com
--- Comment #3 from roland at redhat dot com 2009-06-23 20:27 --- I don't understand. Why can't it print the source-level variable name? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40517

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

2009-06-22 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-22 10:28 --- We don't have something better to print here - apart from which likely would be even less useful. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40517

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

2009-06-22 Thread mark 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