diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2018-02-10 18:16:14 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2018-02-10 18:16:14 +0000 |
commit | 950ab3f1419619d6e4bec7d2f029b9aff00813e9 (patch) | |
tree | 531e08057236b9dcd8588408505cd0d56269cc6c /gcc/fortran/resolve.c | |
parent | cb2e8560f9d446c60610934b8d28b810f8396189 (diff) | |
download | gcc-950ab3f1419619d6e4bec7d2f029b9aff00813e9.zip gcc-950ab3f1419619d6e4bec7d2f029b9aff00813e9.tar.gz gcc-950ab3f1419619d6e4bec7d2f029b9aff00813e9.tar.bz2 |
re PR fortran/84141 (Internal error: type_name(): Bad type)
2018-02-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/84141
PR fortran/84155
* trans-array.c (gfc_array_init_size): Revert the change made
in revision 257356 setting the dtype.
* trans-types.c (gfc_get_dtype): Do not use the cached dtype.
Call gfc_get_dtype_rank_type every time.
PR fortran/56691
* trans-array.c (gfc_conv_expr_descriptor): If the source array
is a descriptor type, use its offset, removing the condition
that is be a class expression.
2018-02-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/56691
* gfortran.dg/type_to_class_4.f03: New test.
From-SVN: r257550
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions