[Patch, Fortran, OOP] PR 46161: Invalid: Passing non-polymorphic to allocatable polymorphic dummy
Janus Weil
janus@gcc.gnu.org
Wed Oct 27 21:48:00 GMT 2010
2010/10/27 Tobias Burnus <burnus@net-b.de>:
> Janus Weil wrote:
>>
>> here is a small patch which adds some checking for polymorphic
>> allocatable dummies. Pretty self-explanatory I think.
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>
> OK. Thanks for the patch!
Thanks. Committed as r166018.
Cheers,
Janus
>> 2010-10-27 Janus Weil<janus@gcc.gnu.org>
>>
>> PR fortran/46161
>> * interface.c (compare_allocatable): Handle polymorphic
>> allocatables.
>> (compare_parameter): Add two error messages for polymorphic
>> dummies.
>>
>> 2010-10-27 Janus Weil<janus@gcc.gnu.org>
>>
>> PR fortran/46161
>> * gfortran.dg/class_dummy_3.f03: New.
>
>
More information about the Fortran
mailing list