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] Reject polymorphic arrays in 4.6


Janus Weil wrote:
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.


Tobias

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.


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