This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34872] [4.3 Regression] 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: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2008 08:54:16 -0000
- Subject: [Bug fortran/34872] [4.3 Regression] Spurious error in snapshot of 01/18/08: Statement at (1) is not a valid branch target statement for the branch statement at (2)
- References: <bug-34872-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pault at gcc dot gnu dot org 2008-01-23 08:54 -------
Having slept on it, I know where the problem is - old_locus in decode_statement
points to the whitespace after a statement label. In consequence, if the label
is deleted, it is not parsed again.
A fix is regtesting.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34872