[Bug fortran/13912] New: [gfortran] Does not accept g77 code

bdavis9659 at comcast dot net gcc-bugzilla@gcc.gnu.org
Thu Jan 29 02:03:00 GMT 2004


[bdavis@localhost bin]$ cat example6.f
         INTEGER DMTABREQ(100)
         INTEGER I
         DMTABREQ(I)=DMTABREQ(I) * -1
         END
[bdavis@localhost bin]$ g77 example6.f
[bdavis@localhost bin]$ /usr/local/bin/gfortran example6.f
 In file example6.f:3
 
         DMTABREQ(I)=DMTABREQ(I) * -1
        1
Error: Unclassifiable statement at (1)

[bdavis@localhost bin]$ /usr/local/bin/gfortran --version
GNU Fortran 95 (GCC 3.5-tree-ssa 20040128 (merged 20040102))

Is this legal f90 ? I do not know but it works on f77 compilers.

-- 
           Summary: [gfortran]  Does not accept g77 code
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis9659 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list