This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/43207] [OOP] invalid (pointer) assignment to and from abstract non-polymorphic expressions


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

--- Comment #13 from janus at gcc dot gnu.org ---
Author: janus
Date: Sat Dec  3 18:48:48 2016
New Revision: 243224

URL: https://gcc.gnu.org/viewcvs?rev=243224&root=gcc&view=rev
Log:
2016-12-03  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/43207
        * primary.c (gfc_match_varspec): Reject nonpolymorphic references to
        abstract types.

2016-12-03  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/43207
        * gfortran.dg/abstract_type_9.f90: New test case.

Added:
    trunk/gcc/testsuite/gfortran.dg/abstract_type_9.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/primary.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]