https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111783
--- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #2) > This leaves ABORT and EXIT to deal with. Speaking to myself: subroutine s1() call exit(1) stop 98 end subroutine s2() call abort stop 99 end Here the STOP statements do not show up in .optimized. So I am wondering where the _gfortran_exit_i4 in comment#0 come from?