https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
--- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jun 7 18:17:49 2018 New Revision: 261290 URL: https://gcc.gnu.org/viewcvs?rev=261290&root=gcc&view=rev Log: 2018-06-07 Steven G. Kargl <ka...@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 <ka...@gcc.gnu.org> PR fortran/86045 * gfortran.dg/pr86045.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr86045.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/simplify.c branches/gcc-8-branch/gcc/testsuite/ChangeLog