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++/41785] [4.5 Regression] [C++0x] ICE on canonical types with variadic templates and CRTP



------- Comment #7 from dodji at gcc dot gnu dot org  2009-10-26 18:31 -------
Subject: Bug 41785

Author: dodji
Date: Mon Oct 26 18:31:22 2009
New Revision: 153564

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

gcc/cp/ChangeLog:

        PR c++/41785
        * pt.c (template_args_equal): Handle comparison of
        an ARGUMENT_PACK_SELECT node with the arguments node it selects into.
        * cp-tree.def: Fix a typo in the description of TYPE_PACK_EXPANSION.

gcc/testsuite/ChangeLog:
        PR c++/41785
        * gcc/testsuite/g++.dg/cpp0x/variadic96.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic96.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.def
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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