diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2009-10-05 18:19:55 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2009-10-05 18:19:55 +0000 |
commit | 7cf078dceaaf3fac20ae6cad5077f9cec6256c8f (patch) | |
tree | dcef12f6299ca2279a3958f860cb3333621196ed /gcc/gcc.c | |
parent | e48efd3b2b9cb628b41e8d0e09eac19a66e90ad2 (diff) | |
download | gcc-7cf078dceaaf3fac20ae6cad5077f9cec6256c8f.zip gcc-7cf078dceaaf3fac20ae6cad5077f9cec6256c8f.tar.gz gcc-7cf078dceaaf3fac20ae6cad5077f9cec6256c8f.tar.bz2 |
trans-expr.c (select_class_proc): New function.
2009-10-05 Paul Thomas <pault@gcc.gnu.org>
* trans-expr.c (select_class_proc): New function.
(conv_function_val): Deal with class methods and call above.
* symbol.c (gfc_type_compatible): Treat case where both ts1 and
ts2 are BT_CLASS.
gfortran.h : Add structure gfc_class_esym_list and include in
the structure gfc_expr.
* module.c (load_derived_extensions): New function.
(read_module): Call above.
(write_dt_extensions): New function.
(write_derived_extensions): New function.
(write_module): Use the above.
* resolve.c (resolve_typebound_call): Add a function expression
for class methods. This carries the chain of symbols for the
dynamic dispatch in select_class_proc.
(resolve_compcall): Add second, boolean argument to indicate if
a function is being handled.
(check_members): New function.
(check_class_members): New function.
(resolve_class_compcall): New function.
(resolve_class_typebound_call): New function.
(gfc_resolve_expr): Call above for component calls..
2009-10-05 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/dynamic_dispatch_1.f90: New test.
* gfortran.dg/dynamic_dispatch_2.f90: New test.
* gfortran.dg/dynamic_dispatch_3.f90: New test.
* gfortran.dg/module_md5_1.f90: Update md5 sum.
From-SVN: r152463
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions