------- 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