public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef
@ 2009-08-25 20:54 dodji at gcc dot gnu dot org
2009-08-25 21:00 ` [Bug debug/41170] " dodji at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-08-25 20:54 UTC (permalink / raw)
To: gcc-bugs
for the exemple below g++ does not generate any DIE representing the namespace
which name is "not_emitted".
struct strukt
{
int m;
};
namespace not_emitted
{
typedef strukt T;
}
int
main()
{
not_emitted::T t;
t.m = 0;
return 0;
}
--
Summary: namespace DIE not generated when it contains only a
typedef
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dodji at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41170
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/41170] namespace DIE not generated when it contains only a typedef
2009-08-25 20:54 [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef dodji at gcc dot gnu dot org
@ 2009-08-25 21:00 ` dodji at gcc dot gnu dot org
2009-08-25 21:08 ` dodji at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-08-25 21:00 UTC (permalink / raw)
To: gcc-bugs
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-08-25 21:00:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41170
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/41170] namespace DIE not generated when it contains only a typedef
2009-08-25 20:54 [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef dodji at gcc dot gnu dot org
2009-08-25 21:00 ` [Bug debug/41170] " dodji at gcc dot gnu dot org
@ 2009-08-25 21:08 ` dodji at gcc dot gnu dot org
2009-08-26 6:41 ` dodji at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-08-25 21:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dodji at gcc dot gnu dot org 2009-08-25 21:08 -------
Created an attachment (id=18424)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18424&action=view)
fix candidate
I am testing this patch ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41170
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/41170] namespace DIE not generated when it contains only a typedef
2009-08-25 20:54 [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef dodji at gcc dot gnu dot org
2009-08-25 21:00 ` [Bug debug/41170] " dodji at gcc dot gnu dot org
2009-08-25 21:08 ` dodji at gcc dot gnu dot org
@ 2009-08-26 6:41 ` dodji at gcc dot gnu dot org
2009-08-27 7:05 ` dodji at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-08-26 6:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dodji at gcc dot gnu dot org 2009-08-26 06:41 -------
Patch submitted to http://gcc.gnu.org/ml/gcc-patches/2009-08/msg01405.html .
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41170
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/41170] namespace DIE not generated when it contains only a typedef
2009-08-25 20:54 [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef dodji at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-08-26 6:41 ` dodji at gcc dot gnu dot org
@ 2009-08-27 7:05 ` dodji at gcc dot gnu dot org
2009-08-27 7:14 ` dodji at gcc dot gnu dot org
2009-08-30 1:52 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-08-27 7:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dodji at gcc dot gnu dot org 2009-08-27 07:05 -------
Subject: Bug 41170
Author: dodji
Date: Thu Aug 27 07:05:24 2009
New Revision: 151138
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151138
Log:
Fix for PR debug/41170
gcc/ChangeLog:
PR debug/41770
* dwarf2out.c (get_context_die): Declare this static function.
(gen_type_die_with_usage): Make sure a DIE is a generated for
the context of a typedef.
gcc/testsuite/ChangeLog:
PR debug/41770
* debug/dwarf2/namespace-1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/dwarf2/namespace-1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41170
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/41170] namespace DIE not generated when it contains only a typedef
2009-08-25 20:54 [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef dodji at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-08-27 7:05 ` dodji at gcc dot gnu dot org
@ 2009-08-27 7:14 ` dodji at gcc dot gnu dot org
2009-08-30 1:52 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-08-27 7:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dodji at gcc dot gnu dot org 2009-08-27 07:14 -------
Fixed in trunk (4.5).
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41170
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/41170] namespace DIE not generated when it contains only a typedef
2009-08-25 20:54 [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef dodji at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-08-27 7:14 ` dodji at gcc dot gnu dot org
@ 2009-08-30 1:52 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-08-30 1:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl at gcc dot gnu dot org 2009-08-30 01:52 -------
Subject: Bug 41170
Author: hjl
Date: Sun Aug 30 01:52:18 2009
New Revision: 151217
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151217
Log:
Fix ChangeLog entries for PR debug/41170.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41170
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-08-30 1:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-25 20:54 [Bug debug/41170] New: namespace DIE not generated when it contains only a typedef dodji at gcc dot gnu dot org
2009-08-25 21:00 ` [Bug debug/41170] " dodji at gcc dot gnu dot org
2009-08-25 21:08 ` dodji at gcc dot gnu dot org
2009-08-26 6:41 ` dodji at gcc dot gnu dot org
2009-08-27 7:05 ` dodji at gcc dot gnu dot org
2009-08-27 7:14 ` dodji at gcc dot gnu dot org
2009-08-30 1:52 ` hjl at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).