2011-02-14 Janus Weil <janus@gcc.gnu.org>
commit09dbccba61a6d917b236fcd68041215ae45fa340
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2011 18:12:55 +0000 (14 18:12 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2011 18:12:55 +0000 (14 18:12 +0000)
treeb51794372ca1494e209f190ba27e6bfe9fb0a5f2
parenta2676c4feb62508b6e23d65f0aea0ec151596520
2011-02-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47728
* class.c (gfc_build_class_symbol): Give a fatal error on polymorphic
arrays.
* primary.c (gfc_match_varspec): Avoid ICE for invalid class
declaration.

2011-02-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47728
* gfortran.dg/class_38.f03: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170144 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_38.f03 [new file with mode: 0644]