[Bug lto/88077] [8/9 Regression] ICE: tree check: expected class ‘type’, have ‘declaration’ (var_decl) in lto_symtab_merge, at lto/lto-symtab.c:378 since r256989
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 19 15:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88077
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Nov 19 15:00:41 2018
New Revision: 266277
URL: https://gcc.gnu.org/viewcvs?rev=266277&root=gcc&view=rev
Log:
Fix condition in lto-symtab.c (PR lto/88077).
2018-11-19 Martin Liska <mliska@suse.cz>
PR lto/88077
* lto-symtab.c (lto_symtab_merge): Transform the
condition before r256989.
2018-11-19 Martin Liska <mliska@suse.cz>
PR lto/88077
* gcc.dg/lto/pr88077_0.c: New test.
* gcc.dg/lto/pr88077_1.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/lto/pr88077_0.c
trunk/gcc/testsuite/gcc.dg/lto/pr88077_1.c
Modified:
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto-symtab.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list