This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/14169] New: Unneeded base types output in dwarf2
- From: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2004 04:57:35 -0000
- Subject: [Bug debug/14169] New: Unneeded base types output in dwarf2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This code:
namespace std
{
struct __numeric_limits_base
{
static const bool is_specialized = false;
};
}
causes DIEs to be emitted for:
- the compilation unit
- namespace std; an empty namespace decl serves no purpose
- bool; but nothing to reference it. The uses were all pruned
so the type should have been pruned also.
--
Summary: Unneeded base types output in dwarf2
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: drow at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14169