This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix Fortran FMT_T handling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]