re PR fortran/49417 ([OOP] ICE on invalid CLASS component declaration)
authorJanus Weil <janus@gcc.gnu.org>
Thu, 16 Jun 2011 11:45:05 +0000 (13:45 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 16 Jun 2011 11:45:05 +0000 (13:45 +0200)
commit9c9eacb9b4d7b9f2866da3352e12722aedc846df
treeb906177d151631ae9652bebb3a02f3f328d24096
parentfd4df33d4ee706a8dbc98201b1a62456fabb8195
re PR fortran/49417 ([OOP] ICE on invalid CLASS component declaration)

2011-06-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49417
* module.c (mio_component): Make sure the 'class_ok' attribute is set
for use-associated CLASS components.
* parse.c (parse_derived): Check for 'class_ok' attribute.
* resolve.c (resolve_fl_derived): Ditto.

2011-06-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49417
* gfortran.dg/class_43.f03: New.

From-SVN: r175101
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/fortran/parse.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_43.f03 [new file with mode: 0644]