public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34319]  New: I/O: Support "NaN", "Infinity" and "INF" as input
@ 2007-12-02 23:24 burnus at gcc dot gnu dot org
  2007-12-08 15:52 ` [Bug fortran/34319] " burnus at gcc dot gnu dot org
  2007-12-08 15:52 ` burnus at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-12-02 23:24 UTC (permalink / raw)
  To: gcc-bugs

Split off of PR 34230.

With Fortran 2003 supporting IEEE, gfortran should also support (case
insensitve) the followinging strings: "+NaN"/"-NAN"/"NAN",
["+"/"-"]"Infinity"/"INF".

NAG f95, g95, ifort and sunf95 support it. (And reject, e.g., "Infi".)

While openf95, gfortran and g77 reject it.


-- 
           Summary: I/O: Support "NaN", "Infinity" and "INF" as input
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

* [Bug fortran/34319] I/O: Support "NaN", "Infinity" and "INF" as input
  2007-12-02 23:24 [Bug fortran/34319] New: I/O: Support "NaN", "Infinity" and "INF" as input burnus at gcc dot gnu dot org
@ 2007-12-08 15:52 ` burnus at gcc dot gnu dot org
  2007-12-08 15:52 ` burnus at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-12-08 15:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2007-12-08 15:52 -------
FIXED on the trunk (4.3.0).


-- 

burnus at gcc dot gnu dot org changed:

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


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


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

* [Bug fortran/34319] I/O: Support "NaN", "Infinity" and "INF" as input
  2007-12-02 23:24 [Bug fortran/34319] New: I/O: Support "NaN", "Infinity" and "INF" as input burnus at gcc dot gnu dot org
  2007-12-08 15:52 ` [Bug fortran/34319] " burnus at gcc dot gnu dot org
@ 2007-12-08 15:52 ` burnus at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-12-08 15:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2007-12-08 15:52 -------
Subject: Bug 34319

Author: burnus
Date: Sat Dec  8 15:51:52 2007
New Revision: 130708

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130708
Log:
2007-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34319
        * io/list_read.c (parse_real, read_real): Support NaN/Infinity.

2007-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34319
        * gfortran.dg/nan_3.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/nan_3.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/list_read.c


-- 


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


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

end of thread, other threads:[~2007-12-08 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-02 23:24 [Bug fortran/34319] New: I/O: Support "NaN", "Infinity" and "INF" as input burnus at gcc dot gnu dot org
2007-12-08 15:52 ` [Bug fortran/34319] " burnus at gcc dot gnu dot org
2007-12-08 15:52 ` burnus 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).