aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-01-07 15:43:01 -0500
committerJason Merrill <jason@gcc.gnu.org>2009-01-07 15:43:01 -0500
commitffaf1e05dd024cc57a21cea23722e0e37e5d8ebb (patch)
treebae01ef9b1a395e476eaa1c3ade6dd59e43205c9 /gcc/fold-const.c
parent30af0edbf4637051e029063027052b843dbe8aac (diff)
downloadgcc-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