This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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)
- From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2008 15:39:55 -0000
- Subject: [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)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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