re PR fortran/71862 (ICE in gfc_add_component_ref, at fortran/class.c:241)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 26 Jul 2016 22:42:49 +0000 (22:42 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 26 Jul 2016 22:42:49 +0000 (22:42 +0000)
commit9cd74e8fa89a528c779bbc9f31a2b362db9c12ec
tree3652c0abb2804401a42963631a45e70dce5f6d6c
parent0d48446ff30d6e0178f3d40bf1d20ea8ca19bd4c
re PR fortran/71862 (ICE in gfc_add_component_ref, at fortran/class.c:241)

2016-07-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71862
* class.c: Remove assert.  Iterate over component only if non-null.

2016-07-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71862
* gfortran.dg/pr71862.f90: New test.

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