aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-07-13 18:07:40 +0000
committerPaul Brook <paul@codesourcery.com>2006-07-13 18:07:40 +0000
commita8b20def26f8819020ace682479bdf978f0cd49a (patch)
tree681df20e561672c8cdda690cdbc48d509157afa3 /gcc/dwarf2out.c
parent6e53ac993d70b42a4ac831c37ce23ef636c33181 (diff)
Merge from gcc-4_1-branch revision 114100 (gcc-4_1_1-release)
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@115418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 57fa1bdc53f..c9579dfe013 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -6242,7 +6242,8 @@ is_symbol_die (dw_die_ref c)
{
return (is_type_die (c)
|| (get_AT (c, DW_AT_declaration)
- && !get_AT (c, DW_AT_specification)));
+ && !get_AT (c, DW_AT_specification))
+ || c->die_tag == DW_TAG_namespace);
}
static char *