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