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++/40155] [c++0x] variadic template pack problem



------- Comment #5 from dodji at gcc dot gnu dot org  2010-01-07 19:22 -------
Subject: Bug 40155

Author: dodji
Date: Thu Jan  7 19:21:46 2010
New Revision: 155705

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155705
Log:
Fix PR c++/40155

gcc/cp/ChangeLog:
        c++/40155
        * pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
        arguments that were previously deduced.

gcc/testsuite/ChangeLog:
        c++/40155
        * g++.dg/cpp0x/variadic-unify-2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-unify-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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