This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31594] New: gfortran failed to compiled a 'valid' code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]