Re: [PATCH] c++: Fix ICE on valid involving variadic constructor [PR111592]

2024-07-17 Thread Jason Merrill
On 7/9/24 12:13 PM, Simon Martin wrote: We currently ICE upon the following valid code, due to the fix made through commit 9efe5fbde1e8 OK. === cut here === struct ignore { ignore(...) {} }; template void InternalCompilerError(Args... args) { ignore{ ignore(args) ... }; } int main() { Interna

[PATCH] c++: Fix ICE on valid involving variadic constructor [PR111592]

2024-07-09 Thread Simon Martin
We currently ICE upon the following valid code, due to the fix made through commit 9efe5fbde1e8 === cut here === struct ignore { ignore(...) {} }; template void InternalCompilerError(Args... args) { ignore{ ignore(args) ... }; } int main() { InternalCompilerError(0, 0); } === cut here === Change