re PR ipa/69589 (ICE in initialize_node_lattices, at ipa-cp.c:971)
PR lto/69589 * tree.c (need_assembler_name_p): Only record main variant type names. From-SVN: r234112
This commit is contained in:
parent
d49b0aa091
commit
015f20e49a
@ -1,3 +1,8 @@
|
||||
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
PR lto/69589
|
||||
* tree.c (need_assembler_name_p): Only record main variant type names.
|
||||
|
||||
2016-03-10 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
|
||||
PR target/70113.
|
||||
|
@ -5329,6 +5329,7 @@ need_assembler_name_p (tree decl)
|
||||
&& TREE_CODE (decl) == TYPE_DECL
|
||||
&& DECL_NAME (decl)
|
||||
&& decl == TYPE_NAME (TREE_TYPE (decl))
|
||||
&& TYPE_MAIN_VARIANT (TREE_TYPE (decl)) == TREE_TYPE (decl)
|
||||
&& !TYPE_ARTIFICIAL (TREE_TYPE (decl))
|
||||
&& (type_with_linkage_p (TREE_TYPE (decl))
|
||||
|| TREE_CODE (TREE_TYPE (decl)) == INTEGER_TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user