https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108684
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-02-06 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, a slightly better testcase which causes the ICE with the C front-end also (the C++ front-end inserts the __builtin_unreachable there) and should be able to compile on all targets: int f (int a) { asm (" " : "=X" (a) : : "memory"); if (a) return 0; __builtin_unreachable(); }