re PR fortran/20858 (NULL doesn't get its argument type (kind))
authorSteven G. Kargl <kargls@comcast.net>
Fri, 10 Feb 2006 19:01:05 +0000 (19:01 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 10 Feb 2006 19:01:05 +0000 (19:01 +0000)
commitdef661340610359e6eea3cdd4189089b3b9b7acd
tree47904c72572a1f413c0df6b9172a66991423a611
parent6f4d3d86564db6a42ffb8ffa8960cc32129ab581
re PR fortran/20858 (NULL doesn't get its argument type (kind))

2006-02-05  Steven G. Kargl  <kargls@comcast.net>

PR fortran/20858
*decl.c (variable_decl): Improve error message.  Remove initialization
 typespec.  Wrap long line.
*expr.c (gfc_check_pointer_assign): Permit checking of type, kind type,
 and rank.
*simplify.c (gfc_simplify_null): Ensure type, kind type, and rank are set.

gfortran.dg/null_1.f90: New test.

From-SVN: r110845
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/expr.c
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/null_1.f90 [new file with mode: 0644]