This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35882] Miscounted continuation lines when interspersed with data
- 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: 20 Apr 2008 21:12:18 -0000
- Subject: [Bug fortran/35882] Miscounted continuation lines when interspersed with data
- References: <bug-35882-15996@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-04-20 21:12 -------
Subject: Bug 35882
Author: jvdelisle
Date: Sun Apr 20 21:11:22 2008
New Revision: 134493
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134493
Log:
2008-04-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/35882
* scanner.c (skip_fixed_comments): Update continue_line when comment is
detected. (gfc_next_char_literal): Likewise.
PR fortran/35882
* gfortran.dg/continuation_5.f: Add some comment lines.
* gfortran.dg/continuation_3.f90: Add some comment lines.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/scanner.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/continuation_3.f90
trunk/gcc/testsuite/gfortran.dg/continuation_5.f
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35882