This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, OOP] PR 47745: Segfault with CLASS(*) and derived type dummy arguments
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 16 Feb 2011 21:52:50 +0100
- Subject: Re: [Patch, Fortran, OOP] PR 47745: Segfault with CLASS(*) and derived type dummy arguments
- References: <AANLkTimFF96PkN9CpBpMgs5KXwbbtTSzB4TLfn0D8nvE@mail.gmail.com> <4D5C0682.2080105@net-b.de>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>
> OK. Thanks for the patch!
Thanks. Committed as r170223.
Cheers,
Janus
>> 2011-02-15 ?Janus Weil<janus@gcc.gnu.org>
>>
>> ? ? ? ?PR fortran/47745
>> ? ? ? ?* class.c (gfc_build_class_symbol): Set 'class_ok' attribute.
>> ? ? ? ?* decl.c (build_sym,attr_decl1): Move setting of 'class_ok' into
>> ? ? ? ?'gfc_build_class_symbol'.
>> ? ? ? ?(gfc_match_decl_type_spec): Reject unlimited polymorphism.
>> ? ? ? ?* interface.c (matching_typebound_op): Check for 'class_ok'
>> attribute.
>> ? ? ? ?* match.c (select_type_set_tmp): Move setting of 'class_ok' into
>> ? ? ? ?'gfc_build_class_symbol'.
>> ? ? ? ?* primary.c (gfc_variable_attr): Check for 'class_ok' attribute.
>>
>> 2011-02-15 ?Janus Weil<janus@gcc.gnu.org>
>>
>> ? ? ? ?PR fortran/47745
>> ? ? ? ?* gfortran.dg/class_39.f03: New.
>
>