[gfortran] PATCH: Minor cleanup and unification in I/O resolution

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Thu Sep 20 15:08:00 GMT 2007


In a failed attempt to fix PR 33268 I made some cleanups to io.c which 
I'm  herewith submitting as a patch of its own.  It simplifies 
resolve_dt() by doing three things:
1) the handling of the FORMAT tag is split out into a function of its own,
2) the if nesting is simplified, and
3) the IOLENGTH, SIZE and IOSTAT tags are unified to allow non-default 
integers in F2K mode (previously two of them required default integer 
unless -std=gnu, but F2K is actually more liberal than that).

Built and tested on i686-darwin.  The testsuite changes are due to the 
changes in error output from #3.  Ok?

Cheers,
- Tobi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: resolve_dt_simpl.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070920/77cf91fe/attachment.txt>


More information about the Gcc-patches mailing list