Bug 20824 - Legal code involving if statement does not compile
Summary: Legal code involving if statement does not compile
Status: RESOLVED DUPLICATE of bug 17229
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 10:09 UTC by Federico Carminati
Modified: 2005-07-23 22:49 UTC (History)
3 users (show)

See Also:
Host: powerpc-apple-darwin7.8.0
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Carminati 2005-04-08 10:09:51 UTC
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)
Comment 1 Andrew Pinski 2005-04-08 11:43:37 UTC
This is a dup of bug 17229 which just got fixed today.

*** This bug has been marked as a duplicate of 17229 ***