From: jvdelisle Date: Wed, 2 Jun 2010 04:42:41 +0000 (+0000) Subject: 2010-06-01 Jerry DeLisle X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3a9b51069f1783e054ac3e08217212ef4d274d5;p=thirdparty%2Fgcc.git 2010-06-01 Jerry DeLisle PR fortran/44371 * match.c (gfc_match_stopcode): Move gfc_match_eos call inside condition block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160133 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 66bdbe66d21e..80f78c12a6d6 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2010-06-01 Jerry DeLisle + + PR fortran/44371 + * match.c (gfc_match_stopcode): Move gfc_match_eos call inside + condition block. + 2010-05-31 Steven G. Kargl * fortran/gfortran.texi: Fix typos in description of variable-format- diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c index 7e13ba3b96ab..2cbac0200fdf 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)) {