OSDN Git Service

PR fortran/33269
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Sep 2007 21:15:00 +0000 (21:15 +0000)
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Sep 2007 21:15:00 +0000 (21:15 +0000)
commitbb6696c4b199145879b40b9fd18b0a80dfd750d1
tree6fd80c148ea321cfd2bc3f25ffe2aa5985e2ff64
parent6030acb82ee7967a212d4965db7ca8dcb2d5848e
PR fortran/33269
fortran/
* io.c (check_format_string): Move NULL and constant checks into
this function.
(check_io_constraints): Call gfc_simplify_expr() before calling
check_format_string().  Remove NULL and constant checks.
testsuite/
* gfortran.dg/fmt_error_2.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128732 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_error_2.f90 [new file with mode: 0644]