[Bug c++/81917] [6/7/8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 9 21:15:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 9 21:01:49 2018
New Revision: 257542
URL: https://gcc.gnu.org/viewcvs?rev=257542&root=gcc&view=rev
Log:
PR c++/81917 - ICE with void_t and partial specialization.
* pt.c (instantiate_class_template_1): Set TYPE_BEING_DEFINED before
calling most_specialized_partial_spec.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-62.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.dg/cpp0x/initlist-template2.C
trunk/gcc/testsuite/g++.dg/template/crash125.C
trunk/gcc/testsuite/g++.dg/template/pr51488.C
trunk/gcc/testsuite/g++.dg/template/pr55843.C
More information about the Gcc-bugs
mailing list