https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91572
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Oct 21 11:37:41 2019 New Revision: 277245 URL: https://gcc.gnu.org/viewcvs?rev=277245&root=gcc&view=rev Log: Backported from mainline 2019-09-01 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/lto/pr91572_0.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree.c