https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112436
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=112437 Ever confirmed|0 |1 Last reconfirmed| |2023-11-08 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. While looking into this to see if a slightly different testcase would work, I found PR 112437 which ICEs. Note there needs to be a complete type; using an incomplete type causes the error message like here.