[patch, Fortran] Fix PR 60834

Tobias Burnus tobias.burnus@physik.fu-berlin.de
Mon May 12 08:02:00 GMT 2014


Thomas Koenig wrote:
> this contains a straightforward fix for the regression by
> not trying to do combine array constructors inside
> association lists.
>
> Regression-tested.  OK for all affected open branches?

OK. Thanks for the patch. (I think only 4.9 and 4.10 are
affected - and not 4.8.)

Tobias

> 2014-05-10  Thomas Koenig  <tkoenig@gcc.gnu.org>
>
>         PR fortran/60834
>         * frontend-passes.c (in_assoc_list):  New variable.
>         (optimize_namespace):  Initialize in_assoc_list
>         (combine_array_constructor): Don't try to combine
>         assoc lists.
>         (gfc_code_walker):  Keep track of in_assoc_list.
>
> 2014-05-10  Thomas Koenig  <tkoenig@gcc.gnu.org>
>
>         PR fortran/60834
>         * gfortran.dg/associate_16.f90:  New test.



More information about the Fortran mailing list