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] PR 44213: ICE when extending abstract type


>>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>>>
>>
>> Secondly, regarding the patch: It looks OK. However, I wonder whether
>> one cannot short-cut the recursion if the parent-type of an abstract
>> type is not abstract. In this case, the checks should have been
>> performed already for the parent type, shouldn't they?
>
> Ah, yes. Actually I think you're right. The attached new version does
> this. I will commit after another regtest.

Commited as r159695.

Cheers,
Janus



>>> 2010-05-21 ?Janus Weil ?<janus@gcc.gnu.org>
>>>
>>> ? ? ? PR fortran/44213
>>> ? ? ? * resolve.c (ensure_not_abstract): Allow abstract types with
>>> ? ? ? non-abstract ancestors.
>>>
>>>
>>> 2010-05-21 ?Janus Weil ?<janus@gcc.gnu.org>
>>>
>>> ? ? ? PR fortran/44213
>>> ? ? ? * gfortran.dg/abstract_type_7.f03: New.
>>>
>>
>


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