re PR fortran/66461 (ICE on missing end program in fixed source)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 24 May 2016 04:15:39 +0000 (04:15 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 24 May 2016 04:15:39 +0000 (04:15 +0000)
commit85d5c27d78e0698914c3442acf7273c4ea4b1863
tree972293b874818f1d6e765c7fa5161ace1d3110df
parent4ddcdbf91224dc630c820a47a7bc7433f4fa6925
re PR fortran/66461 (ICE on missing end program in fixed source)

2016-05-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/66461
* scanner.c (gfc_next_char_literal): Clear end_flag when adjusting
current locus back to old_locus.

* gfortran.dg/unexpected_eof.f: New test

From-SVN: r236627
gcc/fortran/ChangeLog
gcc/fortran/scanner.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/unexpected_eof.f [new file with mode: 0644]