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 44044: SELECT TYPE with class-valued function


>> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>>
>
> OK. Thanks for the patch!

Thanks. Committed as r159217.


Btw, about the runtime checking mentioned in the PR (comment #2): I
agree that it should be hidden behind an -fcheck=* option. Is it ok to
use -fcheck=pointer? Basically this applies only to pointers and
allocatables ...

I could also introduce some new option -fcheck=class, but I think I'd
prefer not to.

Cheers,
Janus




>> 2010-05-09 ?Janus Weil ?<janus@gcc.gnu.org>
>>
>> ? ? ? PR fortran/44044
>> ? ? ? * match.c (gfc_match_select_type): Move error message to
>> ? ? ? resolve_select_type.
>> ? ? ? * resolve.c (resolve_select_type): Error message moved here from
>> ? ? ? gfc_match_select_type. Correctly set type of temporary.
>>
>>
>> 2010-05-09 ?Janus Weil ?<janus@gcc.gnu.org>
>>
>> ? ? ? PR fortran/44044
>> ? ? ? * gfortran.dg/class_7.f03: Modified.
>> ? ? ? * gfortran.dg/select_type_1.f03: Modified.
>> ? ? ? * gfortran.dg/select_type_12.f03: New.
>>
>
>


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