[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-05-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #17 from jvdelisle at gcc dot gnu dot org 2008-05-16 03:12 --- The test case needs { target fd_truncate } I will fix it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34974

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-05-15 Thread jb at gcc dot gnu dot org
--- Comment #16 from jb at gcc dot gnu dot org 2008-05-15 18:35 --- Closing as fixed, see commit msg above. -- jb at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-05-15 Thread jb at gcc dot gnu dot org
--- Comment #15 from jb at gcc dot gnu dot org 2008-05-15 18:33 --- Subject: Bug 34974 Author: jb Date: Thu May 15 18:30:29 2008 New Revision: 135388 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135388 Log: Remove XFAIL from gfortran.dg/fmt_t_7.f 2008-05-15 Janne Blomqvist

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-05-06 Thread jvdelisle at gcc dot gnu dot org
--- Comment #14 from jvdelisle at gcc dot gnu dot org 2008-05-07 02:29 --- Subject: Bug 34974 Author: jvdelisle Date: Wed May 7 02:28:45 2008 New Revision: 135017 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135017 Log: 2008-05-06 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-05-05 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2008-05-06 04:35 --- Janne, see discussion in comment #6 -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-05-05 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2008-05-06 04:01 --- Reverted patch which caused pr36131. Reopening this one. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-02-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:44 --- Fixed on trunk, Committed as obvious. Original test case now gives: $ od -a test.dat 000 a sp sp sp sp sp sp sp sp sp sp sp sp sp sp sp 020 sp sp sp sp sp sp sp sp sp sp sp

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-02-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:34 --- Subject: Bug 34974 Author: jvdelisle Date: Thu Feb 21 02:33:17 2008 New Revision: 132513 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132513 Log: 2008-02-20 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-02-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:27 --- Subject: Bug 34974 Author: jvdelisle Date: Thu Feb 21 02:27:07 2008 New Revision: 132512 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132512 Log: 2008-02-20 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-02-14 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-02-15 04:18 --- Created an attachment (id=15154) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15154&action=view) Revised patch This patch regression tests OK. Same issues with stdio. Will commit for 4.4. -- jvdelisl

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-02-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-02-14 06:07 --- Patch in comment #6 has a regression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34974

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-02-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-02-14 06:00 --- Created an attachment (id=15147) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15147&action=view) Tentative patch This patch fixes the test case when writing to an actual file, but not to stdio. Stdout is

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-02-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-02-13 05:48 --- Thomas, I am going to work on this a bit. Let me know if you have already done so. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-01-26 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-01-26 19:43 --- This one is tricky. The problem occurs because of buffering. When tabbing to 8193 in Jerry's example, we come to the end of the buffer and flush it. When the record is longer than the buffer length, we'll need to

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-01-26 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-01-26 16:23 --- Confirming -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Status|

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-01-26 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-01-26 16:22 --- The problem first occurs at the 8192 boundary at which point we do not write "b" program main write (10,'(t8193,a,t1,a)') 'b', 'a' end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3497

[Bug libfortran/34974] null bytes when reverse-tabbing long records (regression vs. g77)

2008-01-25 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2008-01-25 19:35 --- Actually, it's "null bytes" :-) This is related to PR 34887. The problem here is that we tab further than our buffer size, so we write out garbage. Ceterum censeo stream I/O esse delendam :-) -- tkoenig at gcc