[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 --- Comment #7 from Jan Kratochvil 2012-01-22 16:48:29 UTC --- (In reply to comment #6) > There are still other few GDB testsuite regressions by -fdebug-types-section, > I will re-check them with this fix in, thanks. That is already filed PR debug/49750.
[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 --- Comment #6 from Jan Kratochvil 2012-01-21 17:02:36 UTC --- Confirming it has fixed: -XFAIL: gdb.cp/static-method.exp: info addr A::func() (PRMS gcc/45682) +PASS: gdb.cp/static-method.exp: info addr A::func() -XFAIL: gdb.cp/static-method.exp: list static-method.cc:xxx::(anonymous namespace)::A::func (PRMS gcc/45682) -XFAIL: gdb.cp/static-method.exp: list 'static-method.cc:xxx::(anonymous namespace)::A::func' (PRMS gcc/45682) -XFAIL: gdb.cp/static-method.exp: list 'static-method.cc':'xxx::(anonymous namespace)::A::func' (PRMS gcc/45682) -XFAIL: gdb.cp/static-method.exp: list static-method.cc:'xxx::(anonymous namespace)::A::func' (PRMS gcc/45682) +PASS: gdb.cp/static-method.exp: list static-method.cc:xxx::(anonymous namespace)::A::func +PASS: gdb.cp/static-method.exp: list 'static-method.cc:xxx::(anonymous namespace)::A::func' +PASS: gdb.cp/static-method.exp: list 'static-method.cc':'xxx::(anonymous namespace)::A::func' +PASS: gdb.cp/static-method.exp: list static-method.cc:'xxx::(anonymous namespace)::A::func' There are still other few GDB testsuite regressions by -fdebug-types-section, I will re-check them with this fix in, thanks.
[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 Cary Coutant changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED AssignedTo|dodji at gcc dot gnu.org|ccoutant at gcc dot gnu.org --- Comment #5 from Cary Coutant 2012-01-20 19:02:26 UTC --- Fixed for GCC 4.7.
[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 --- Comment #4 from Cary Coutant 2012-01-20 18:57:49 UTC --- Author: ccoutant Date: Fri Jan 20 18:57:44 2012 New Revision: 183348 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183348 Log: 2012-01-19 Cary Coutant Dodji Seketeli gcc/ PR debug/45682 * dwarf2out.c (copy_declaration_context): Return ref to parent of declaration DIE, if necessary. (remove_child_or_replace_with_skeleton): Add new parameter; update caller. Place skeleton DIE under parent DIE of original declaration. Move call to copy_declaration_context to here ... (break_out_comdat_types): ... from here. gcc/testsuite/ PR debug/45682 * g++.dg/debug/dwarf2/nested-3.C: New test. Added: trunk/gcc/testsuite/g++.dg/debug/dwarf2/nested-3.C Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog
[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 Cary Coutant changed: What|Removed |Added CC||ccoutant at gcc dot gnu.org --- Comment #3 from Cary Coutant 2012-01-07 01:19:07 UTC --- I don't think Dodji's patch actually fixes the problem described here. This one should: http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00346.html -cary
[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 --- Comment #2 from dodji at seketeli dot org 2012-01-05 23:09:22 UTC --- A candidate fix has been submitted to http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00276.html.
[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 Dodji Seketeli changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2012-01-03 AssignedTo|unassigned at gcc dot |dodji at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1
[Bug debug/45682] missing namespace parent die when using -gdwarf-4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682 Jan Kratochvil changed: What|Removed |Added CC||dodji at gcc dot gnu.org, ||jan.kratochvil at redhat ||dot com --- Comment #1 from Jan Kratochvil 2011-12-10 13:27:29 UTC --- FAIL: g++ (GCC) 4.7.0 20111210 (experimental) It is specific for: -fdebug-types-section