https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- In C++ it is undefined what happens when a return happens without a value. This is different from C. So these returns are marked as calling __builtin_unreachable(). *** This bug has been marked as a duplicate of bug 86761 ***