https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344
--- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Jun 21 00:24:53 2019 New Revision: 272539 URL: https://gcc.gnu.org/viewcvs?rev=272539&root=gcc&view=rev Log: 2019-06-20 Steven G. Kargl <ka...@gcc.gnu.org> Backport from mainline PR fortran/89344 * expr.c (gfc_check_vardef_context): Check for INTENT(IN) variable in SELECT TYPE construct. 2019-06-20 Steven G. Kargl <ka...@gcc.gnu.org> Backport from mainline PR fortran/89344 * gfortran.dg/pr89344.f90: New test. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr89344.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/expr.c branches/gcc-9-branch/gcc/testsuite/ChangeLog