[Bug c++/33496] [4.3 regression] ICE with sizeof for invalid argument pack
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 20 21:21:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list