This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/65996] [5/6 Regression] gfortran ICE with -dH
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 24 Feb 2016 06:46:13 +0000
- Subject: [Bug fortran/65996] [5/6 Regression] gfortran ICE with -dH
- Auto-submitted: auto-generated
- References: <bug-65996-4 at http dot gcc dot gnu dot org/bugzilla/>
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 <jvdelisle@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