[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-07 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-06-08 00:30 --- Fixed on trunk. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added St

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-07 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-06-08 00:09 --- Subject: Bug 36421 Author: jvdelisle Date: Sun Jun 8 00:09:01 2008 New Revision: 136547 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136547 Log: 2008-06-07 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-07 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-06-08 00:00 --- Subject: Bug 36421 Author: jvdelisle Date: Sat Jun 7 23:59:53 2008 New Revision: 136545 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136545 Log: 2008-06-07 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-06-05 05:42 --- Patch in comment #5 is not right either. There is a dependency on pr36420 which requires m to be set to -1, not zero. Stay tuned. -- jvdelisle at gcc dot gnu dot org changed: What|Removed

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-06-05 01:19 --- The patch in comment#1 fails, printing nothing for a value of zero. This patch works OK: Index: write.c === --- write.c (revision 136387) +++ w

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-06-03 18:33 --- Thanks Tobias, that example threw me off course. Thats why I thought I had to go read the standard again, because i had never seen an A0 before. :) I will go ahead and fix this one while I am at it unless you a

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-02 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-06-03 05:28 --- > The standard says to ignore the w.d in the G descriptor No, it only says to ignore the ".d" part. Gw.d is equivalent to Iw (and not to Iw.d). > Also you example uses a0 which is also rejected. a0 is invalid as Aw

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-06-03 02:16 --- Tobias, I think it needs to go farther down to just before here: /* Select a width if none was specified. The idea here is to always print something. */ The standard says to ignore the w.d in the G desc

[Bug fortran/36421] Gw.d edit descriptor for integer numbers: Wrong output

2008-06-02 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-06-02 14:43 --- Jerry, is this patch inserted at the right place or is there a better place? Where do you think one should modify in order to get g0 working (PR36420 / F2008)? Index: libgfortran/io/write.c ==