re PR fortran/88047 (ICE in gfc_find_vtab, at fortran/class.c:2843)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 8 Jan 2019 19:29:01 +0000 (20:29 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 8 Jan 2019 19:29:01 +0000 (20:29 +0100)
commit903ecc6c2a564e4d3754082e2025e1d80fddf5a4
tree6c542493d79d23d00525cdf2894dbeeee6e35f86
parent6976bc87f162c542c2b92ee222401150af3fcc34
re PR fortran/88047 (ICE in gfc_find_vtab, at fortran/class.c:2843)

2019-01-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/88047
* class.c (gfc_find_vtab): For polymorphic typespecs, the components of
the class container may not be available (in case of invalid code).

2019-01-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/88047
* gfortran.dg/class_69.f90: New test case.

From-SVN: r267735
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_69.f90 [new file with mode: 0644]