]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/54756 ([OOP] [F08] Should reject CLASS, intent(out) in PURE procedures)
authorJanus Weil <janus@gcc.gnu.org>
Sat, 27 Dec 2014 22:40:21 +0000 (23:40 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 27 Dec 2014 22:40:21 +0000 (23:40 +0100)
commitc19a00337aa1cd579cb51ce5aa71a81261b97fe3
treef236c561664ad5e7b935c8e3abb09856fcc8631d
parent2e4aa0a5016c595477c0638765b6ceef8e0fb3c0
re PR fortran/54756 ([OOP] [F08] Should reject CLASS, intent(out) in PURE procedures)

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.

From-SVN: r219085
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
This page took 0.075688 seconds and 5 git commands to generate.