aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2024-10-31 07:22:36 +0000
committerPaul Thomas <pault@gcc.gnu.org>2024-10-31 07:23:08 +0000
commit159fb203231c503418e7ab9f45282957e40cb195 (patch)
treeb2cd280bb46f2e4db298bd7c5a20af66d06f1547 /gcc/expr.cc
parent2dcb174385fd366282bf34bf95adbf918d5befda (diff)
downloadgcc-159fb203231c503418e7ab9f45282957e40cb195.zip
gcc-159fb203231c503418e7ab9f45282957e40cb195.tar.gz
gcc-159fb203231c503418e7ab9f45282957e40cb195.tar.bz2
Fortran: Fix problem with substring selectors in ASSOCIATE [PR115700]
2024-10-31 Paul Thomas <pault@gcc.gnu.org> gcc/fortran PR fortran/115700 * resolve.cc (resolve_variable): The typespec of an expression, which is not a substring, can be shared with a deferred length associate name. (resolve_assoc_var): Extract a substring reference with non- constant start or end. Use it to flag up the need for array associate name to be a pointer. (resolve_block_construct): Change comment from past to future tense. gcc/testsuite/ PR fortran/115700 * gfortran.dg/associate_70.f90: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions