http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53379
--- Comment #1 from Harald Anlauf <anlauf at gmx dot de> 2012-05-16 20:30:13 UTC --- Solution: the function gfortran_runtime_error_at() should call the abort. One might adjust this dependent on options.backtrace if the core dump is not desired. Patch: (should be applicable to 4.7 and 4.8 trunk) Index: libgfortran/runtime/error.c =================================================================== --- libgfortran/runtime/error.c (revision 184777) +++ libgfortran/runtime/error.c (working copy) @@ -333,7 +333,7 @@ st_vprintf (message, ap); va_end (ap); estr_write ("\n"); - exit (2); + sys_abort(); } iexport(runtime_error_at);