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

Paul Thomas paulthomas2@wanadoo.fr
Tue Jan 22 22:36:00 GMT 2008


: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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 3165 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080122/ed9c8cec/attachment.bin>


More information about the Gcc-patches mailing list