[debug/88006] -fdebug-types-section gives undefined ref
authorNathan Sidwell <nathan@acm.org>
Wed, 14 Nov 2018 19:30:47 +0000 (19:30 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 14 Nov 2018 19:30:47 +0000 (19:30 +0000)
commit89d9bf44969f8c244b0039d01e6546d9f43e8410
treee24c92c7c661777a9703651f7a7e01ba10c13acd
parent1ded030b85ae26a11a062505786b6701d9ef588f
[debug/88006] -fdebug-types-section gives undefined ref

https://gcc.gnu.org/ml/gcc-patches/2018-11/msg01280.html
PR debug/88006
PR debug/87462
* dwarf2out.c (dwarf2out_finish): Apply resolve_addr to comdat
type list.

* g++.dg/debug/dwarf2/pr87462.C: New.
* g++.dg/debug/dwarf2/pr88006.C: New.

From-SVN: r266158
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/pr87462.C [new file with mode: 0644]
gcc/testsuite/g++.dg/debug/dwarf2/pr88006.C [new file with mode: 0644]