[Patch, Fortran, OOP] PR 63733: [4.8/4.9/5 Regression] wrong resolution for OPERATOR generics
Janus Weil
janus@gcc.gnu.org
Sun Jan 11 22:01:00 GMT 2015
> Well done for sorting that out. OK for trunk.
Thanks, Paul. Committed as r219440.
What about the branches?
Cheers,
Janus
> On 11 January 2015 at 14:38, Janus Weil <janus@gcc.gnu.org> wrote:
>> Hi all,
>>
>> this patch fixes a wrong-code regression related to operators, by
>> making sure that we look for typebound operators first, before looking
>> for non-typebound ones. (Note: Each typebound operator is also added
>> to the list of non-typebound ones, for reasons of diagnostics.)
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk? 4.9/4.8?
>>
>> Cheers,
>> Janus
>>
>>
>>
>> 2015-01-11 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/63733
>> * interface.c (gfc_extend_expr): Look for type-bound operators before
>> non-typebound ones.
>>
>> 2015-01-11 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/63733
>> * gfortran.dg/typebound_operator_20.f90: New.
>
>
>
> --
> Outside of a dog, a book is a man's best friend. Inside of a dog it's
> too dark to read.
>
> Groucho Marx
More information about the Fortran
mailing list