[PATCH] PR fortran/59910 -- structure constructor in DATA statement
Jerry DeLisle
jvdelisle@charter.net
Wed Nov 18 19:10:00 GMT 2015
On 11/17/2015 12:34 PM, Steve Kargl wrote:
> Here's what looks like a fairly simple patch, but it leads
> to a question. Why does gfortran not try to reduce the
> components in a structure constructor in general? I've
> hidden the gfc_reduce_init_expr() behind a check for a
> DATA statement, but I suspect gfc_reduce_init_expr()
> may be useful for PARAMETER statements as well (need to
> check this!).
>
> Anyway, the patch has been built and tested on x86_64-*-freebsd.
> A slightly different patch was built and tested on i386-*-freebsd.
>
> OK to commit?
>
OK, Can't answer your question above at the moment.
Jerry
More information about the Fortran
mailing list