re PR lto/91572 (lto1: error: type variant has different ‘TREE_TYPE’ since r269862)
authorJakub Jelinek <jakub@redhat.com>
Sun, 1 Sep 2019 11:56:13 +0000 (13:56 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 1 Sep 2019 11:56:13 +0000 (13:56 +0200)
commitd1e2e50a5f4d077eab6d3c93047203d15f16b324
tree6824c2194a8ff042cc8558a56c5bdb7e1db21e96
parent12b19f6aaf6a93be0bdc80e3d17540b94c58e157
re PR lto/91572 (lto1: error: type variant has different ‘TREE_TYPE’ since r269862)

PR lto/91572
* tree.c (find_decls_types_in_node): Also walk TREE_PURPOSE of
GIMPLE_ASM TREE_LIST operands.

* g++.dg/lto/pr91572_0.C: New test.

From-SVN: r275266
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr91572_0.C [new file with mode: 0644]
gcc/tree.c