diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-07-03 11:58:49 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2019-07-03 11:58:49 +0000 |
commit | e157be919b83177d57666234cd19f6b042140ac1 (patch) | |
tree | 7988c6cd3932462406ec6daf62d813ae98924ce0 /gcc/dwarf2out.c | |
parent | 6235b0788c9bc126993067d19c923fdb05be4ed4 (diff) | |
download | gcc-e157be919b83177d57666234cd19f6b042140ac1.zip gcc-e157be919b83177d57666234cd19f6b042140ac1.tar.gz gcc-e157be919b83177d57666234cd19f6b042140ac1.tar.bz2 |
dwarf2out.c (add_scalar_info): Add back refererence to existing DIE if it has the DW_AT_data_member_location...
* dwarf2out.c (add_scalar_info): Add back refererence to existing DIE
if it has the DW_AT_data_member_location attribute.
From-SVN: r273002
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 7fa8b05..6e82802 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -20845,6 +20845,7 @@ add_scalar_info (dw_die_ref die, enum dwarf_attribute attr, tree value, if (decl_die != NULL) { if (get_AT (decl_die, DW_AT_location) + || get_AT (decl_die, DW_AT_data_member_location) || get_AT (decl_die, DW_AT_const_value)) { add_AT_die_ref (die, attr, decl_die); |