diff options
Diffstat (limited to 'gcc/fortran/decl.c')
| -rw-r--r-- | gcc/fortran/decl.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 67d05b8..43e0235 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -3340,7 +3340,8 @@ gfc_match_end (gfc_statement *st)    if (gfc_match_eos () == MATCH_YES)      { -      if (*st != ST_ENDDO && *st != ST_ENDIF && *st != ST_END_SELECT) +      if (*st != ST_ENDDO && *st != ST_ENDIF && *st != ST_END_SELECT +	  && *st != ST_END_FORALL && *st != ST_END_WHERE)  	return MATCH_YES;        if (gfc_current_block () == NULL) | 
