Commit 80c93fa9 by Richard Biener Committed by Richard Biener

re PR debug/83157 (gcc.dg/guality/pr41616-1.c fail, inline instances refer to…

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
parent ec952125
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
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment