[PATCH] fortran/66045 -- NULL() on RHS of assignment
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri May 15 15:18:00 GMT 2015
Regression tested on trunk. OK to commit?
The patch is self-explanatory.
Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66045
* expr.c (gfc_check_assign): Check for assignment of NULL() instead
of the (intended) pointer assignment.
2015-05-XX Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66045
* gfortran.dg/null1.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr66045.diff
Type: text/x-diff
Size: 1805 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150515/aea07e24/attachment.bin>
More information about the Fortran
mailing list