diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-03-03 08:02:37 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-03-03 08:02:37 +0100 |
commit | 0508bed7ffc2de0ccfebf7bde414a31f3062a21a (patch) | |
tree | afb0e26639839ea21093a386287bf92eb2634e8d /gcc/cfgexpand.c | |
parent | db51bb34401c8984f410afab38634daaaf68453c (diff) | |
download | gcc-0508bed7ffc2de0ccfebf7bde414a31f3062a21a.zip gcc-0508bed7ffc2de0ccfebf7bde414a31f3062a21a.tar.gz gcc-0508bed7ffc2de0ccfebf7bde414a31f3062a21a.tar.bz2 |
re PR debug/43237 (Wrong DW_AT_upper_bound)
PR debug/43237
* dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die,
fallthrough to default handling, just with want_address 0 instead of 2.
For single element lists, add_AT_loc directly, otherwise create an
artificial variable DIE and stick location list to it.
* gcc.dg/debug/dwarf2/pr43237.c: New test.
From-SVN: r157190
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions