diff options
author | Jason Merrill <jason@redhat.com> | 2020-03-14 17:10:39 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-03-14 17:13:25 -0400 |
commit | 3a285529ee338ef2867ae7add26b6493f004bf0d (patch) | |
tree | c4ddceeb69449d9780ea7659e97410fab77ed623 /gcc/tree-nested.c | |
parent | b3b0c671cc341fd04afc045a8d42d7a845d7f73c (diff) | |
download | gcc-3a285529ee338ef2867ae7add26b6493f004bf0d.zip gcc-3a285529ee338ef2867ae7add26b6493f004bf0d.tar.gz gcc-3a285529ee338ef2867ae7add26b6493f004bf0d.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions