[Bug c++/85008] [8 Regression] internal compiler error: lang_* check: failed in decl_cloned_function_p, at cp/class.c:4577
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 21 19:22:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85008
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Wed Mar 21 19:22:10 2018
New Revision: 258738
URL: https://gcc.gnu.org/viewcvs?rev=258738&root=gcc&view=rev
Log:
[PR c++/85008] ICE looking for clone
https://gcc.gnu.org/ml/gcc-patches/2018-03/msg01129.html
PR c++/85008
* tree.c (decl_linkage): Use DECL_CLONED_FUNCTION_P.
* decl2.c (vague_linkage_p): Likewise.
PR c++/85008
* g++.dg/pr85008.C: New.
Added:
trunk/gcc/testsuite/g++.dg/pr85008.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list