From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3022 invoked by alias); 21 Jan 2008 08:06:04 -0000 Received: (qmail 2572 invoked by uid 48); 21 Jan 2008 08:05:20 -0000 Date: Mon, 21 Jan 2008 09:20:00 -0000 Subject: [Bug fortran/34899] New: Continuation lines with not recognized X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg02295.txt.bz2 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 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