[Bug c++/92068] [8/9/10 Regression] ICE on invalid in process_partial_specialization
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 15 22:09:24 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92068
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:fed9ac72ee6c1b36d20a9550803835daaac174db
commit r8-10127-gfed9ac72ee6c1b36d20a9550803835daaac174db
Author: Jason Merrill <jason@redhat.com>
Date: Sat Mar 14 17:10:39 2020 -0400
c++: Fix ICE-after-error on partial spec [92068]
Here the template arguments for the partial specialization are valid
arguments for the template, but not for a partial specialization, because
'd' can never be deduced to anything other than an empty pack.
gcc/cp/ChangeLog
2020-03-14 Jason Merrill <jason@redhat.com>
PR c++/92068
* pt.c (process_partial_specialization): Error rather than crash on
extra pack expansion.
More information about the Gcc-bugs
mailing list