public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/15115] New: [gfortran] scaling factor on F format not applied
@ 2004-04-24 13:45 bdavis9659 at comcast dot net
  2004-04-24 14:58 ` [Bug libfortran/15115] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-04-24 13:45 UTC (permalink / raw)
  To: gcc-bugs

from NIST test FM405.FOR

$ cat e.f
        CHARACTER B381K(4)*38
        B381K(1) = '   23   23.345     T ENDS             '
        B381K(2) = ' 23.456     F    98 YOURS PROGRAMS    '
        B381K(3) = ' 13.1234  13.1234E0 1312.34           '
        B381K(4) = '   5.2345   56    5.2345 T TRUE 5.2345'
        READ(B381K(3),39036) AVS, BVS, CVS
        PRINT*,'AVS = ',AVS
        PRINT*,'BVS = ',BVS
        PRINT*,'CVS = ',CVS
39036   FORMAT(F9.5, 1X, E9.3, 1X, 2PF7.4)
        END
 
$ gfortran e.f
$ ./a.out
AVS =     13.12340
BVS =     13.12340
CVS =     1312.340
           ^^^
           wrong, should be 13.12340

$ g77 e.f
$ ./a.out
 AVS =   13.1233997
 BVS =   13.1233997
 CVS =   13.1233997

-- 
           Summary: [gfortran] scaling factor on F format not applied
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis9659 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libfortran/15115] [gfortran] scaling factor on F format not applied
  2004-04-24 13:45 [Bug libfortran/15115] New: [gfortran] scaling factor on F format not applied bdavis9659 at comcast dot net
@ 2004-04-24 14:58 ` pinskia at gcc dot gnu dot org
  2004-05-27  7:42 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-24 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-24 13:55 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-24 13:55:09
               date|                            |
   Target Milestone|---                         |tree-ssa


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libfortran/15115] [gfortran] scaling factor on F format not applied
  2004-04-24 13:45 [Bug libfortran/15115] New: [gfortran] scaling factor on F format not applied bdavis9659 at comcast dot net
  2004-04-24 14:58 ` [Bug libfortran/15115] " pinskia at gcc dot gnu dot org
@ 2004-05-27  7:42 ` pinskia at gcc dot gnu dot org
  2004-06-03  1:20 ` bdavis at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-27  7:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libfortran/15115] [gfortran] scaling factor on F format not applied
  2004-04-24 13:45 [Bug libfortran/15115] New: [gfortran] scaling factor on F format not applied bdavis9659 at comcast dot net
  2004-04-24 14:58 ` [Bug libfortran/15115] " pinskia at gcc dot gnu dot org
  2004-05-27  7:42 ` pinskia at gcc dot gnu dot org
@ 2004-06-03  1:20 ` bdavis at gcc dot gnu dot org
  2004-09-07 10:48 ` [Bug libfortran/15115] " pbrook at gcc dot gnu dot org
  2004-09-07 19:29 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-06-03  1:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bdavis at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libfortran/15115] scaling factor on F format not applied
  2004-04-24 13:45 [Bug libfortran/15115] New: [gfortran] scaling factor on F format not applied bdavis9659 at comcast dot net
                   ` (2 preceding siblings ...)
  2004-06-03  1:20 ` bdavis at gcc dot gnu dot org
@ 2004-09-07 10:48 ` pbrook at gcc dot gnu dot org
  2004-09-07 19:29 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-09-07 10:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2004-09-07 10:48 -------
Fixed, most likely by this: 
2004-09-02  Paul Brook  <paul@codesourcery.com> 
 
        * io/format.c (parse_format_list): Set repeat count for P descriptors. 
        * write.c (output_float): Fix condition.  Correctly handle nonzero 
        scale factor. 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libfortran/15115] scaling factor on F format not applied
  2004-04-24 13:45 [Bug libfortran/15115] New: [gfortran] scaling factor on F format not applied bdavis9659 at comcast dot net
                   ` (3 preceding siblings ...)
  2004-09-07 10:48 ` [Bug libfortran/15115] " pbrook at gcc dot gnu dot org
@ 2004-09-07 19:29 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-07 19:29 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-09-07 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-24 13:45 [Bug libfortran/15115] New: [gfortran] scaling factor on F format not applied bdavis9659 at comcast dot net
2004-04-24 14:58 ` [Bug libfortran/15115] " pinskia at gcc dot gnu dot org
2004-05-27  7:42 ` pinskia at gcc dot gnu dot org
2004-06-03  1:20 ` bdavis at gcc dot gnu dot org
2004-09-07 10:48 ` [Bug libfortran/15115] " pbrook at gcc dot gnu dot org
2004-09-07 19:29 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).