re PR fortran/50404 (SIGSEGV in gfc_resolve_close)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Tue, 8 Nov 2011 23:54:43 +0000 (23:54 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Tue, 8 Nov 2011 23:54:43 +0000 (23:54 +0000)
commitb35f6a97ab0d40701c3545d99f45b614ce9b5553
tree9a459cdd1fb882574e76a36ea3d2454777d3bedd
parent4408b0865b29a502144810a61296e7711e042aa5
re PR fortran/50404 (SIGSEGV in gfc_resolve_close)

PR fortran/50404
* io.c (gfc_resolve_close): CLOSE requires a UNIT.
* gfortran.dg/io_constraints_3.f90: Improve testcase.

From-SVN: r181183
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/io_constraints_3.f90