This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: F2003's IOMSG feature and Janne's FLUSH patch
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Date: Sat, 30 Jul 2005 21:36:30 +0100
- Subject: Re: F2003's IOMSG feature and Janne's FLUSH patch
- Organization: CodeSourcery
- References: <20050730194708.GA5624@troutmask.apl.washington.edu>
On Saturday 30 July 2005 20:47, Steve Kargl wrote:
> I've finally found some time to review Janne's implementation
> of the F2003 flush command. In expanding Janne's testcase to
> cover ERR=, I came across IOMSG= in the draft of the F2003 standard.
> gfortran does not support IOMSG. So I have 2 questions.
>
> (1) Should we implement IOMSG before committing Janne's patch?
>
> (2) Can I commit Janne's patch with an appropriate TODO comment?
I don't mind incomplete implementations, provided:
- They as commented as such
- The missing bits can be implemented without having to redo the work of the
original patch.
- We never generate incorrect code because of the missing features. Refusing
to compile anything is better than getting some cases wrong.
My preference would be that the compiler call sorry() or gfc_todo() if it
encounter things that aren't supported.
If that's particularly inconvenient I guess a straight error would be ok.
Paul