[Committed] PR fortran/85407 -- convert assert to fatal error
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Dec 26 21:14:00 GMT 2018
Back in April, I told Harald I would get around to committing
the attached patch. Well, "around" has arrived. The patch
has been tested on i586-*-freebsd and x86_64-*-freebsd.
The patch converts an assert into a gfc_fatal_error(), which
gives a user some information about the failure. There is
no testcase as one need to go out of one's way to corrupt
the components in a derived typed in a *.mod file.
2018-12-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/85407
* module.c (read_module): Convert assert to fatal error to give
user a sensible error message.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr85407.diff
Type: text/x-diff
Size: 706 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181226/a305126b/attachment.bin>
More information about the Fortran
mailing list