[Bug fortran/54756] [OOP] [F08] Should reject CLASS, intent(out) in PURE procedures

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 6 21:20:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54756

--- Comment #5 from janus at gcc dot gnu.org 2012-11-06 21:19:54 UTC ---
(In reply to comment #4)
> Draft patch:

In fact this causes a number of testsuite failures:

FAIL: gfortran.dg/class_array_3.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/class_array_7.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/class_dummy_4.f03  -O  (test for excess errors)
FAIL: gfortran.dg/typebound_operator_4.f03  -O  (test for excess errors)
FAIL: gfortran.dg/typebound_proc_16.f03  -O  (test for excess errors)

I think that all of the errors are correct (meaning the test cases are
invalid).



More information about the Gcc-bugs mailing list