This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source
- 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: Fri, 27 May 2016 01:05:52 +0000
- Subject: [Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source
- Auto-submitted: auto-generated
- References: <bug-66461-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66461
--- Comment #25 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Fri May 27 01:05:21 2016
New Revision: 236806
URL: https://gcc.gnu.org/viewcvs?rev=236806&root=gcc&view=rev
Log:
2016-05-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from trunk.
PR fortran/66461
* scanner.c (gfc_next_char_literal): Clear end_flag when adjusting
current locus back to old_locus.
Backport from trunk.
PR fortran/66461
* gfortran.dg/unexpected_eof.f: New test
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/unexpected_eof.f
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/scanner.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog