[Ptach, fortran] PR34875 - read into vector-valued section doesn't transfer any values

Tobias Burnus burnus@net-b.de
Wed Jan 23 11:06:00 GMT 2008


Paul Thomas wrote:
> This patch is not quite obvious but it is self-explanatory.
> Bootstraps and regtests on x86_ia64/FC8 - OK for trunk?
OK and thanks for the quick patch.

Tobias

> 2008-01-22  Paul Thomas  <pault@gcc.gnu.org>
>
>    PR fortran/34875
>    * trans-io.c (gfc_trans_transfer): If the array reference in a
>    read has a vector subscript, use gfc_conv_subref_array_arg to
>    copy back the temporary.
>
> 2008-01-22  Paul Thomas  <pault@gcc.gnu.org>
>
>    PR fortran/34875
>    * gfortran.dg/vector_subscript_3.f90: New test.
>
>



More information about the Fortran mailing list