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

Reply via email to