[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:21 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92068
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:2fa5f9e380b794053a0dd8a8cc63f8bfab370d22
commit r9-8378-g2fa5f9e380b794053a0dd8a8cc63f8bfab370d22
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