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++/33496] [4.3 regression] ICE with sizeof for invalid argument pack



------- Comment #1 from jakub at gcc dot gnu dot org  2007-09-20 21:21 -------
Subject: Bug 33496

Author: jakub
Date: Thu Sep 20 21:21:03 2007
New Revision: 128630

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128630
Log:
        PR c++/33496
        * pt.c (tsubst_copy) <case SIZEOF_EXPR>: Handle error_mark_node
        returned from tsubst_pack_expansion.
        (tsubst_copy_and_build) <case SIZEOF_EXPR>: Likewise.
        (tsubst_copy_and_build) <case CONSTRUCTOR>: Likewise.

        * g++.dg/cpp0x/variadic76.C: New test.
        * g++.dg/cpp0x/variadic77.C: New test.
        * g++.dg/cpp0x/variadic78.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic76.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic77.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic78.C
Modified:
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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