This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]