OSDN Git Service

PR libfortran/20660
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Mar 2005 15:30:06 +0000 (15:30 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Mar 2005 15:30:06 +0000 (15:30 +0000)
commit78e910ee71ff7a4087e965dce6fc840f56683d04
treef9c088e9e155088b3460b11a74badd8a49363196
parentd6702b2603baffdc18fa4db8192d63d3d97fe471
PR libfortran/20660
    * io/inquire.c (inquire_via_unit): Non-opened units should still be
    reported by an INQUIRE statement as existing.
    * io/transfer.c (data_transfer_init): Never accept negative units.

    PR libfortran/20660
    * gfortran.dg/negative_unit.f: New test.

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