* [Bug libfortran/17871] libgfortran, g77: regression, P edit descriptor, funny output
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
@ 2004-10-07 13:07 ` reichelt at gcc dot gnu dot org
2004-10-07 15:41 ` tobi at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-07 13:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-07 13:07 -------
I just checked some more compilers:
MIPSpro Compilers: Version 7.4
f77:
000.0E+00 100.0E-02
f90:
0.000E+00 100.0E-02
Intel, Version 8.1:
0.000E+00 100.0E-02
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, P edit descriptor, funny output
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
2004-10-07 13:07 ` [Bug libfortran/17871] " reichelt at gcc dot gnu dot org
@ 2004-10-07 15:41 ` tobi at gcc dot gnu dot org
2005-01-06 14:41 ` tobi at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-10-07 15:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-10-07 15:41:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, P edit descriptor, funny output
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
2004-10-07 13:07 ` [Bug libfortran/17871] " reichelt at gcc dot gnu dot org
2004-10-07 15:41 ` tobi at gcc dot gnu dot org
@ 2005-01-06 14:41 ` tobi at gcc dot gnu dot org
2005-03-13 19:13 ` tobi at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-01-06 14:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |19292
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, P edit descriptor, funny output
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
` (2 preceding siblings ...)
2005-01-06 14:41 ` tobi at gcc dot gnu dot org
@ 2005-03-13 19:13 ` tobi at gcc dot gnu dot org
2005-03-16 13:24 ` [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent fxcoudert at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-03-13 19:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-03-13 19:13 -------
This bug is still present.
I'm adding FX Coudert to the CC list, because I committed a patch by him which,
IIUC, should have fixed this, as I would have thought that this is a duplicate
of PR20101. Maybe he has some input.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org,
| |coudert at clipper dot ens
| |dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
` (3 preceding siblings ...)
2005-03-13 19:13 ` tobi at gcc dot gnu dot org
@ 2005-03-16 13:24 ` fxcoudert at gcc dot gnu dot org
2005-03-16 13:50 ` anlauf at hep dot tu-darmstadt dot de
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-16 13:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-03-16 13:23 -------
I'm working on this one. I really think PR20480 is a duplicate of this one, by
the way.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
GCC host triplet|i686-pc-linux-gnu |
Last reconfirmed|2005-01-06 01:51:44 |2005-03-16 13:23:58
date| |
Summary|libgfortran, g77: |libgfortran, g77:
|regression, P edit |regression, zero has non-
|descriptor, funny output |zero exponent
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
` (4 preceding siblings ...)
2005-03-16 13:24 ` [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent fxcoudert at gcc dot gnu dot org
@ 2005-03-16 13:50 ` anlauf at hep dot tu-darmstadt dot de
2005-03-16 14:02 ` fxcoudert at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: anlauf at hep dot tu-darmstadt dot de @ 2005-03-16 13:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From anlauf at hep dot tu-darmstadt dot de 2005-03-16 13:50 -------
(In reply to comment #3)
> I really think PR20480 is a duplicate of this one, by
> the way.
In theory: no. AFAIK the ES edit descriptor is not part of
standard F77, and it is not implemented in either f2c or g77.
g77 refuses ES at compile time. IBM's xlf flags it as an extension.
The P edit descriptor was already contained in standard F77.
But in practice you're right. The fixes to PR 20480 and
the present one will be strongly intertwined...
Good luck,
-ha
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
` (5 preceding siblings ...)
2005-03-16 13:50 ` anlauf at hep dot tu-darmstadt dot de
@ 2005-03-16 14:02 ` fxcoudert at gcc dot gnu dot org
2005-03-16 14:31 ` tobi at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-16 14:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-03-16 14:02 -------
Tobias, are you sure this one isn't fixed? The following looks OK to me:
$ cat pr17871.f
write (*,'(3p,2e15.3)') 0.0, 1.0
write (*,'(4p,2e15.3)') 0.0, 1.0
end
$ ~/irun/bin/gfortran -static pr17871.f && ./a.out
000.0E+00 100.0E-02
0000.E+00 1000.E-03
$ ~/irun/bin/gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/tmp/gfortran-20050316/irun
--enable-languages=c,f95
Thread model: posix
gcc version 4.1.0 20050316 (experimental)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
` (6 preceding siblings ...)
2005-03-16 14:02 ` fxcoudert at gcc dot gnu dot org
@ 2005-03-16 14:31 ` tobi at gcc dot gnu dot org
2005-04-20 2:17 ` pinskia at gcc dot gnu dot org
2005-04-20 6:51 ` fxcoudert at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-03-16 14:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-03-16 14:24 -------
Oops, looks like I didn't test with an up-to-date library. Yes, it looks like
this is fixed. On the other hand the testcase in PR 20480 still gives me the
wrong result
0.000E-01
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
` (7 preceding siblings ...)
2005-03-16 14:31 ` tobi at gcc dot gnu dot org
@ 2005-04-20 2:17 ` pinskia at gcc dot gnu dot org
2005-04-20 6:51 ` fxcoudert at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-20 2:17 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libfortran/17871] libgfortran, g77: regression, zero has non-zero exponent
2004-10-06 21:27 [Bug libfortran/17871] New: libgfortran, g77: regression, P edit descriptor, funny output anlauf at hep dot tu-darmstadt dot de
` (8 preceding siblings ...)
2005-04-20 2:17 ` pinskia at gcc dot gnu dot org
@ 2005-04-20 6:51 ` fxcoudert at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-20 6:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-20 06:51 -------
On i386-linux, PR 20480 is fixed (see below). If you can confirm on a fresh
built that it is not, please reopen it and state what your platform is.
$ cat a.f
write (*,10) 0.0
10 format (ES12.3)
end
$ gfortran a.f && ./a.out
0.000E+00
$ gfortran -v
Using built-in specs.
Target: i386-linux
Configured with: ../gcc/configure --prefix=/tmp/gfortran-20050419/irun
--enable-languages=c,f95 --host=i386-linux
Thread model: posix
gcc version 4.1.0 20050419 (experimental)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17871
^ permalink raw reply [flat|nested] 11+ messages in thread