https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101330

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to kargl from comment #1)
> diff --git a/gcc/fortran/openmp.c b/gcc/fortran/openmp.c
> index 357a1e15e01..37056ac035f 100644
> --- a/gcc/fortran/openmp.c
> +++ b/gcc/fortran/openmp.c
> @@ -1074,7 +1074,6 @@ gfc_match_iterator (gfc_namespace **ns, bool
> permit_var)
>       }
>        if (':' == gfc_peek_ascii_char ())
>       {
> -       step = gfc_get_expr ();
>         if (gfc_match (": %e ", &step) != MATCH_YES)
>           {
>             gfc_free_expr (begin);

Yeah, this obviously fixes it.  Looks like a left-over from development.
I can commit it.

Reply via email to