https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64813
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Either that or caling fixup_noreturn_call afterwards. Not producing return statement is probably better idea. I wonder how this worked on earlier trees, perhaps fixup_cfg pass was luckilly scheduled at a time we produce thunks?