[Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 27 02:36:00 GMT 2016
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
More information about the Gcc-bugs
mailing list