This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51507] [C++0x] Function parameter pack doesn't use in template-argument-list


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51507

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-23 22:00:21 UTC ---
Author: jason
Date: Fri Dec 23 22:00:13 2011
New Revision: 182668

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182668
Log:
    PR c++/51507
    * search.c (at_function_scope_p): Also check cfun.
    * pt.c (tsubst_pack_expansion): Check it instead of
    cp_unevaluated_operand.
    (instantiate_template_1): Clear current_function_decl.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic121.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/search.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]