This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: F2003's IOMSG feature and Janne's FLUSH patch


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


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