[Bug c++/64514] [4.9/5 Regression] Error in template instantiation in GCC 4.9, works fine in GCC 4.8

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 28 17:21:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64514

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 28 17:21:06 2015
New Revision: 220210

URL: https://gcc.gnu.org/viewcvs?rev=220210&root=gcc&view=rev
Log:
    PR c++/64514
    * pt.c (coerce_template_parameter_pack): Return NULL for a
    zero-length fixed parameter pack with a pack expansion arg.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/variadic165.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/pt.c



More information about the Gcc-bugs mailing list