for aggregates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215238
138bc75d-0d04-0410-961f-
82ee72b054a4
+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. */