This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30779] [4.1, 4.2 only] incomplete file triggers ICE
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2007 23:42:21 -0000
- Subject: [Bug fortran/30779] [4.1, 4.2 only] incomplete file triggers ICE
- References: <bug-30779-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from jvdelisle at gcc dot gnu dot org 2007-02-16 23:42 -------
Subject: Bug 30779
Author: jvdelisle
Date: Fri Feb 16 23:42:11 2007
New Revision: 122059
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122059
Log:
2007-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/30779
* scanner.c (gfc_next_char_literal): Add check for end of file after
call to advance_line.
2007-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/30779
* gfortran.dg/error_recovery_3.f90: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/error_recovery_3.f90
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/scanner.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30779