[Bug fortran/34084] [4.3 regression] Error in November 9 version of gfortran when the first line in a source file is an INCLUDE statement

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 13 21:18:00 GMT 2007



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2007-11-13 21:18 -------
(In reply to comment #1)
> FX, can you have a look? I would not be surprised if one of your debug patches
> caused the regression

Me neither. A simple workaround is to simply add a blank line before the
INCLUDE statement. This problem is the exact inverse of the one I solved
previously (which was about include statements on the last line), but it can't
be fixed with the same hack. I'll revert my previous patch, and we'll need to
fix this one straight in the scanner, when we read the file for the first time.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-11-13 19:51:09         |2007-11-13 21:18:22
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34084



More information about the Gcc-bugs mailing list