[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #10 from Jakub Jelinek --- *** Bug 85550 has been marked as a duplicate of this bug. ***
[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462 --- Comment #9 from Nathan Sidwell --- Author: nathan Date: Thu Nov 15 14:31:35 2018 New Revision: 266185 URL: https://gcc.gnu.org/viewcvs?rev=266185=gcc=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-7-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr87462.C branches/gcc-7-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr88006.C Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/dwarf2out.c branches/gcc-7-branch/gcc/testsuite/ChangeLog
[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #8 from Nathan Sidwell --- Fixed gcc-7 r266185.
[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462 --- Comment #7 from Nathan Sidwell --- Author: nathan Date: Thu Nov 15 13:23:23 2018 New Revision: 266181 URL: https://gcc.gnu.org/viewcvs?rev=266181=gcc=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
[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462 --- Comment #6 from Nathan Sidwell --- Fixed on gcc-8, r266181.
[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED
[Bug debug/87462] [7/8 Regression] undefined reference error occurs when -g, -fdebug-types-section and -O2 are used at the same time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87462 Richard Biener changed: What|Removed |Added Status|RESOLVED|NEW Known to work||9.0 Resolution|FIXED |--- Summary|[7/8/9 Regression] |[7/8 Regression] undefined |undefined reference error |reference error occurs when |occurs when -g, |-g, -fdebug-types-section |-fdebug-types-section and |and -O2 are used at the |-O2 are used at the same|same time |time| Known to fail|9.0 | --- Comment #5 from Richard Biener --- On trunk sofar.