aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/dwarf2out.c4
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
{