[Bug fortran/16483] New: g77 incompatibility: integer i/100/

olchansk at panix dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 12 00:13:00 GMT 2004


gfortran is replacing g77, so it ought to compile Fortran code accepted by g77
and other Fortran compilers. It does not accept this code:
[olchansk@tw15 gfortran_test]$ more test_g77a.f90
       integer i/100/
       stop
       end
[olchansk@tw15 gfortran_test]$
/triumfcs/trshare/olchansk/gcc-tree-ssa/install/bin/gfortran -x f95 -c 
test_g77a.f90 
 In file test_g77a.f90:1

       integer i/100/
               1
Error: Syntax error in data declaration at (1)

K.O.

-- 
           Summary: g77 incompatibility: integer i/100/
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olchansk at panix dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list