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++/39863] [c++0x] variadic templates : wrong error "mismatched argument pack lengths"



------- Comment #4 from jason at gcc dot gnu dot org  2009-10-07 19:32 -------
Subject: Bug 39863

Author: jason
Date: Wed Oct  7 19:31:56 2009
New Revision: 152538

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152538
Log:
        PR c++/39863
        * pt.c (tsubst_pack_expansion): Don't do anything now if we
        have incomplete packs of different lengths.

        PR c++/41038
        * tree.c (build_qualified_name): Call convert_from_reference.

        * pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the
        clones.

        * decl.c (grok_special_member_properties): Only adjust
        TYPE_HAS_COMPLEX_* if the function is defaulted in the class body.
        (cp_finish_decl): Push DECL_DELETED_FN/DECL_DEFAULTED_FN to the
        clones.


Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/defaulted13.C
      - copied unchanged from r152373,
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted13.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/variadic95.C
      - copied unchanged from r152537,
trunk/gcc/testsuite/g++.dg/cpp0x/variadic95.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/scope3.C
      - copied unchanged from r152537,
trunk/gcc/testsuite/g++.dg/template/scope3.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/decl.c
    branches/gcc-4_4-branch/gcc/cp/pt.c
    branches/gcc-4_4-branch/gcc/cp/tree.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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