public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
       [not found] <bug-19155-4@http.gcc.gnu.org/bugzilla/>
@ 2011-05-28  8:41 ` jb at gcc dot gnu.org
  2011-05-29  9:03 ` jb at gcc dot gnu.org
  2011-05-29  9:35 ` jb at gcc dot gnu.org
  2 siblings, 0 replies; 11+ messages in thread
From: jb at gcc dot gnu.org @ 2011-05-28  8:41 UTC (permalink / raw)
  To: gcc-bugs

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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                URL|http://gcc.gnu.org/ml/fortr |http://gcc.gnu.org/ml/gcc-p
                   |an/2005-06/msg00318.html    |atches/2011-05/msg02224.htm
                   |                            |l
                 CC|                            |jb at gcc dot gnu.org
         Resolution|FIXED                       |
         AssignedTo|fxcoudert at gcc dot        |jb at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #27 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-05-28 08:22:14 UTC ---
Reopening, since the EINVAL thing is causing problems on HP-UX 11.31. Assigning
to myself, patch at http://gcc.gnu.org/ml/gcc-patches/2011-05/msg02224.html


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
       [not found] <bug-19155-4@http.gcc.gnu.org/bugzilla/>
  2011-05-28  8:41 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) jb at gcc dot gnu.org
@ 2011-05-29  9:03 ` jb at gcc dot gnu.org
  2011-05-29  9:35 ` jb at gcc dot gnu.org
  2 siblings, 0 replies; 11+ messages in thread
From: jb at gcc dot gnu.org @ 2011-05-29  9:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #28 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-05-29 08:59:47 UTC ---
Author: jb
Date: Sun May 29 08:59:44 2011
New Revision: 174393

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174393
Log:
PR 19155 Check for strtod failure via endptr

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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
       [not found] <bug-19155-4@http.gcc.gnu.org/bugzilla/>
  2011-05-28  8:41 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) jb at gcc dot gnu.org
  2011-05-29  9:03 ` jb at gcc dot gnu.org
@ 2011-05-29  9:35 ` jb at gcc dot gnu.org
  2 siblings, 0 replies; 11+ messages in thread
From: jb at gcc dot gnu.org @ 2011-05-29  9:35 UTC (permalink / raw)
  To: gcc-bugs

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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

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

--- Comment #29 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-05-29 09:00:37 UTC ---
Closing, fixed.


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
                   ` (6 preceding siblings ...)
  2005-06-17 16:24 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-17 16:25 ` fxcoudert at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-17 16:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-17 16:24 -------
Closed.

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


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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
                   ` (5 preceding siblings ...)
  2005-06-17 16:21 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-17 16:24 ` cvs-commit at gcc dot gnu dot org
  2005-06-17 16:25 ` fxcoudert at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-17 16:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-17 16:24 -------
Subject: Bug 19155

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	fxcoudert@gcc.gnu.org	2005-06-17 16:23:42

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

Log message:
	PR libfortran/19155
	* io/read.c (convert_real): strtod can set errno to EINVAL on an
	empty string, but we shouldn't have an error in that case.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.163.2.54&r2=1.163.2.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/read.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.8.10.2&r2=1.8.10.3



-- 


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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
                   ` (4 preceding siblings ...)
  2005-06-17 15:40 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-17 16:21 ` cvs-commit at gcc dot gnu dot org
  2005-06-17 16:24 ` cvs-commit at gcc dot gnu dot org
  2005-06-17 16:25 ` fxcoudert at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-17 16:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-17 16:20 -------
Subject: Bug 19155

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fxcoudert@gcc.gnu.org	2005-06-17 16:20:30

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

Log message:
	PR libfortran/19155
	* io/read.c (convert_real): strtod can set errno to EINVAL on an
	empty string, but we shouldn't have an error in that case.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.245&r2=1.246
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/read.c.diff?cvsroot=gcc&r1=1.10&r2=1.11



-- 


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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
                   ` (3 preceding siblings ...)
  2005-06-17 15:16 ` dje at gcc dot gnu dot org
@ 2005-06-17 15:40 ` fxcoudert at gcc dot gnu dot org
  2005-06-17 16:21 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-17 15:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-17 15:40 -------
Keeping the patch keyword and changing the patch URL, here is the fix for that
new bug: http://gcc.gnu.org/ml/fortran/2005-06/msg00240.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/fortra|http://gcc.gnu.org/ml/fortra
                   |n/2005-06/msg00240.html     |n/2005-06/msg00318.html


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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
                   ` (2 preceding siblings ...)
  2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-17 15:16 ` dje at gcc dot gnu dot org
  2005-06-17 15:40 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-06-17 15:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dje at gcc dot gnu dot org  2005-06-17 15:15 -------
pr19155.f produces the following error output:

At line 13 of file pr19155.f
Fortran runtime error: Range error during floating point read

AIX strtod ("", NULL) sets errno to EINVAL, as allowed by the standard ("may 
be set"); Linux and *BSD do not.  libgfortran does not expect errno to be set.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2005-06-12 09:21:43         |2005-06-17 15:15:58
               date|                            |


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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
  2005-06-12 20:05 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) fxcoudert at gcc dot gnu dot org
  2005-06-16 22:39 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
  2005-06-17 15:16 ` dje at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-16 23:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-16 23:03 -------
Added dje@gcc.gnu.org in Cc list and marked as waiting for feedback.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org
             Status|ASSIGNED                    |WAITING


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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
  2005-06-12 20:05 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) fxcoudert at gcc dot gnu dot org
@ 2005-06-16 22:39 ` cvs-commit at gcc dot gnu dot org
  2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-16 22:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-16 22:39 -------
Subject: Bug 19155

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	fxcoudert@gcc.gnu.org	2005-06-16 22:39:10

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gfortran.dg: pr19155.f 
	libgfortran    : ChangeLog 
	libgfortran/io : read.c 

Log message:
	PR libfortran/19155
	* io/read.c (read_f): Take care of spaces after initial sign.
	* gfortran.dg/pr19155.f: Add test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.240&r2=1.5084.2.241
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr19155.f.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.163.2.52&r2=1.163.2.53
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/read.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.8.10.1&r2=1.8.10.2



-- 


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


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

* [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR)
  2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
@ 2005-06-12 20:05 ` fxcoudert at gcc dot gnu dot org
  2005-06-16 22:39 ` cvs-commit at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-12 20:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-12 20:05 -------
Fixed on mainline, waiting for 4.0 to reopen. With that patch, FM110 no longer
fails. One less in NIST testsuite.

As for comment 13 (testcase failure on AIX), I'm waiting for additional feedback.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|blanks not treated as zeros |[4.0 only] blanks not
                   |in 'E' format read (NIST    |treated as zeros in 'E'
                   |FM110.FOR)                  |format read (NIST FM110.FOR)
   Target Milestone|---                         |4.0.2


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


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

end of thread, other threads:[~2011-05-29  9:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19155-4@http.gcc.gnu.org/bugzilla/>
2011-05-28  8:41 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) jb at gcc dot gnu.org
2011-05-29  9:03 ` jb at gcc dot gnu.org
2011-05-29  9:35 ` jb at gcc dot gnu.org
2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
2005-06-12 20:05 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) fxcoudert at gcc dot gnu dot org
2005-06-16 22:39 ` cvs-commit at gcc dot gnu dot org
2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
2005-06-17 15:16 ` dje at gcc dot gnu dot org
2005-06-17 15:40 ` fxcoudert at gcc dot gnu dot org
2005-06-17 16:21 ` cvs-commit at gcc dot gnu dot org
2005-06-17 16:24 ` cvs-commit at gcc dot gnu dot org
2005-06-17 16:25 ` fxcoudert 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).