https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109364
--- Comment #5 from contact at thunderperfectwitchcraft dot org --- As mentioned, it isn't anymore: According to the linked Thread in gcc 13 a return value that contains a invalid instruction is generated on purpose if there is no return statement, forcing a crash. To my understanding, this is the only thing that can happen now.