]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/primary.c
re PR fortran/43207 ([OOP] invalid (pointer) assignment to and from abstract non...
authorJanus Weil <janus@gcc.gnu.org>
Sat, 3 Dec 2016 18:48:48 +0000 (19:48 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 3 Dec 2016 18:48:48 +0000 (19:48 +0100)
commit4ceda20498ec82d0fd24a2ab1e56c6c1e38b0174
tree82c3f00c21994444b743b447187631ac06291467
parent20fee4a901c0cf097df1f1ba00e226f1eb8e973c
re PR fortran/43207 ([OOP] invalid (pointer) assignment to and from abstract non-polymorphic expressions)

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.

From-SVN: r243224
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/abstract_type_9.f90 [new file with mode: 0644]