This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/87462] [7/8/9 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 #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Wed Nov 14 19:30:47 2018
New Revision: 266158

URL: https://gcc.gnu.org/viewcvs?rev=266158&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:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr87462.C
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr88006.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]