http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44989
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-debug Priority|P2 |P3 Target Milestone|4.6.0 |--- Summary|[4.6 regression] |g++.dg/guality/redeclaratio |g++.dg/guality/redeclaratio |n1.C |n1.C | --- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-15 15:53:07 UTC --- Ok, the dg-skip if works. LTO makes us print 24 for the first i. Because gdb name lookup is confused if the local i is gone. So it's really wrong debug info. But it's hardly a regression for LTO. I'll commit the dg-skip and leave the bug open as non-regression.