Hi all,

the attached patch implements support for polymorphic arguments to
TRANSFER. For details and discussion see the PR.

The patch was regtested successfully on x86_64-unknown-linux-gnu. Ok for trunk?

Btw, as part of the PR is a regression in 4.7 and trunk, I would like
to backport the target-memory.c part and the first test case to the
4.7 branch. Ok?

Cheers,
Janus


2012-11-05  Janus Weil  <ja...@gcc.gnu.org>

    PR fortran/54917
    * target-memory.c (gfc_target_expr_size,gfc_target_interpret_expr):
    Handle BT_CLASS.
    * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Add support for
    polymorphic arguments.

2012-11-05  Janus Weil  <ja...@gcc.gnu.org>

    PR fortran/54917
    * gfortran.dg/transfer_class_1.f90: New.
    * gfortran.dg/transfer_class_2.f90: New.

Attachment: pr54917.diff
Description: Binary data

Attachment: transfer_class_1.f90
Description: Binary data

Attachment: transfer_class_2.f90
Description: Binary data

Reply via email to