https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111399
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |diagnostic Summary|Sanitizer code generation |Bogus -Wreturn-type |smarter than warnings |diagnostic Last reconfirmed| |2023-09-13 Version|unknown |14.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- We do instrument the missed return but it gets later optimized away.