re PR fortran/77942 (ICE: Floating point exception, in gfc_simplify_cshift, at fortra...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 11 Oct 2016 21:03:04 +0000 (21:03 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 11 Oct 2016 21:03:04 +0000 (21:03 +0000)
commitf6cf4810e942f05e2cc3afe2513001af53ffa1dd
tree6ea20aad1f7cf78aa7e2c1f8536b15e4f80c515c
parent2560723055a6b607259d6de8e789c73fe7c37c80
re PR fortran/77942 (ICE: Floating point exception, in gfc_simplify_cshift, at fortran/simplify.c:1845)

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

PR fortran/77942
* simplify.c (gfc_simplify_cshift): Check for zero.

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

PR fortran/77942
* gfortran.dg/pr77942.f90

From-SVN: r241008
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr77942.f90 [new file with mode: 0644]