[patch, fortran] Fix PR 85111, some more zero size stuff
Jerry DeLisle
jvdelisle@charter.net
Fri Mar 30 02:31:00 GMT 2018
On 03/29/2018 11:07 AM, Thomas Koenig wrote:
> Hello world,
>
> the attached patch fixes PR 85111, a regression introduced with my
> recent simplification patches. Seems like the zero-size saga
> has yet another chapter :-)
>
> Regression-tested. OK for trunk?
>
Looks OK,
Thanks,
Jerry
> Regards
>
> Â Â Â Â Thomas
>
> 2017-03-29 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> Â Â Â Â Â Â Â PR fortran/85111
> Â Â Â Â Â Â Â * array.c (gfc_resolve_character_array_constructor): Early
> Â Â Â Â Â Â Â exit for zero-size arrays.
> Â Â Â Â Â Â Â * simplify.c (simplify_transformation_to_array): Exit early
> Â Â Â Â Â Â Â if the result size is zero.
> Â Â Â Â Â Â Â (simplify_minmaxloc_to_array): Likewise.
>
> 2017-03-29 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> Â Â Â Â Â Â Â PR fortran/85111
> Â Â Â Â Â Â Â * gfortran.dg/zero_sized_10.f90: New test.
More information about the Fortran
mailing list