[Bug fortran/39811] Bogus warning for valid continuation lines
--- Comment #3 from burnus at gcc dot gnu dot org 2009-04-20 22:21 --- FIXED on the trunk (4.5). -- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39811
[Bug fortran/39811] Bogus warning for valid continuation lines
--- Comment #2 from burnus at gcc dot gnu dot org 2009-04-20 22:19 --- Subject: Bug 39811 Author: burnus Date: Mon Apr 20 22:19:25 2009 New Revision: 146460 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146460 Log: 2009-04-20 Tobias Burnus PR fortran/39811 * scanner.c (load_line): Fix bogus "&" compile-time diagnostic. 2009-04-20 Tobias Burnus PR fortran/39811 * gfortran.dg/continuation_11.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/continuation_11.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/scanner.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39811
[Bug fortran/39811] Bogus warning for valid continuation lines
-- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-04-20 21:48:21 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39811
[Bug fortran/39811] Bogus warning for valid continuation lines
--- Comment #1 from burnus at gcc dot gnu dot org 2009-04-18 22:32 --- Patch (not regtested): Index: scanner.c === --- scanner.c (revision 146331) +++ scanner.c (working copy) @@ -1404,7 +1404,10 @@ if (c == '&') { if (seen_ampersand) - seen_ampersand = 0; + { + seen_ampersand = 0; + seen_printable = 1; + } else seen_ampersand = 1; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39811