[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 15 13:24:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462
--- Comment #7 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Thu Nov 15 13:23:23 2018
New Revision: 266181
URL: https://gcc.gnu.org/viewcvs?rev=266181&root=gcc&view=rev
Log:
[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.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr87462.C
branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr88006.C
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/dwarf2out.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list