From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20101 invoked by alias); 16 Apr 2007 22:06:35 -0000 Received: (qmail 20063 invoked by uid 48); 16 Apr 2007 22:06:23 -0000 Date: Mon, 16 Apr 2007 22:06:00 -0000 Subject: [Bug fortran/31594] New: gfortran failed to compiled a 'valid' code X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "deji_aking at yahoo dot ca" 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: 2007-04/txt/msg01172.txt.bz2 The attached fortran code (a smaller section cut and paste from original) was generated by a custom preprocessor. The code very much seems to be valid fortran 77, though its has some weird tab spacings; It compiles (and executes) fine with pgf90 and ifort-8.x. The compile time error is as below (same with gfortran-4.1.2, 4.2 and 4.3.0 trunck build); [armnlib@agape ~]$ gfortran -c -fcray-pointer adw_test.f adw_test.f:61.9: a(m,1) = p(m,1) * F_in (o1(m,1)-1) + p(m,2) * F_in (o1(m,1)) 1 Error: Unclassifiable statement at (1) adw_test.f:90.8: %(m,3) * F_in (o1(m,3)+1) + p(m,4) * F_in (o1(m,3)+2) 1 Error: Expected PARAMETER symbol in complex constant at (1) adw_test.f:94.8: %(m,3) * F_in (o3(m,3)+1) + p(m,4) * F_in (o3(m,3)+2) 1 Error: Expected PARAMETER symbol in complex constant at (1) -- Summary: gfortran failed to compiled a 'valid' code Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: deji_aking at yahoo dot ca http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31594