2014-12-27 Janus Weil <janus@gcc.gnu.org>
commitc801ad729f5cfb065b6cb5c66a81e8f018b6a0b8
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Dec 2014 22:40:21 +0000 (27 22:40 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Dec 2014 22:40:21 +0000 (27 22:40 +0000)
treef236c561664ad5e7b935c8e3abb09856fcc8631d
parent990502b498a42f30afeeaa1b072fcc3efc986f10
2014-12-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54756
* resolve.c (resolve_formal_arglist): Reject polymorphic INTENT(OUT)
arguments of pure procedures.

2014-12-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54756
* gfortran.dg/class_array_3.f03: Fixed invalid test case.
* gfortran.dg/class_array_7.f03: Ditto.
* gfortran.dg/class_dummy_4.f03: Ditto.
* gfortran.dg/defined_assignment_3.f90: Ditto.
* gfortran.dg/defined_assignment_5.f90: Ditto.
* gfortran.dg/elemental_subroutine_10.f90: Ditto.
* gfortran.dg/typebound_operator_4.f03: Ditto.
* gfortran.dg/typebound_proc_16.f03: Ditto.
* gfortran.dg/unlimited_polymorphic_19.f90: Ditto.
* gfortran.dg/class_dummy_5.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219085 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_array_3.f03
gcc/testsuite/gfortran.dg/class_array_7.f03
gcc/testsuite/gfortran.dg/class_dummy_4.f03
gcc/testsuite/gfortran.dg/class_dummy_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/defined_assignment_3.f90
gcc/testsuite/gfortran.dg/defined_assignment_5.f90
gcc/testsuite/gfortran.dg/elemental_subroutine_10.f90
gcc/testsuite/gfortran.dg/typebound_operator_4.f03
gcc/testsuite/gfortran.dg/typebound_proc_16.f03
gcc/testsuite/gfortran.dg/unlimited_polymorphic_19.f90