https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110568
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |c --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Well, the return is missing here ... if the frontend would emit int f (void) { return D.1234; // uninitialized } then it would work. The C++ FE emits __builtin_unreachable traps () instead. I think this should be addressed in the frontend.