class.c (gfc_build_class_symbol): Reject polymorphic arrays.
authorJanus Weil <janus@gcc.gnu.org>
Sat, 12 Feb 2011 21:34:11 +0000 (22:34 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 12 Feb 2011 21:34:11 +0000 (22:34 +0100)
commit96d9b22c0ba19a2177fe7d254cb3a7e5fa49463f
tree1f3c46a16af849afee31b6d349f3b132ad36634f
parenta016dc83ecbbcd3deb7b23b6b8dad86475c1a831
class.c (gfc_build_class_symbol): Reject polymorphic arrays.

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 as polymorphic arrays
are temporarily disabled.
* gfortran.dg/class_7.f03: Ditto.
* gfortran.dg/coarray_14.f90: Ditto.
* gfortran.dg/typebound_proc_13.f03: Ditto.

From-SVN: r170092
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_derived_1.f90
gcc/testsuite/gfortran.dg/class_7.f03
gcc/testsuite/gfortran.dg/coarray_14.f90
gcc/testsuite/gfortran.dg/typebound_proc_13.f03