[Patch, Fortran, OOP] PR 44044: SELECT TYPE with class-valued function

Janus Weil janus@gcc.gnu.org
Mon May 10 13:04:00 GMT 2010


>> 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.
>>
>
>



More information about the Gcc-patches mailing list