diff options
author | Richard Biener <rguenther@suse.de> | 2018-01-12 13:19:23 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2018-01-12 13:19:23 +0000 |
commit | 80c93fa982c59cb94183d225d28e6763f5707025 (patch) | |
tree | d49fb6519b366878d11f41611b6e4d22fc3e5447 /gcc | |
parent | ec952125a593923386d180a02bf52c08abc1fbe7 (diff) | |
download | gcc-80c93fa982c59cb94183d225d28e6763f5707025.zip gcc-80c93fa982c59cb94183d225d28e6763f5707025.tar.gz gcc-80c93fa982c59cb94183d225d28e6763f5707025.tar.bz2 |
re PR debug/83157 (gcc.dg/guality/pr41616-1.c fail, inline instances refer to concrete instance as abstract origin)
2018-01-12 Richard Biener <rguenther@suse.de>
PR debug/83157
* dwarf2out.c (gen_variable_die): Do not reset old_die for
inline instance vars.
From-SVN: r256580
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da8cc07..5acf14e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-01-12 Richard Biener <rguenther@suse.de> + + PR debug/83157 + * dwarf2out.c (gen_variable_die): Do not reset old_die for + inline instance vars. + 2018-01-12 Oleg Endo <olegendo@gcc.gnu.org> PR target/81819 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index fc20656..0cc05cb 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -22970,10 +22970,8 @@ gen_variable_die (tree decl, tree origin, dw_die_ref context_die) { /* If we will be creating an inlined instance, we need a new DIE that will get annotated with - DW_AT_abstract_origin. Clear things so we can get a - new DIE. */ + DW_AT_abstract_origin. */ gcc_assert (!DECL_ABSTRACT_P (decl)); - old_die = NULL; } else { |