This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran, OOP] PR 63733: [4.8/4.9/5 Regression] wrong resolution for OPERATOR generics


Good, I fully agree. Fortunately the patch applies cleanly to the 4.9
branch and regtests without errors. Thus I have applied it as r219475.
Will do 4.8 soon.

Cheers,
Janus



2015-01-12 9:30 GMT+01:00 Paul Richard Thomas <paul.richard.thomas@gmail.com>:
> Dear Janus,
>
> Since it is a regression, by all means update the branches. We
> usually, propose delaying a bit but I am not convinced that this is
> effective for this kind of bug fix - usually, further problems take a
> long time to emerge. Thus, I would recommend that you get on with it.
>
> Thanks
>
> Paul
>
> On 11 January 2015 at 23:01, Janus Weil <janus@gcc.gnu.org> wrote:
>>> 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
>
>
>
> --
> Outside of a dog, a book is a man's best friend. Inside of a dog it's
> too dark to read.
>
> Groucho Marx


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]