[patch, fortran] Fix PR 69544

Thomas Koenig tkoenig@netcologne.de
Tue Nov 1 21:19:00 GMT 2016


Am 01.11.2016 um 19:42 schrieb Dominique d'Humières:
> gfortran regtested without regression with the patch
>
> --- ../_clean/gcc/fortran/match.c	2016-11-01 17:24:32.000000000 +0100
> +++ gcc/fortran/match.c	2016-11-01 16:21:31.000000000 +0100
> @@ -6219,6 +6219,7 @@ match_simple_where (void)
>
>    c->next = XCNEW (gfc_code);
>    *c->next = new_st;
> +  c->next->loc = gfc_current_locus;
>    gfc_clear_new_st ();
>
>    new_st.op = EXEC_WHERE;

Here too, dunno what was the matter before...

I have committed the patch with test case as obvious as
https://gcc.gnu.org/viewcvs?rev=241756&root=gcc&view=rev

I will do the backport of the two patches together.

Regards

	Thomas



More information about the Fortran mailing list