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
This commit is contained in:
parent
5850bf669f
commit
ca21928bb3
|
@ -1,3 +1,8 @@
|
||||||
|
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)
|
||||||
&& 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. */
|
||||||
|
|
Loading…
Reference in New Issue