re PR fortran/66045 (ICE on incorrect code with null)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 18 May 2015 22:21:08 +0000 (22:21 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 18 May 2015 22:21:08 +0000 (22:21 +0000)
commitbfeeb14516c9ef05958f47a1bad907c1e6d73f5b
tree2c3288212c35e9f12c5eef7eb28f5a94f366f9a4
parentfce523bf9b3c564d41a46a23014538a6534c0917
re PR fortran/66045 (ICE on incorrect code with null)

2015-05-18  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-18  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/66045
* gfortran.dg/null1.f90: New test.

From-SVN: r223322
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/null1.f90 [new file with mode: 0644]