This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix Fortran FMT_T handling
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sat, 03 Sep 2005 15:27:42 +0200
- Subject: Re: [PATCH] Fix Fortran FMT_T handling
- References: <20050902174447.GR7403@devserv.devel.redhat.com>
Jakub Jelinek wrote:
> 2005-09-02 Jakub Jelinek <jakub@redhat.com>
>
> * io/read.c (read_x): Take int argument instead of fnode * and
> digging the N from F->u.n.
> * io/io.h (read_x): Adjust prototype.
> * io/transfer.c (formatted_transfer): Adjust callers. Don't clobber
> f->u.n for FMT_T.
>
> * gfortran.dg/fmt_t_1.f90: New test.
This is ok, but please change the testcase to open the file with
STATUS='SCRATCH' (you'll then hve to REWIND the unit instead of closing and
reopening). This way running the testsuite will not leave random files lying
around.
Thanks,
- Tobi