[Patch, Fortran, OOP] PR 50225: The allocation status for polymorphic allocatable function results is not set properly

Arjen Markus arjen.markus895@gmail.com
Tue Aug 30 06:44:00 GMT 2011


Hi Janus,

that is quick work - even if it was obvious ;)\

Regards,

Arjen

2011/8/29 Janus Weil <janus@gcc.gnu.org>:
>>> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>>
>> OK. Looks rather obvious.
>
> Thanks. Committed as r178262.
>
> Cheers,
> Janus
>
>
>
>>> 2011-08-29  Janus Weil<janus@gcc.gnu.org>
>>>
>>>        PR fortran/50225
>>>        * trans-decl.c (gfc_generate_function_code): Nullify polymorphic
>>>        allocatable function results.
>>>
>>> 2011-08-29  Janus Weil<janus@gcc.gnu.org>
>>>
>>>        PR fortran/50225
>>>        * gfortran.dg/class_result_1.f03: New.
>>
>>
>



More information about the Fortran mailing list