diff options
author | Jason Merrill <jason@redhat.com> | 2019-02-21 21:08:05 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-02-21 21:08:05 -0500 |
commit | c8b7e64d363069c6682bdeb51ba397e8bd4a4f9e (patch) | |
tree | a9da6338120e570e260212e3e5db836d65e130bc /gcc/cp/lambda.c | |
parent | 148864cb8c972b4c87e2e6a3183a83047666edcb (diff) | |
download | gcc-c8b7e64d363069c6682bdeb51ba397e8bd4a4f9e.zip gcc-c8b7e64d363069c6682bdeb51ba397e8bd4a4f9e.tar.gz gcc-c8b7e64d363069c6682bdeb51ba397e8bd4a4f9e.tar.bz2 |
PR c++/88869 - C++17 ICE with CTAD and explicit specialization.
The members of an explicit specialization of a class template don't have the
template parameters of that class template, so we shouldn't try to provide
arguments for them. Only set outer_args when the class is an instantiation.
* pt.c (do_class_deduction): Don't include explicit specialization
args in outer_args.
From-SVN: r269093
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions