[Bug debug/42800] [4.5 Regression] VLA DW_AT_upper_bound is no longer emitted

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 19 17:19:00 GMT 2010



------- Comment #4 from jakub at gcc dot gnu dot org  2010-01-19 17:19 -------
Yes.  This is -O0, so we definitely should ensure that the debug info has the
correct upper bound.
Look at gimplify_type_sizes which for -O0 clears DECL_IGNORED_P on the
temporaries to make sure they are not optimized out.  That worked well in 4.4,
but probably doesn't work any longer.


-- 


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



More information about the Gcc-bugs mailing list