https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104765
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code CC| |mpolacek at gcc dot gnu.org Last reconfirmed| |2022-03-02 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Confirmed, even r152438 ICEs. I think you're correct that we should just issue an error for this.