From: Jan Hubicka Date: Tue, 20 Nov 2018 14:09:27 +0000 (+0100) Subject: re PR lto/87997 (ICE in cp_var_mod_type_p at gcc/cp/cp-objcp-common.c:107 since r265870) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=375c3b863cfa30db17df0259a423ade00961c974;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 44ca2cefb3e..042075e628b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-11-20 Jan Hubicka + + 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. + 2018-11-20 Jan Hubicka PR ipa/87706 diff --git a/gcc/testsuite/g++.dg/torture/pr87997.C b/gcc/testsuite/g++.dg/torture/pr87997.C new file mode 100644 index 00000000000..23e22eb20a3 --- /dev/null +++ b/gcc/testsuite/g++.dg/torture/pr87997.C @@ -0,0 +1,35 @@ +/* { dg-do compile } */ +template struct a; +template