[Patch, Fortran, OOP] Reject polymorphic arrays in 4.6
Janus Weil
janus@gcc.gnu.org
Sun Feb 13 00:33:00 GMT 2011
>> the 4.6 release is approaching in big steps and it will feature a lot
>> of OOP goodies. However, polymorphic arrays are still basically
>> unimplemented and I think the cleanest way to deal with this is to
>> reject dimensionful class variables altogether. This is what the
>> attached patch does.
>>
>> Ok for trunk?
>
> OK - that seems to be the most sensible. Hopefully, polymorphic arrays will
> be supported in 4.7 - and unlimited polymorphism soon after.
Thanks, committed as r170092.
Cheers,
Janus
>> 2011-02-12 Janus Weil<janus@gcc.gnu.org>
>>
>> * class.c (gfc_build_class_symbol): Reject polymorphic arrays.
>> * decl.c (build_sym,build_struct,attr_decl1): Use return value of
>> 'gfc_build_class_symbol'.
>>
>>
>> 2011-02-12 Janus Weil<janus@gcc.gnu.org>
>>
>> * gfortran.dg/allocate_derived_1.f90: Modified.
>> * gfortran.dg/class_7.f03: Modified.
>> * gfortran.dg/coarray_14.f90: Modified.
>> * gfortran.dg/typebound_proc_13.f03: Modified.
>
>
More information about the Gcc-patches
mailing list