[Bug fortran/43207] [OOP] invalid pointer assignment => type%parent

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 8 09:26:00 GMT 2012


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

--- Comment #11 from janus at gcc dot gnu.org 2012-11-08 09:25:39 UTC ---
(In reply to comment #10)
> Here is a draft patch which rejects comment #1:


This shows one testsuite failure:

FAIL: gfortran.dg/abstract_type_3.f03  -O   (test for errors, line 44)
FAIL: gfortran.dg/abstract_type_3.f03  -O  (test for excess errors)


where it correctly triggers on this line:

    arg = again_abst_t () ! { dg-error "Can't construct ABSTRACT type 'again_ab
        1
Error: Nonpolymorphic reference to abstract type at (1)



More information about the Gcc-bugs mailing list