https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104555

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

https://gcc.gnu.org/g:f3e44d079747daf56307ada8a2e2e56b64934014

commit r14-5003-gf3e44d079747daf56307ada8a2e2e56b64934014
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Mon Oct 30 07:12:40 2023 +0000

    Fortran: Fix a problem with SELECT TYPE selectors [PR104555].

    2023-10-30  Paul Thomas  <pa...@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.

Reply via email to