public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test
@ 2008-03-22 18:02 danglin at gcc dot gnu dot org
2008-03-22 18:19 ` [Bug fortran/35667] " danglin at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-03-22 18:02 UTC (permalink / raw)
To: gcc-bugs
Executing on host: /xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/xxx/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/nan_3.f90 -O0 -fno-range-check
-L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs
-L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs
-L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libiberty -lm -o ./
nan_3.exe (timeout = 600)
PASS: gfortran.dg/nan_3.f90 -O0 (test for excess errors)Setting
LD_LIBRARY_PATH to
.:/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs:/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs:/xxx/gnu/gcc/objdir/gcc:.:/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs:/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs:/xxx/gnu/gcc/objdir/g
cc
FAIL: gfortran.dg/nan_3.f90 -O0 execution test
--
Summary: FAIL: gfortran.dg/nan_3.f90 execution test
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa1.1-hp-hpux10.20
GCC host triplet: hppa1.1-hp-hpux10.20
GCC target triplet: hppa1.1-hp-hpux10.20
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35667
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/35667] FAIL: gfortran.dg/nan_3.f90 execution test
2008-03-22 18:02 [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test danglin at gcc dot gnu dot org
@ 2008-03-22 18:19 ` danglin at gcc dot gnu dot org
2008-03-22 20:13 ` danglin at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-03-22 18:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from danglin at gcc dot gnu dot org 2008-03-22 18:19 -------
Breakpoint 5, MAIN__ ()
at /xxx/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/nan_3.f90:17
17 if (.not.isnan(r)) call abort()
(gdb) p r
$1 = 0
(gdb) ptype r
type = real(kind=4)
(gdb) p/f r
$2 = 0
(gdb) step
_gfortran_abort () at ../../../gcc/libgfortran/intrinsics/abort.c:38
38 close_units ();
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35667
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/35667] FAIL: gfortran.dg/nan_3.f90 execution test
2008-03-22 18:02 [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test danglin at gcc dot gnu dot org
2008-03-22 18:19 ` [Bug fortran/35667] " danglin at gcc dot gnu dot org
@ 2008-03-22 20:13 ` danglin at gcc dot gnu dot org
2008-03-22 22:35 ` jvdelisle at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-03-22 20:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from danglin at gcc dot gnu dot org 2008-03-22 20:12 -------
The problem is the use of strtod in convert_real. Unfortunately, strtod
does not return correct values for nan, inf and infinity on hpux10. This
was fixed in hpux11.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35667
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/35667] FAIL: gfortran.dg/nan_3.f90 execution test
2008-03-22 18:02 [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test danglin at gcc dot gnu dot org
2008-03-22 18:19 ` [Bug fortran/35667] " danglin at gcc dot gnu dot org
2008-03-22 20:13 ` danglin at gcc dot gnu dot org
@ 2008-03-22 22:35 ` jvdelisle 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
4 siblings, 0 replies; 9+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-03-22 22:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-03-22 22:35 -------
*** Bug 35666 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35667
^ permalink raw reply [flat|nested] 9+ 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
` (2 preceding siblings ...)
2008-03-22 22:35 ` jvdelisle 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
4 siblings, 0 replies; 9+ 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] 9+ 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
` (3 preceding siblings ...)
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
4 siblings, 0 replies; 9+ 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] 9+ 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 ` 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; 9+ 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] 9+ 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 ` 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; 9+ 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] 9+ 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 ` 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; 9+ 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] 9+ messages in thread
end of thread, other threads:[~2013-12-09 20:40 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-22 18:02 [Bug fortran/35667] New: FAIL: gfortran.dg/nan_3.f90 execution test danglin at gcc dot gnu dot org
2008-03-22 18:19 ` [Bug fortran/35667] " danglin at gcc dot gnu dot org
2008-03-22 20:13 ` danglin at gcc dot gnu dot org
2008-03-22 22:35 ` jvdelisle 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
[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
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).