* tree.c (need_assembler_name_p): Store C++ type mangling only
for aggregates.
From-SVN: r215238
+2014-09-13 Jan Hubicka <hubicka@ucw.cz>
+
+ * tree.c (need_assembler_name_p): Store C++ type mangling only
+ for aggregates.
+
2014-09-13 Marek Polacek <polacek@redhat.com>
* tree.c (protected_set_expr_location): Don't check whether T is
&& DECL_NAME (decl)
&& decl == TYPE_NAME (TREE_TYPE (decl))
&& !is_lang_specific (TREE_TYPE (decl))
+ && AGGREGATE_TYPE_P (TREE_TYPE (decl))
&& !type_in_anonymous_namespace_p (TREE_TYPE (decl)))
return !DECL_ASSEMBLER_NAME_SET_P (decl);
/* Only FUNCTION_DECLs and VAR_DECLs are considered. */