* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
@ 2011-12-10 16:25 ` jan.kratochvil at redhat dot com
2012-01-03 15:57 ` dodji at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-12-10 16:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu.org,
| |jan.kratochvil at redhat
| |dot com
--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-12-10 13:27:29 UTC ---
FAIL: g++ (GCC) 4.7.0 20111210 (experimental)
It is specific for: -fdebug-types-section
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
2011-12-10 16:25 ` [Bug debug/45682] missing namespace parent die when using -gdwarf-4 jan.kratochvil at redhat dot com
@ 2012-01-03 15:57 ` dodji at gcc dot gnu.org
2012-01-05 23:10 ` dodji at seketeli dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: dodji at gcc dot gnu.org @ 2012-01-03 15:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
Dodji Seketeli <dodji at gcc dot gnu.org> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
2011-12-10 16:25 ` [Bug debug/45682] missing namespace parent die when using -gdwarf-4 jan.kratochvil at redhat dot com
2012-01-03 15:57 ` dodji at gcc dot gnu.org
@ 2012-01-05 23:10 ` dodji at seketeli dot org
2012-01-07 1:19 ` ccoutant at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: dodji at seketeli dot org @ 2012-01-05 23:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
--- Comment #2 from dodji at seketeli dot org <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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2012-01-05 23:10 ` dodji at seketeli dot org
@ 2012-01-07 1:19 ` ccoutant at gcc dot gnu.org
2012-01-20 19:15 ` ccoutant at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: ccoutant at gcc dot gnu.org @ 2012-01-07 1:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
Cary Coutant <ccoutant at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ccoutant at gcc dot gnu.org
--- Comment #3 from Cary Coutant <ccoutant at gcc dot gnu.org> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2012-01-07 1:19 ` ccoutant at gcc dot gnu.org
@ 2012-01-20 19:15 ` ccoutant at gcc dot gnu.org
2012-01-20 19:18 ` ccoutant at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: ccoutant at gcc dot gnu.org @ 2012-01-20 19:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
--- Comment #4 from Cary Coutant <ccoutant at gcc dot gnu.org> 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 <ccoutant@google.com>
Dodji Seketeli <dodji@redhat.com>
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2012-01-20 19:15 ` ccoutant at gcc dot gnu.org
@ 2012-01-20 19:18 ` ccoutant at gcc dot gnu.org
2012-01-21 17:37 ` jan.kratochvil at redhat dot com
2012-01-22 16:53 ` jan.kratochvil at redhat dot com
7 siblings, 0 replies; 8+ messages in thread
From: ccoutant at gcc dot gnu.org @ 2012-01-20 19:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
Cary Coutant <ccoutant at gcc dot gnu.org> 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 <ccoutant at gcc dot gnu.org> 2012-01-20 19:02:26 UTC ---
Fixed for GCC 4.7.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2012-01-20 19:18 ` ccoutant at gcc dot gnu.org
@ 2012-01-21 17:37 ` jan.kratochvil at redhat dot com
2012-01-22 16:53 ` jan.kratochvil at redhat dot com
7 siblings, 0 replies; 8+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-01-21 17:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
--- Comment #6 from Jan Kratochvil <jan.kratochvil at redhat dot com> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/45682] missing namespace parent die when using -gdwarf-4
[not found] <bug-45682-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2012-01-21 17:37 ` jan.kratochvil at redhat dot com
@ 2012-01-22 16:53 ` jan.kratochvil at redhat dot com
7 siblings, 0 replies; 8+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-01-22 16:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
--- Comment #7 from Jan Kratochvil <jan.kratochvil at redhat dot com> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread