re PR fortran/86045 (ICE in reduce_binary_ac, at fortran/arith.c:1308)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 7 Jun 2018 17:53:11 +0000 (17:53 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 7 Jun 2018 17:53:11 +0000 (17:53 +0000)
commit75d1c00452b12b51121236930d09578bc01f6306
treec7a6b3ac8b0c3d8751154c4f3dc3a82f6ba9f167
parentdc23fb4d72eed9ea09fbf4704b26e0e36414a57a
re PR fortran/86045 (ICE in reduce_binary_ac, at fortran/arith.c:1308)

2018-06-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/86045
* simplify.c (gfc_simplify_mod): Re-arrange code to test whether
'P' is zero and issue an error if it is.

2018-06-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/86045
* gfortran.dg/pr86045.f90: New test.

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