re PR fortran/89344 (uncaught programmer error: polymorphic variable is INTENT(IN...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 13 Jun 2019 18:07:53 +0000 (18:07 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 13 Jun 2019 18:07:53 +0000 (18:07 +0000)
commitb9fb83059d73733742f5511f9261111db8eddbfd
tree64d2a813f0ab7c748fdff8d459e839be182f6eff
parent7b6879b2db04384b7228f2aca4533be817b9efbd
re PR fortran/89344 (uncaught programmer error:  polymorphic variable is INTENT(IN) but assigned to without error)

2019-06-13  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/89344
* expr.c (gfc_check_vardef_context): Check for INTENT(IN) variable
in SELECT TYPE construct.

2019-06-13  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/89344
 * gfortran.dg/pr89344.f90: New test.

From-SVN: r272255
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr89344.f90 [new file with mode: 0644]