https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120593
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |9.1.0
Last reconfirmed| |2025-06-09
Keywords| |needs-bisection,
| |needs-reduction
Status|UNCONFIRMED |NEW
Known to work| |8.5.0
Ever confirmed|0 |1
Target Milestone|--- |12.5
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Better testcase:
```
#include <tuple>
constexpr int mul(int i, int j, int k) {
return i * j * k;
}
int main() {
auto new_mul2 = ::std::apply<int(*)(double,double, double),
::std::tuple<double, double, double>>(mul, std::tuple{ 1.2, 2.3, 3.4 });
}
```
This one has ICEd since GCC 9.
Confirmed.