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] PR77657 - link error with implementation of user-defined derived type input/output (UD-DTIO) in child extending abstract parent


Committed as revision 240301.

I will deal with Gerhard Steinmetz's additional ICE's this morning. I
notice that Steve provided a patch for at least one of them.

Cheers

Paul

On 20 September 2016 at 23:04, Jerry DeLisle <jvdelisle@charter.net> wrote:
> On 09/20/2016 01:15 PM, Paul Richard Thomas wrote:
>> Dear All,
>>
>> Once found, the fix for this PR is trivial. The generic name is only
>> to be found in the parent derived type. Since this is over-ridden in
>> the type extension, not only is the wrong symbol selected for the dtio
>> procedure but, being abstract, the procedure does not exist. The
>> mechanism is borrowed from resolve.c(resolve_typebound_generic_call).
>> This goes back with the generic procedure name and looks again for the
>> procedure in the type extension. The testcase is a dejagnuified
>> version of the original.
>>
>> Bootstraps and regtests on x86_64/FC21 - OK for trunk?
>>
>>
>
> OK, thanks Paul.
>
> Jerry



-- 
The difference between genius and stupidity is; genius has its limits.

Albert Einstein


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