Commit ca21928b by Jan Hubicka Committed by Jan Hubicka

re PR lto/63286 (FAIL: g++.dg/lto/20101014-2 cp_lto_20101014-2_0.o assemble, * after r215196)


	PR lto/63286
	* tree.c (need_assembler_name_p): Do not mangle variadic types.

From-SVN: r215403
parent 5850bf66
2014-09-19 Jan Hubicka <hubicka@ucw.cz>
PR lto/63286
* tree.c (need_assembler_name_p): Do not mangle variadic types.
2014-09-19 Segher Boessenkool <segher@kernel.crashing.org> 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
* recog.c (scratch_operand): Do not simply allow all hard registers: * recog.c (scratch_operand): Do not simply allow all hard registers:
...@@ -5003,6 +5003,7 @@ need_assembler_name_p (tree decl) ...@@ -5003,6 +5003,7 @@ need_assembler_name_p (tree decl)
&& decl == TYPE_NAME (TREE_TYPE (decl)) && decl == TYPE_NAME (TREE_TYPE (decl))
&& !is_lang_specific (TREE_TYPE (decl)) && !is_lang_specific (TREE_TYPE (decl))
&& AGGREGATE_TYPE_P (TREE_TYPE (decl)) && AGGREGATE_TYPE_P (TREE_TYPE (decl))
&& !variably_modified_type_p (TREE_TYPE (decl), NULL_TREE)
&& !type_in_anonymous_namespace_p (TREE_TYPE (decl))) && !type_in_anonymous_namespace_p (TREE_TYPE (decl)))
return !DECL_ASSEMBLER_NAME_SET_P (decl); return !DECL_ASSEMBLER_NAME_SET_P (decl);
/* Only FUNCTION_DECLs and VAR_DECLs are considered. */ /* Only FUNCTION_DECLs and VAR_DECLs are considered. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment