OSDN Git Service

2011-11-07 Janus Weil <janus@gcc.gnu.org>
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Nov 2011 18:41:12 +0000 (18:41 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Nov 2011 18:41:12 +0000 (18:41 +0000)
commit6df74ab4271c036e5c80aa5b67104c98c0dda1d5
tree86c04780e7b4597295a42c9c07fe929a74a1c915
parenta49907f903f19b92cc4ca1918188460c757b4489
2011-11-07  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50919
* class.c (add_proc_comp): Don't add non-overridable procedures to the
vtable.
* resolve.c (resolve_typebound_function,resolve_typebound_subroutine):
Don't generate a dynamic _vptr call for non-overridable procedures.

2011-11-07  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50919
* gfortran.dg/typebound_call_21.f03: New.

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