[Patch, Fortran] PR 41719: [OOP] invalid: Intrinsic assignment involving polymorphic variables

Janus Weil janus@gcc.gnu.org
Fri Oct 16 21:13:00 GMT 2009


2009/10/16 Tobias Burnus <burnus@net-b.de>:
> Janus Weil wrote:
>> here is a small patch which fixes this PR (rather obvious). It was
>> successfully regtested on x86_64-unknown-linux-gnu.
>>
>> Ok for trunk?
>>
>>
>
> Yes, the patch is okay.

Thanks. Committed as r152919.

Cheers,
Janus



>> 2009-10-16  Janus Weil  <janus@gcc.gnu.org>
>>
>>       PR fortran/41719
>>       * resolve.c (resolve_ordinary_assign): Reject intrinsic assignments
>>       to polymorphic variables.
>>
>>
>> 2009-10-16  Janus Weil  <janus@gcc.gnu.org>
>>
>>       PR fortran/41719
>>       * gfortran.dg/class_5.f03: New test case.
>>       * gfortran.dg/typebound_operator_2.f03: Fixing invalid test case.
>>       * gfortran.dg/typebound_operator_4.f03: Ditto.
>>
>
>



More information about the Fortran mailing list