re PR lto/87089 (tree check: expected class 'type', have 'declaration' (namespace_dec...
authorJan Hubicka <hubicka@ucw.cz>
Sat, 9 Feb 2019 18:01:03 +0000 (19:01 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 9 Feb 2019 18:01:03 +0000 (18:01 +0000)
commit293f35fcd5e143ae25f31de28820ec5cf252b67a
tree3d4d60a256ee4d5dd5deb3714b2e88e54a8121d7
parent42fceb01cb620fe18ffbc6d58eb154c00307cfff
re PR lto/87089 (tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h)

PR lto/87809
* tree.c (fld_simplified_type_name): Use DECL_ASSEMBLER_NAME_SET_P
instead of type_with_linkage.

From-SVN: r268728
gcc/ChangeLog
gcc/tree.c