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/34872] New: Spurious error in snapshot of 01/18/08: Statement at (1) is not a valid branch target statement for the branch statement at (2)


When I compile the function listed below using the January 18 snapshot of
gfortran, I get the following error:

t.f90:2.2:

10 CONTINUE
 1
t.f90:3.7:

GOTO 10
      2
Error: Statement at (1) is not a valid branch target statement for the branch
statement at (2)

I believe it applies to all platforms.

CHARACTER FUNCTION t()
10 CONTINUE
GOTO 10
t = ' '
END FUNCTION t


-- 
           Summary: Spurious error in snapshot of 01/18/08: Statement at (1)
                    is not a valid branch target statement for the branch
                    statement at (2)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


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


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