[PATCH] PR fortran/68283 -- remove a rogue gfc_internal_error()
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Nov 11 18:34:00 GMT 2015
This probably falls under the "obviously correct" moniker.
It has been built and tested on i386-*-freebsd. OK to commit?
The patch removes a gfc_internal_error(). I suspect that it
was originally put into gfortran to cover "correctly written
valid Fortran code cannot possibly ever hit this line of
code; so, it must be an internal error to reach this line".
The code in PR 68283 is not valid Fortran. A number of error
messages are spewed by gfortran prior to hitting this line of code.
The patch simply removes the gfc_internal_error(), which allows
gfortran to exit gracefully.
2015-11-11 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68283
* primary.c (gfc_variable_attr): Remove a gfc_internal_error().
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr68283.diff
Type: text/x-diff
Size: 414 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20151111/00f96600/attachment.bin>
More information about the Fortran
mailing list