[Bug debug/39474] DW_AT_location missing for unused variables even at -O0

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 16 22:59:00 GMT 2009



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-03-16 22:59 -------
Well, it doesn't even have a value assigned.  So I consider this a valid
"optimization" for -O0.  Does the variable have a location once you inintialize
it?


-- 


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



More information about the Gcc-bugs mailing list