diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/match.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 66bdbe6..80f78c1 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/44371 + * match.c (gfc_match_stopcode): Move gfc_match_eos call inside + condition block. + 2010-05-31 Steven G. Kargl <kargl@gcc.gnu.org> * fortran/gfortran.texi: Fix typos in description of variable-format- diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c index 7e13ba3..2cbac02 100644 --- a/gcc/fortran/match.c +++ b/gcc/fortran/match.c @@ -2018,10 +2018,10 @@ gfc_match_stopcode (gfc_statement st) goto cleanup; if (m == MATCH_NO) goto syntax; - } - if (gfc_match_eos () != MATCH_YES) - goto syntax; + if (gfc_match_eos () != MATCH_YES) + goto syntax; + } if (gfc_pure (NULL)) { |