[Patch, Fortran] PR53255 - fix type-bound operator handling

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon May 7 08:08:00 GMT 2012


Hi Tobias,

Nice call!  Apart from s/wronly/wrongly/ in the testcase, this is
certainly OK for trunk and, I would suggest, as far back as you have
the intestinal fortitude to go. I suspect, without checking, that the
patch might not do the right thing on 4.5.

Thanks for the patch for what you carrectly describe as a nasty wrong code bug.

Cheers

Paul

On 6 May 2012 19:05, Tobias Burnus <burnus@net-b.de> wrote:
> Dear all,
>
> if one uses TYPE(extended), the overridden specific procedure ("trace_ext"
> to the TBP "trace") associated with an operator (".tr.") is not called - but
> the TBP of the base type. It correctly works for polymorphic types.
>
> Build and regtested on x86-64-linux.
> OK for the trunk?
>
> As it is a nasty wrong-code bug (but no regression), I wonder whether it
> should be backported - and, if so, to which version - 4.7 only? (Affected
> are GCC 4.5 to 4.8.)
>
> Tobias



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy



More information about the Gcc-patches mailing list