diff options
author | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2006-10-13 08:18:50 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2006-10-13 08:18:50 +0000 |
commit | 16dbbd9957c126f9d3b8014ac8f9d414163c03c7 (patch) | |
tree | 3cdf2a3d259e896bbc296aeda2f6c06d3fcb1499 /gcc/tree.c | |
parent | 1a4259dca6f29ce22b34d346322529aa206eeac0 (diff) | |
download | gcc-16dbbd9957c126f9d3b8014ac8f9d414163c03c7.zip gcc-16dbbd9957c126f9d3b8014ac8f9d414163c03c7.tar.gz gcc-16dbbd9957c126f9d3b8014ac8f9d414163c03c7.tar.bz2 |
re PR fortran/21435 (fails to open nonexisting file with status scratch)
PR fortran/21435
* io.c (compare_to_allowed_values): New function.
(gfc_match_open): Add checks for constant values of specifiers.
(gfc_match_close): Add checks for constant values of the STATUS
specifier.
* gcc/testsuite/gfortran.dg/io_constraints_3.f90: New test.
* gcc/testsuite/gfortran.dg/open_access_append_1.f90: Add checks
for compile-time warnings.
* gcc/testsuite/gfortran.dg/pr20163-2.f: Likewise.
* gcc/testsuite/gfortran.dg/iostat_2.f90: Likewise.
* gcc/testsuite/gfortran.dg/label_4.f90: Delete the temporary
file.
* gcc/testsuite/gfortran.dg/direct_io_2.f90: Add a FILE=
specifier.
* gcc/testsuite/gfortran.dg/iomsg_1.f90: Add check for
compile-time warning.
From-SVN: r117685
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions