This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]