https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996
--- Comment #13 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Wed Feb 24 06:45:41 2016 New Revision: 233653 URL: https://gcc.gnu.org/viewcvs?rev=233653&root=gcc&view=rev Log: 2016-02-23 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backported from mainline PR fortran/65996 * error.c (gfc_error): Save the state of abort_on_error and set it to false for buffered errors to allow normal processing. Restore the state before leaving. PR fortran/65996 * gfortran.dg/pr65996.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr65996.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/error.c branches/gcc-5-branch/gcc/testsuite/ChangeLog