public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16291] New: F2003 formatting of Inf /Nan on irix6.5
@ 2004-06-30  5:52 billingd at gcc dot gnu dot org
  2004-07-07 11:21 ` [Bug fortran/16291] " billingd at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-06-30  5:52 UTC (permalink / raw)
  To: gcc-bugs

Test nan_inf_fmt.f90 fails on irix6.5 with N32 and 64 ABIs.

The failure occurs when writing to a string with a field
width of 3.  With the lines commented out (below) the test
passes and the two write(6,fmt=fmt) lines I inserted produce
"Inf" as desired.  

! check a field width = 3
       print *, 3
       fmt = '(F3.0)'
       write(6,fmt=fmt)pos_inf
!       write(l,fmt=fmt)pos_inf
!       if (l.ne.'Inf') call abort
       write(6,fmt=fmt)neg_inf
!       write(l,fmt=fmt)neg_inf
!       if (l.ne.'Inf') call abort
       write(l,fmt=fmt)nan
       write(l,fmt=fmt)nan
       if (l.ne.'NaN') call abort


Will follow up as time permits.

-- 
           Summary: F2003 formatting of Inf /Nan on irix6.5
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: billingd at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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


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

* [Bug fortran/16291] F2003 formatting of Inf /Nan on irix6.5
  2004-06-30  5:52 [Bug fortran/16291] New: F2003 formatting of Inf /Nan on irix6.5 billingd at gcc dot gnu dot org
@ 2004-07-07 11:21 ` billingd at gcc dot gnu dot org
  2004-07-08  1:33 ` [Bug libfortran/16291] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-07 11:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From billingd at gcc dot gnu dot org  2004-07-07 11:21 -------
Patch http://gcc.gnu.org/ml/fortran/2004-07/msg00039.html
by Andreas Krebbel looks like the same bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krebbel1 at de dot ibm dot
                   |                            |com


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


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

* [Bug libfortran/16291] F2003 formatting of Inf /Nan on irix6.5
  2004-06-30  5:52 [Bug fortran/16291] New: F2003 formatting of Inf /Nan on irix6.5 billingd at gcc dot gnu dot org
  2004-07-07 11:21 ` [Bug fortran/16291] " billingd at gcc dot gnu dot org
@ 2004-07-08  1:33 ` pinskia at gcc dot gnu dot org
  2004-07-08 19:59 ` cvs-commit 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-07-08  1:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-08 01:33 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|fortran                     |libfortran
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-08 01:33:02
               date|                            |


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


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

* [Bug libfortran/16291] F2003 formatting of Inf /Nan on irix6.5
  2004-06-30  5:52 [Bug fortran/16291] New: F2003 formatting of Inf /Nan on irix6.5 billingd at gcc dot gnu dot org
  2004-07-07 11:21 ` [Bug fortran/16291] " billingd at gcc dot gnu dot org
  2004-07-08  1:33 ` [Bug libfortran/16291] " pinskia at gcc dot gnu dot org
@ 2004-07-08 19:59 ` cvs-commit at gcc dot gnu dot org
  2004-07-08 20:31 ` pinskia at gcc dot gnu dot org
  2004-07-10  0:27 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-08 19:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-08 19:59 -------
Subject: Bug 16291

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pbrook@gcc.gnu.org	2004-07-08 19:58:57

Modified files:
	libgfortran    : ChangeLog 
	libgfortran/io : write.c 

Log message:
	PR fortran/16291
	* libgfortran/io/write.c: (write_float): Added length check.
	Remove pointless memset calls.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.48&r2=1.49
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/write.c.diff?cvsroot=gcc&r1=1.7&r2=1.8



-- 


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


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

* [Bug libfortran/16291] F2003 formatting of Inf /Nan on irix6.5
  2004-06-30  5:52 [Bug fortran/16291] New: F2003 formatting of Inf /Nan on irix6.5 billingd at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-08 19:59 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-08 20:31 ` pinskia at gcc dot gnu dot org
  2004-07-10  0:27 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-08 20:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-08 20:31 -------
Fixed.

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


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


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

* [Bug libfortran/16291] F2003 formatting of Inf /Nan on irix6.5
  2004-06-30  5:52 [Bug fortran/16291] New: F2003 formatting of Inf /Nan on irix6.5 billingd at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-08 20:31 ` pinskia at gcc dot gnu dot org
@ 2004-07-10  0:27 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-10  0:27 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

end of thread, other threads:[~2004-07-10  0:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-30  5:52 [Bug fortran/16291] New: F2003 formatting of Inf /Nan on irix6.5 billingd at gcc dot gnu dot org
2004-07-07 11:21 ` [Bug fortran/16291] " billingd at gcc dot gnu dot org
2004-07-08  1:33 ` [Bug libfortran/16291] " pinskia at gcc dot gnu dot org
2004-07-08 19:59 ` cvs-commit at gcc dot gnu dot org
2004-07-08 20:31 ` pinskia at gcc dot gnu dot org
2004-07-10  0:27 ` 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).