[PATCH] PR fortran/91801 -- convert assert to an error
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Oct 5 16:21:00 GMT 2019
Tested on x86_64-*-freebsd. OK to commit?
The error message says it all.
2019-10-05 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91801
* simplify.c (gfc_simplify_reshape): Convert a gcc_assert into a
gfc_error as a user can easily hit the condition.
2019-10-05 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91801
* gfortran.dg/pr91801.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr91801.diff
Type: text/x-diff
Size: 1235 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20191005/b418d381/attachment.bin>
More information about the Fortran
mailing list