diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2018-02-11 18:22:24 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2018-02-11 18:22:24 +0000 |
commit | e519d2e8199746e9d2b6ef70de55f7331df5bc47 (patch) | |
tree | bcd2076be4ee7e218ac1d59b0804b3e1d8ccbbac /gcc/fortran/resolve.c | |
parent | e094c0bfe982c21cd39741efde87591b59af8a55 (diff) | |
download | gcc-e519d2e8199746e9d2b6ef70de55f7331df5bc47.zip gcc-e519d2e8199746e9d2b6ef70de55f7331df5bc47.tar.gz gcc-e519d2e8199746e9d2b6ef70de55f7331df5bc47.tar.bz2 |
re PR fortran/84074 (Incorrect indexing of array when actual argument is an array expression and dummy is polymorphic)
2018-02-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/84074
* trans-expr.c (gfc_conv_derived_to_class): Set the use_offset
flag. If the is a vector subscript or the expression is not a
variable, make the descriptor one-based.
2018-02-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/84074
* gfortran.dg/type_to_class_5.f03: New test.
From-SVN: r257564
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions