public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/35667] HP-UX 10 has broken strtod
       [not found] <bug-35667-4@http.gcc.gnu.org/bugzilla/>
@ 2011-03-19 18:34 ` danglin at gcc dot gnu.org
  2013-12-09 10:01 ` fxcoudert at gcc dot gnu.org
  2013-12-09 20:40 ` dave.anglin at bell dot net
  2 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-03-19 18:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> 2011-03-19 17:25:21 UTC ---
Author: danglin
Date: Sat Mar 19 17:25:18 2011
New Revision: 171182

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171182
Log:
    PR fortran/35667
    * io/io.h (convert_infnan): Declare.
    * io/read.c (convert_infnan): New.
    (read_f): Use convert_infnan to convert INFs and NANs.
    * list_read.c (parse_real, read_real): Likewise.


Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/io.h
    trunk/libgfortran/io/list_read.c
    trunk/libgfortran/io/read.c


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

* [Bug libfortran/35667] HP-UX 10 has broken strtod
       [not found] <bug-35667-4@http.gcc.gnu.org/bugzilla/>
  2011-03-19 18:34 ` [Bug libfortran/35667] HP-UX 10 has broken strtod danglin at gcc dot gnu.org
@ 2013-12-09 10:01 ` fxcoudert at gcc dot gnu.org
  2013-12-09 20:40 ` dave.anglin at bell dot net
  2 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2013-12-09 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
      Known to fail|                            |

--- Comment #8 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Was that fixed with John's commit?


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

* [Bug libfortran/35667] HP-UX 10 has broken strtod
       [not found] <bug-35667-4@http.gcc.gnu.org/bugzilla/>
  2011-03-19 18:34 ` [Bug libfortran/35667] HP-UX 10 has broken strtod danglin at gcc dot gnu.org
  2013-12-09 10:01 ` fxcoudert at gcc dot gnu.org
@ 2013-12-09 20:40 ` dave.anglin at bell dot net
  2 siblings, 0 replies; 5+ messages in thread
From: dave.anglin at bell dot net @ 2013-12-09 20:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from dave.anglin at bell dot net ---
On 12/9/2013 5:01 AM, fxcoudert at gcc dot gnu.org wrote:
> Was that fixed with John's commit?
I think so.  I believe this was left open because the patch wasn't
back ported.

I could confirm but that would take awhile.

Dave


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

* [Bug libfortran/35667] HP-UX 10 has broken strtod
  2008-03-22 18:02 [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test danglin at gcc dot gnu dot org
  2009-03-28  8:55 ` [Bug libfortran/35667] HP-UX 10 has broken strtod fxcoudert at gcc dot gnu dot org
@ 2009-03-28 18:57 ` dave at hiauly1 dot hia dot nrc dot ca
  1 sibling, 0 replies; 5+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-03-28 18:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2009-03-28 18:57 -------
Subject: Re:  HP-UX 10 has broken strtod

On Sat, 28 Mar 2009, fxcoudert at gcc dot gnu dot org wrote:

> 
> 
> ------- Comment #4 from fxcoudert at gcc dot gnu dot org  2009-03-28 08:55 -------
> The solution to this issue would be to detect a broken strtod() (or strtof() or
> strtold()) in libgfortran configury, and write a wrapper checking for
> infinities and nans before calling the system's strtod().

Just for the record, I've attached my last version of a change to do this.
There was some discussion of this in the following thread:
http://gcc.gnu.org/ml/fortran/2008-04/msg00000.html

I ran out of time to work on it when the new register allocator was added
and the hppa port broke.

Dave


------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca  2009-03-28 18:57 -------
Created an attachment (id=17556)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17556&action=view)


-- 


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


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

* [Bug libfortran/35667] HP-UX 10 has broken strtod
  2008-03-22 18:02 [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test danglin at gcc dot gnu dot org
@ 2009-03-28  8:55 ` fxcoudert at gcc dot gnu dot org
  2009-03-28 18:57 ` dave at hiauly1 dot hia dot nrc dot ca
  1 sibling, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-28  8:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2009-03-28 08:55 -------
The solution to this issue would be to detect a broken strtod() (or strtof() or
strtold()) in libgfortran configury, and write a wrapper checking for
infinities and nans before calling the system's strtod().

Very low priority issue because HP-UX 10 is probably not that common any more
(HP-UX 11 was released 12 years ago), unless some other target is affected.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
          Component|fortran                     |libfortran
     Ever Confirmed|0                           |1
      Known to fail|                            |4.3.0 4.4.0 4.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2009-03-28 08:55:37
               date|                            |
            Summary|FAIL: gfortran.dg/nan_3.f90 |HP-UX 10 has broken strtod
                   |execution test              |


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


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

end of thread, other threads:[~2013-12-09 20:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-35667-4@http.gcc.gnu.org/bugzilla/>
2011-03-19 18:34 ` [Bug libfortran/35667] HP-UX 10 has broken strtod danglin at gcc dot gnu.org
2013-12-09 10:01 ` fxcoudert at gcc dot gnu.org
2013-12-09 20:40 ` dave.anglin at bell dot net
2008-03-22 18:02 [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test danglin at gcc dot gnu dot org
2009-03-28  8:55 ` [Bug libfortran/35667] HP-UX 10 has broken strtod fxcoudert at gcc dot gnu dot org
2009-03-28 18:57 ` dave at hiauly1 dot hia dot nrc dot ca

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).