[Committed] PR fortran/91727 -- NULL pointer dereference
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Sep 15 17:51:00 GMT 2019
Committed as obvious.
The patch checks for a NULL pointer dereference. In this
case, it pointers to an error in the Fortran code, and so
gfortran now issues an informative error message.
2019-09-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91727
* resolve.c (conformable_arrays): If array-spec is NULL, then
allocate-object is a scalar. a conformability check only occurs
for an array source-expr.
2019-09-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91727
* gfortran.dg/pr91727.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr91727.diff
Type: text/x-diff
Size: 1048 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190915/f1225bc0/attachment.bin>
More information about the Fortran
mailing list