This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84785] [8 Regression] internal compiler error: unexpected expression ‘I’ of kind template_parm_index
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 10 Mar 2018 03:35:50 +0000
- Subject: [Bug c++/84785] [8 Regression] internal compiler error: unexpected expression ‘I’ of kind template_parm_index
- Auto-submitted: auto-generated
- References: <bug-84785-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84785
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Mar 10 03:35:17 2018
New Revision: 258409
URL: https://gcc.gnu.org/viewcvs?rev=258409&root=gcc&view=rev
Log:
PR c++/84785 - ICE with alias template and default targs.
* pt.c (type_unification_real): Set processing_template_decl if
saw_undeduced == 1.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-63.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/pt.c