[Bug c++/71834] [6/7/8 Regression] accepts invalid C++11 code with too few number of template arguments for class template
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 19 20:33:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71834
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Mar 19 20:32:57 2018
New Revision: 258659
URL: https://gcc.gnu.org/viewcvs?rev=258659&root=gcc&view=rev
Log:
PR c++/71834 - template-id with too few arguments.
* pt.c (coerce_template_parms): Check fixed_parameter_pack_p.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic-nested3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list