More fallout from the variadic templates on mainline: =========================================================== template<typename... T> void foo(T) {}
void bar() { foo(0); } =========================================================== bug.cc:1: error: parameter packs not expanded with `...': bug.cc:1: note: 'T' bug.cc: In function 'void foo(T) [with T = <expression error>]': bug.cc:5: instantiated from here bug.cc:1: internal compiler error: in dependent_type_p, at cp/pt.c:14773 Please submit a full bug report, [etc.] Similar to PR31434 as this is also invalid use of a parameter pack in a function argument. -- Summary: [4.3 regression] ICE with invalid use of parameter pack in function arg 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=31435