| Submitter | Richard Guenther |
|---|---|
| Date | Sept. 27, 2010, 3:13 p.m. |
| Message ID | <alpine.LNX.2.00.1009271712580.8982@zhemvz.fhfr.qr> |
| Download | mbox | patch |
| Permalink | /patch/65876/ |
| State | New |
| Headers | show |
Comments
Patch
Index: dbxout.c =================================================================== --- dbxout.c (revision 164647) +++ dbxout.c (working copy) @@ -2822,7 +2822,7 @@ dbxout_symbol (tree decl, int local ATTR && DECL_INITIAL (decl) != 0 && host_integerp (DECL_INITIAL (decl), 0) && ! TREE_ASM_WRITTEN (decl) - && (DECL_CONTEXT (decl) == NULL_TREE + && (DECL_FILE_SCOPE_P (decl) || TREE_CODE (DECL_CONTEXT (decl)) == BLOCK || TREE_CODE (DECL_CONTEXT (decl)) == NAMESPACE_DECL) && TREE_PUBLIC (decl) == 0)