re PR fortran/71894 ([OOP] ICE in gfc_add_component_ref, at fortran/class.c:227)
authorJanus Weil <janus@gcc.gnu.org>
Wed, 9 Nov 2016 09:22:52 +0000 (10:22 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 9 Nov 2016 09:22:52 +0000 (10:22 +0100)
commit5f395580078d31f52b920a46a723da54c080a04e
tree330b6280c13ed8c8598700f1b8fc0611247f2631
parent37b141851078b5119156780c2d897639d483625b
re PR fortran/71894 ([OOP] ICE in gfc_add_component_ref, at fortran/class.c:227)

2016-11-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/71894
* class.c (gfc_add_component_ref): Add safety checks to avoid ICE.

2016-11-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/71894
* gfortran.dg/class_59.f90: New test.

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