aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.cc
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2023-10-30 07:12:40 +0000
committerPaul Thomas <pault@gcc.gnu.org>2023-10-30 07:12:40 +0000
commitf3e44d079747daf56307ada8a2e2e56b64934014 (patch)
tree1bdfdd2ee9c7e1196fb35b2ab337f71e8684d8c5 /libcpp/line-map.cc
parent8c40b72036c967fbb1d1150515cf70aec382f0a2 (diff)
downloadgcc-f3e44d079747daf56307ada8a2e2e56b64934014.zip
gcc-f3e44d079747daf56307ada8a2e2e56b64934014.tar.gz
gcc-f3e44d079747daf56307ada8a2e2e56b64934014.tar.bz2
Fortran: Fix a problem with SELECT TYPE selectors [PR104555].
2023-10-30 Paul Thomas <pault@gcc.gnu.org> gcc/fortran PR fortran/104555 * resolve.cc (resolve_select_type): If the selector expression has no class component references and the expression is a derived type, copy the typespec of the symbol to that of the expression. gcc/testsuite/ PR fortran/104555 * gfortran.dg/pr104555.f90: New test.
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions