https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66045
--- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue May 19 17:59:58 2015 New Revision: 223406 URL: https://gcc.gnu.org/viewcvs?rev=223406&root=gcc&view=rev Log: 2015-05-19 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/66045 * expr.c (gfc_check_assign): Check for assignment of NULL() instead of the (intended) pointer assignment. 2015-05-19 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/66045 * gfortran.dg/null1.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/null1.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/expr.c branches/gcc-5-branch/gcc/testsuite/ChangeLog