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

Jerry DeLisle jvdelisle@verizon.net
Wed Jan 23 13:41:00 GMT 2008


Paul Thomas wrote:
> :ADDPATCH fortran:
> 
> This patch is not quite obvious but it is self-explanatory.
> 
> Bootstraps and regtests on x86_ia64/FC8 - OK for trunk?
> 
> Paul
> 
> 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.
> 
> 
OK, thanks Paul, makes sense.

Jerry



More information about the Fortran mailing list