]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/25106 ([4.0/4.1] statement label is zero)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Sat, 3 Dec 2005 15:32:04 +0000 (16:32 +0100)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 3 Dec 2005 15:32:04 +0000 (15:32 +0000)
commita34a91f0b73dad394cd0db44f5702406c09a06c6
treefed5540ea5770fb73224878dea9cced4affb486c
parent1b2bb2edfa74093b2926ca0673e845edd7f5f8a5
re PR fortran/25106 ([4.0/4.1] statement label is zero)

PR fortran/25106
* parse.c (next_free): Use new prototype for gfc_match_st_label.
Correctly emit hard error if a label is zero.
* match.c (gfc_match_st_label): Never allow zero as a valid
label.
(gfc_match, gfc_match_do, gfc_match_goto): Use new prototype for
gfc_match_st_label.
* primary.c (): Use new prototype for gfc_match_st_label.
* io.c (): Likewise.
* match.h: Likewise.

From-SVN: r107999
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/fortran/match.c
gcc/fortran/match.h
gcc/fortran/parse.c
gcc/fortran/primary.c