re PR debug/87443 (GCC mixes abstract and concrete instances in abstract origins...
authorRichard Biener <rguenther@suse.de>
Wed, 26 Sep 2018 14:35:48 +0000 (14:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 26 Sep 2018 14:35:48 +0000 (14:35 +0000)
commit39aae6036286c24bdb1d7dd49ccd588f93e8cb8f
treeaee922778068a10b1c7fee9895b469b8cd303469
parent9b4e3b9a661e6316b0fe2a966347fc8e9c39d552
re PR debug/87443 (GCC mixes abstract and concrete instances in abstract origins for inlines)

2018-09-26  Richard Biener  <rguenther@suse.de>

PR debug/87443
* dwarf2out.c (gen_lexical_block_die): Do not equate inline
or concrete instance DIE to the tree.  Create abstract origin
attributes also for concrete instances.

* gcc.dg/debug/dwarf2/inline5.c: New testcase.

From-SVN: r264643
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/inline5.c [new file with mode: 0644]