diff options
author | Jason Merrill <jason@redhat.com> | 2009-01-07 15:43:01 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-01-07 15:43:01 -0500 |
commit | ffaf1e05dd024cc57a21cea23722e0e37e5d8ebb (patch) | |
tree | bae01ef9b1a395e476eaa1c3ade6dd59e43205c9 /gcc/fold-const.c | |
parent | 30af0edbf4637051e029063027052b843dbe8aac (diff) | |
download | gcc-ffaf1e05dd024cc57a21cea23722e0e37e5d8ebb.zip gcc-ffaf1e05dd024cc57a21cea23722e0e37e5d8ebb.tar.gz gcc-ffaf1e05dd024cc57a21cea23722e0e37e5d8ebb.tar.bz2 |
re PR c++/35297 (Compiling error with variadic template with fixed parameter with default type.)
PR c++/35297
PR c++/35477
PR c++/35784
PR c++/36846
PR c++/38276
* pt.c (check_default_tmpl_args): Don't complain about
out-of-order parameter packs in the enclosing class
or parameter packs after default args.
(coerce_template_parms): If we have more than one
parameter pack, don't flatten argument packs.
(template_args_equal): Handle argument packs.
(comp_template_args): Don't flatten argument packs.
(check_instantiated_arg): Split out from...
(check_instantiated_args): Here. Handle arg packs.
(convert_template_argument): Just check that nontype argument
packs have the right type.
From-SVN: r143166
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions