The following program - which uses a very common extension - is rejected by
gfortran. It is accepted by ifort, NAG f95 (!), sunf95, openf95, pgi, absoft.
As it is a very common extension, I marked it as reject-valid though the tab
makes it non-standard.
It is essential that at least for the second and third line a TAB and not
spaces are used.
PARAMETER (LUMIN=11,LUMAX=20,MAPMAX=256,NPLANEMAX=999)
INTEGER NAXIS(0:MAPMAX,LUMIN:LUMAX),NAXIS1(0:MAPMAX,LUMIN:LUMAX),
1NAXIS2(0:MAPMAX,LUMIN:LUMAX),NAXIS3(0:MAPMAX,LUMIN:LUMAX)
end
>From the ifort documentation:
>
> In fixed and tab source forms, a continuation line is indicated by one of the
> following:
> * For fixed form: Any character (except a zero or blank) in column 6 of a
> source line
> * For tab form: Any digit (except zero) after the first tab
If this bug is fixed, please also update the *.texi file.
--
Summary: Continuation lines with <tab><number> not recognized
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34899