From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14690 invoked by alias); 2 Apr 2007 20:20:51 -0000 Received: (qmail 14640 invoked by uid 48); 2 Apr 2007 20:20:42 -0000 Date: Mon, 02 Apr 2007 20:20:00 -0000 Subject: [Bug c++/31444] New: [4.3 regression] ICE with invalid use of parameter pack in member template X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00128.txt.bz2 More fallout from the variadic templates on mainline: =========================================================== template struct A { template void foo(A); }; void bar() { A().foo<0>(A()); }; =========================================================== bug.cc:3: error: parameter packs not expanded with `...': bug.cc:3: note: 'T' bug.cc: In function 'void bar()': bug.cc:8: internal compiler error: in tsubst, at cp/pt.c:8466 Please submit a full bug report, [etc.] This is a slightly simpler testcase than PR31443, but it ICE's in tsubst instead of unify. -- Summary: [4.3 regression] ICE with invalid use of parameter pack in member template Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31444