Problems with STREAM I/0
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Sep 13 02:19:00 GMT 2006
On Tue, Sep 12, 2006 at 07:18:33PM -0700, Jerry DeLisle wrote:
> Steve Kargl wrote:
> >On Tue, Sep 12, 2006 at 05:55:11PM -0700, Jerry DeLisle wrote:
> >>This is definitely a bug. If I comment out one of the writes, the file
> >>length of the file resulting from the remaining write is the correct
> >>length. (Either one, 40 or 400)
> >>
> >>Not good!
> >
> >Do want me to file a PR?
> >
> I will file the PR. Even worse, the dtp pointer being passed to the
> library for both writes is identical. Thats with no optimization.
>
> With -O1 it works fine. Sound familiar?
>
Not on FreeBSD. It fails at all optimization levels. :(
--
Steve
More information about the Fortran
mailing list