tree.c (find_decls_types_r): Remove all non-VAR_DECLs from blocks.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 19 Jun 2018 15:56:27 +0000 (17:56 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 19 Jun 2018 15:56:27 +0000 (15:56 +0000)
commit694dc72ebe8701bbf6ed4cd6cf846dc80367aee9
treef420db30ee3e8c8765599066414b33f045511ed5
parent583d09f3653e12a895fbe6c86ce4bfbae0abc2cc
tree.c (find_decls_types_r): Remove all non-VAR_DECLs from blocks.

* tree.c (find_decls_types_r): Remove all non-VAR_DECLs from
blocks.
* g++.dg/lto/pr84805_0.C: Update template.
* g++.dg/lto/pr84805_1.C: Update template.

From-SVN: r261748
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr84805_0.C
gcc/testsuite/g++.dg/lto/pr84805_1.C
gcc/tree.c