[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 23 17:15:00 GMT 2008



------- Comment #13 from jvdelisle at gcc dot gnu dot org  2008-03-23 17:15 -------
Fixed on trunk.  No need to back port. The struncate in question is not in 4.3

For the record.  The code before the patch was fine except it called struncate
more often then needed.  On most systems, this was not noticeable.  However, on
FreeBSD, the ftruncate is performed sychronously and there for took too long to
do for the streamio_4.90 test case.  The patch avoids the issue by only calling
struncate when necessary.  Overall performance is improved.


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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



More information about the Gcc-bugs mailing list