re PR debug/42800 (VLA DW_AT_upper_bound is no longer emitted)
authorJason Merrill <jason@redhat.com>
Tue, 23 Feb 2010 18:32:09 +0000 (13:32 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 23 Feb 2010 18:32:09 +0000 (13:32 -0500)
commit3adcf52c820f3a0bab965fd40c4713fbc220cbaa
tree0cff02b0c33cf25a24f5ba9e768b3b1e81863f56
parenta3b20e90b15f4022bbc6851b11e1950b89c3b961
re PR debug/42800 (VLA DW_AT_upper_bound is no longer emitted)

PR debug/42800
* cfgexpand.c (expand_used_vars): Keep artificial non-ignored vars
in cfun->local_decls even if they have register types.

From-SVN: r157014
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dwarf2/vla1.c [new file with mode: 0644]
gcc/testsuite/g++.dg/debug/dwarf2/dwarf2.exp
gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2.exp