[Patch, Fortran, OOP] PR 60853: Failure to disambiguate generic with unlimited polymorphic
Janus Weil
janus@gcc.gnu.org
Fri Nov 25 17:23:00 GMT 2016
Hi Paul,
> This looks fine to me - OK for trunk.
thanks a lot. Committed as r242880.
Cheers,
Janus
> On 25 November 2016 at 13:40, Janus Weil <janus@gcc.gnu.org> wrote:
>> Hi all,
>>
>> here is a patch that fixes a rejects-valid problem with an
>> unlimited-polymorphic variable in a generic procedure. Removing the
>> line with UNLIMITED_POLY fixes the error and the rest of the patch is
>> just slightly refactoring the for-loop.
>>
>> Regtested successfully on x86_64-linux-gnu. Ok for trunk?
>>
>> Cheers,
>> Janus
>>
>>
>> 2016-11-25 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/60853
>> * interface.c (gfc_compare_interfaces): Remove bad special case for
>> unlimited polymorphism. Refactor for loop.
>>
>> 2016-11-25 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/60853
>> * gfortran.dg/typebound_assignment_8.f90: New test case.
>
>
>
> --
> The difference between genius and stupidity is; genius has its limits.
>
> Albert Einstein
More information about the Gcc-patches
mailing list