diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2013-01-06 21:32:48 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2013-01-06 21:32:48 +0000 |
commit | f04986a90b4ece27f2d144881adaf9f3d7cd6731 (patch) | |
tree | dfd2767db2b73b5d9034f73b9a1615edf6c836fd /gcc/tree-ssa-pre.c | |
parent | 1ab05c31a0854497acc8503d4aca9b36d38c3f28 (diff) | |
download | gcc-f04986a90b4ece27f2d144881adaf9f3d7cd6731.zip gcc-f04986a90b4ece27f2d144881adaf9f3d7cd6731.tar.gz gcc-f04986a90b4ece27f2d144881adaf9f3d7cd6731.tar.bz2 |
PR fortran/PR53876 PR fortran/PR54990 PR fortran/PR54992
2013-01-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/PR53876
PR fortran/PR54990
PR fortran/PR54992
* trans-array.c (build_array_ref): Check the TYPE_CANONICAL
to see if it is GFC_CLASS_TYPE_P.
* trans-expr.c (gfc_get_vptr_from_expr): The same.
(gfc_conv_class_to_class): If the types are not the same,
cast parmese->expr to the type of ctree.
* trans-types.c (gfc_get_derived_type): GFC_CLASS_TYPE_P of
CLASS components must be set.
2013-01-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/PR53876
PR fortran/PR54990
PR fortran/PR54992
* gfortran.dg/class_array_15.f03: New test.
From-SVN: r194953
Diffstat (limited to 'gcc/tree-ssa-pre.c')
0 files changed, 0 insertions, 0 deletions