re PR lto/87997 (ICE in cp_var_mod_type_p at gcc/cp/cp-objcp-common.c:107 since r265870)
authorJan Hubicka <hubicka@ucw.cz>
Tue, 20 Nov 2018 14:09:27 +0000 (15:09 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 20 Nov 2018 14:09:27 +0000 (14:09 +0000)
commit375c3b863cfa30db17df0259a423ade00961c974
tree01ea04cf57eb05dac491fd59b2b0d328f93e3a29
parent12485662c00914ed132d950f1329fdaf32c11a3c
re PR lto/87997 (ICE in cp_var_mod_type_p at gcc/cp/cp-objcp-common.c:107 since r265870)

PR lto/87997
* tree.c (free_lang_data_in_cgraph): Add argument fld; break out
type checking to...
(free_lang_data) ... here; update call of free_lang_data_in_cgraph.

From-SVN: r266316
gcc/ChangeLog
gcc/testsuite/g++.dg/torture/pr87997.C [new file with mode: 0644]
gcc/tree.c