re PR fortran/54243 ([OOP] ICE (segfault) in gfc_type_compatible for invalid BT_CLASS)
commit0b2d443bef10e972db37d28d4626ab8dbbf4abcc
authorJanus Weil <janus@gcc.gnu.org>
Wed, 15 Aug 2012 22:11:03 +0000 (16 00:11 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 15 Aug 2012 22:11:03 +0000 (16 00:11 +0200)
tree6ab45128d591070c8fae12c6a1330ad520318450
parent4b78ca9d8182bee10545a1f507b4fc39689d98b6
re PR fortran/54243 ([OOP] ICE (segfault) in gfc_type_compatible for invalid BT_CLASS)

2012-08-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54243
PR fortran/54244
* resolve.c (check_typebound_baseobject): Check for class_ok attribute.
(resolve_procedure_interface,resolve_fl_derived0): Copy class_ok
attribute.

2012-08-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54243
PR fortran/54244
* gfortran.dg/typebound_call_24.f03: New.

From-SVN: r190420
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_call_24.f03 [new file with mode: 0644]