http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47694

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
      Known to work|                            |4.1.2
   Target Milestone|---                         |4.6.0
            Summary|Fortran read from named     |[4.3/4.4/4.5/4.6
                   |pipe fails to read all      |Regression] Fortran read
                   |available data              |from named pipe fails to
                   |                            |read all available data
      Known to fail|                            |4.3.4, 4.4.0, 4.5.1, 4.6.0

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-11 
21:36:39 UTC ---
Set as regression as it works with GCC 4.1 but fails with GCC 4.3 to 4.6.

 * * *

(In reply to comment #3)
>    GFORTRAN_UNBUFFERED_ALL=1 ./a.out
> does not help (result unchanged).

Actually, it is not too surprising that the result does not change as
libgfortran/io/unix.c has:

  if (!(S_ISREG (statbuf.st_mode) || S_ISBLK (statbuf.st_mode))
      || options.all_unbuffered
[...]
    raw_init (s);
  else
    buf_init (s);

Thus, there should be no buffering.

Reply via email to