-
- Downloads
re PR fortran/41648 ([OOP] Type-bound procedures refused)
2009-10-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/41648 PR fortran/41656 * trans-expr.c (select_class_proc): Convert the expression for the vindex, carried on the first member of the esym list. * gfortran.h : Add the vindex field to the esym_list structure. and eliminate the class_object field. * resolve.c (check_class_members): Remove the setting of the class_object field. (vindex_expr): New function. (get_class_from_expr): New function. (resolve_class_compcall): Call the above to find the ultimate class or derived component. If derived, do not generate the esym list. Add and expression for the vindex to the esym list by calling the above. (resolve_class_typebound_call): The same. 2009-10-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/41648 * gfortran.dg/dynamic_dispatch_4.f03 : New test. PR fortran/41656 * gfortran.dg/dynamic_dispatch_5.f03 : New test. From-SVN: r152890
Showing
- gcc/fortran/ChangeLog 18 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/resolve.c 115 additions, 12 deletionsgcc/fortran/resolve.c
- gcc/fortran/trans-expr.c 13 additions, 11 deletionsgcc/fortran/trans-expr.c
- gcc/testsuite/ChangeLog 8 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/dynamic_dispatch_4.f03 96 additions, 0 deletionsgcc/testsuite/gfortran.dg/dynamic_dispatch_4.f03
- gcc/testsuite/gfortran.dg/dynamic_dispatch_5.f03 185 additions, 0 deletionsgcc/testsuite/gfortran.dg/dynamic_dispatch_5.f03
Loading
Please register or sign in to comment