[Patch, Fortran] PR 45004: Segfault with allocatable scalars and move_alloc

Janus Weil janus@gcc.gnu.org
Thu Jul 29 18:21:00 GMT 2010


2010/7/24 Tobias Burnus <burnus@net-b.de>:
> Janus Weil wrote:
>> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>>
>
> Looks OK. Thanks for the patch.

Thanks, Tobias, for the review (and thanks to Salvatore for noticing
the bootstrap failure).

I just committed the patch as r162688.

Cheers,
Janus





>> 2010-07-23  Janus Weil  <janus@gcc.gnu.org>
>>
>>       PR fortran/45004
>>       * trans-stmt.h (gfc_trans_class_init_assign): New prototype.
>>       (gfc_trans_class_assign): Modified prototype.
>>       * trans.h (gfc_conv_intrinsic_move_alloc): New prototype.
>>       * trans-expr.c (gfc_trans_class_init_assign): Split off from ...
>>       (gfc_trans_class_assign): ... here. Modified actual arguments.
>>       * trans-intrinsic.c (gfc_conv_intrinsic_move_alloc): New function to
>>       handle the MOVE_ALLOC intrinsic with scalar and class arguments.
>>       * trans.c (trans_code): Call 'gfc_conv_intrinsic_move_alloc'.
>>
>>
>> 2010-07-23  Janus Weil  <janus@gcc.gnu.org>
>>
>>       PR fortran/45004
>>       * gfortran.dg/move_alloc_2.f90: New.
>>
>
>



More information about the Gcc-patches mailing list