------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-02-16 03:36 ------- Here is one of them:
@@ -2007,6 +2012,8 @@ data_transfer_init (st_parameter_dt *dtp
dtp->u.p.current_unit->strm_pos = dtp->rec;
}
+ else
+ dtp->rec = 0;
/* Overwriting an existing sequential file ?
it is always safe to truncate the file on the first write */
Regression tested OK
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34954
