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  <jvdeli...@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

Reply via email to