https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109513
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is interesting because the C++ front-end causes slightly different IR and with __builtin_unreachable produces decent code at -O3 still.