From b6efedac9d83347ef9ba707d404b7edc4c81349f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 22 Sep 2007 23:19:17 +0200 Subject: [PATCH] re PR c++/33496 (ICE with sizeof for invalid argument pack) PR c++/33496 * pt.c (tsubst_copy) : Handle error_mark_node returned from tsubst_pack_expansion. (tsubst_copy_and_build) : Likewise. (tsubst_copy_and_build) : Likewise. * g++.dg/cpp0x/variadic76.C: New test. * g++.dg/cpp0x/variadic77.C: New test. * g++.dg/cpp0x/variadic78.C: New test. From-SVN: r128675 --- gcc/cp/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c9316c695fc..5310aa9e4a9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,11 @@ +2007-09-20 Jakub Jelinek + + PR c++/33496 + * pt.c (tsubst_copy) : Handle error_mark_node + returned from tsubst_pack_expansion. + (tsubst_copy_and_build) : Likewise. + (tsubst_copy_and_build) : Likewise. + 2007-09-20 Paolo Carlini PR c++/33460 -- 2.30.2