re PR debug/42800 (VLA DW_AT_upper_bound is no longer emitted)
[gcc.git] / gcc / ChangeLog
index b148e67d11df7c95aa4db00efc79f81ce726e0e3..0361b40677d399f92d7fdd8e20929d7a098e15c7 100644 (file)
@@ -1,5 +1,9 @@
 2010-02-23  Jason Merrill  <jason@redhat.com>
 
+       PR debug/42800
+       * cfgexpand.c (expand_used_vars): Keep artificial non-ignored vars
+       in cfun->local_decls even if they have register types.
+
        PR c++/42837
        * stor-layout.c (place_field): Don't warn about unnecessary
        DECL_PACKED if the type is packed.