Message ID | 20150330171646.GB14471@atrey.karlin.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Index: tree.c =================================================================== --- tree.c (revision 221768) +++ tree.c (working copy) @@ -5139,6 +5140,7 @@ && decl == TYPE_NAME (TREE_TYPE (decl)) && !is_lang_specific (TREE_TYPE (decl)) && AGGREGATE_TYPE_P (TREE_TYPE (decl)) + && !DECL_ARTIFICIAL (decl) && !variably_modified_type_p (TREE_TYPE (decl), NULL_TREE) && !type_in_anonymous_namespace_p (TREE_TYPE (decl))) return !DECL_ASSEMBLER_NAME_SET_P (decl);