re PR fortran/77694 (ICE in optimize_binop_array_assignment, at fortran/frontend...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 25 Sep 2016 17:30:27 +0000 (17:30 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 25 Sep 2016 17:30:27 +0000 (17:30 +0000)
commitf1c7e7f10fe8b4ad6dbfb2a93c850d52693a6331
treeb1221852fb597b28c21431c40c05925dd6e11aae
parent5335c35f01a196b750ae0a59eb3c1527c6ecf654
re PR fortran/77694 (ICE in optimize_binop_array_assignment, at fortran/frontend-passes.c:1080)

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

PR fortran/77694
* frontend-passes.c (optimize_binop_array_assignment): Check pointer
for NULL.

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

PR fortran/77694
* gfortran.dg/pr77694.f90: New test.

From-SVN: r240476
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr77694.f90 [new file with mode: 0644]