[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
Sat Sep 22 21:19:00 GMT 2007
------- Comment #3 from jakub at gcc dot gnu dot org 2007-09-22 21:19 -------
Subject: Bug 33496
Author: jakub
Date: Sat Sep 22 21:19:17 2007
New Revision: 128675
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128675
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.
Modified:
trunk/gcc/cp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33496
More information about the Gcc-bugs
mailing list