diff options
author | Richard Biener <rguenther@suse.de> | 2015-09-21 14:02:27 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-09-21 14:02:27 +0000 |
commit | 9386cdeee67582bdef3590ec0f9a8b1ab7600e59 (patch) | |
tree | 3060190ad1b1018a00a514adf4aab582c10767f7 /gcc/ada/gnatdll.adb | |
parent | ce89c02e8661d0461aa8e21e2159ecb67dfe1145 (diff) | |
download | gcc-9386cdeee67582bdef3590ec0f9a8b1ab7600e59.zip gcc-9386cdeee67582bdef3590ec0f9a8b1ab7600e59.tar.gz gcc-9386cdeee67582bdef3590ec0f9a8b1ab7600e59.tar.bz2 |
re PR debug/67664 (Duplicate AT_const_value attributes in some c++ cases.)
2015-09-21 Richard Biener <rguenther@suse.de>
PR debug/67664
* dwarf2out.c (add_location_or_const_value_attribute): Remove
attribute parameter. Early exit if either DW_AT_const_value
or DW_AT_location are present already.
(gen_variable_die): Adjust caller.
(dwarf2out_late_global_decl): Likewise.
* g++.dg/debug/dwarf2/pr67764.C: New testcase.
From-SVN: r227972
Diffstat (limited to 'gcc/ada/gnatdll.adb')
0 files changed, 0 insertions, 0 deletions