re PR fortran/78500 (ICE in gfc_check_vardef_context, at fortran/expr.c:5289)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 24 Nov 2016 18:27:58 +0000 (18:27 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 24 Nov 2016 18:27:58 +0000 (18:27 +0000)
commitfba5a793b30b22de6ac5ad185b99b45b835227fd
tree22bb3c1416369168cbf9ac5707841d5e6e9e4475
parent11e554b3b5528e98f2576a06e8ad4d51fbed0d56
re PR fortran/78500 (ICE in gfc_check_vardef_context, at fortran/expr.c:5289)

2016-11-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78500
* expr.c (gfc_check_vardef_contextm): Fix NULL pointer dereference.
* interface.c (matching_typebound_op): Ditto.

2016-11-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78500
* gfortran.dg/class_result_4.f90: New test.

From-SVN: r242846
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_result_4.f90 [new file with mode: 0644]