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/20824] New: Legal code involving if statement does not compile


Legal code does not compile

      PROGRAM BUG
      I=10
      IF(I.GT.10) IF(I) 10, 20, 30
 10   CONTINUE
 20   CONTINUE
 30   CONTINUE
      END

[/Users/fca] /opt/gcc-4_0/bin/gfortran -c bugf000000.f 
 In file bugf000000.f:3

      IF(I.GT.10) IF(I) 10, 20, 30                                      
                 1
Error: Unclassifiable statement in IF-clause at (1)

-- 
           Summary: Legal code involving if statement does not compile
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: federico dot carminati at cern dot ch
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-apple-darwin7.8.0


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


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