public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34404]  New: [4.3 Regression]  168.wupwise in SPEC CPU 2000 miscompiled
@ 2007-12-09 11:28 hjl at lucon dot org
  2007-12-09 12:14 ` [Bug fortran/34404] " hjl at lucon dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-12-09 11:28 UTC (permalink / raw)
  To: gcc-bugs

Revision 130713 got

  Running 168.wupwise ref base o2 default
*** Miscompare of te.out, see
/export/spec/src/2000/i686/spec/benchspec/CFP2000/168.wupwise/run/00000002/te.out.mis
*** Miscompare of wupwise.out, see
/export/spec/src/2000/i686/spec/benchspec/CFP2000/168.wupwise/run/00000002/wupwise.out.mis
Invalid run; unable to continue.  If you wish to ignore errors please use '-I'
or ignore_errors

At line 37 of file init.f (unit = 10, file = 'wupwise.in')
Fortran runtime error: Bad floating point number for item 1

Revision 130596 is OK.


-- 
           Summary: [4.3 Regression]  168.wupwise in SPEC CPU 2000
                    miscompiled
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org


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


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

* [Bug fortran/34404] [4.3 Regression]  168.wupwise in SPEC CPU 2000 miscompiled
  2007-12-09 11:28 [Bug fortran/34404] New: [4.3 Regression] 168.wupwise in SPEC CPU 2000 miscompiled hjl at lucon dot org
@ 2007-12-09 12:14 ` hjl at lucon dot org
  2007-12-09 12:15 ` [Bug libfortran/34404] " hjl at lucon dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-12-09 12:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl at lucon dot org  2007-12-09 12:14 -------
Revision 130708

http://gcc.gnu.org/viewcvs/trunk/libgfortran/io/list_read.c?r1=130708&r2=130707&pathrev=130708

has

@@ -1136,6 +1141,13 @@

  exp2:
   if (!isdigit (c))
+    {
+      if (c == 'i' || c == 'I' || c == 'n' || c == 'N')
+       goto inf_nan;
+      else
+       goto bad;
+    }
+
     goto bad; <------ Should be removed.
   push_char (dtp, c);

@@ -1166,6 +1178,41 @@


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org


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


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

* [Bug libfortran/34404] [4.3 Regression]  168.wupwise in SPEC CPU 2000 miscompiled
  2007-12-09 11:28 [Bug fortran/34404] New: [4.3 Regression] 168.wupwise in SPEC CPU 2000 miscompiled hjl at lucon dot org
  2007-12-09 12:14 ` [Bug fortran/34404] " hjl at lucon dot org
@ 2007-12-09 12:15 ` hjl at lucon dot org
  2007-12-09 12:25 ` jv244 at cam dot ac dot uk
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-12-09 12:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl at lucon dot org  2007-12-09 12:15 -------
The input data file has

(2.4E-1, 0.0E+0)

It is read by

COMPLEX*16 X
...
READ(10,*)  X


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |libfortran


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


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

* [Bug libfortran/34404] [4.3 Regression]  168.wupwise in SPEC CPU 2000 miscompiled
  2007-12-09 11:28 [Bug fortran/34404] New: [4.3 Regression] 168.wupwise in SPEC CPU 2000 miscompiled hjl at lucon dot org
  2007-12-09 12:14 ` [Bug fortran/34404] " hjl at lucon dot org
  2007-12-09 12:15 ` [Bug libfortran/34404] " hjl at lucon dot org
@ 2007-12-09 12:25 ` jv244 at cam dot ac dot uk
  2007-12-09 12:58 ` burnus at gcc dot gnu dot org
  2007-12-09 13:02 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jv244 at cam dot ac dot uk @ 2007-12-09 12:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jv244 at cam dot ac dot uk  2007-12-09 12:25 -------
complex :: x
character(len=80) :: t="(1.0E-7,4.0E-3)"
read(t,*) x
END

confirmed


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |32834
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-09 12:25:11
               date|                            |


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


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

* [Bug libfortran/34404] [4.3 Regression]  168.wupwise in SPEC CPU 2000 miscompiled
  2007-12-09 11:28 [Bug fortran/34404] New: [4.3 Regression] 168.wupwise in SPEC CPU 2000 miscompiled hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2007-12-09 12:25 ` jv244 at cam dot ac dot uk
@ 2007-12-09 12:58 ` burnus at gcc dot gnu dot org
  2007-12-09 13:02 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-12-09 12:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from burnus at gcc dot gnu dot org  2007-12-09 12:58 -------
Subject: Bug 34404

Author: burnus
Date: Sun Dec  9 12:58:25 2007
New Revision: 130723

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

        PR fortran/34404
        * io/list_read.c (parse_real): Remove superfluous "goto bad;".

2007-12-09  H.J. Lu  <hjl@lucon.org>
             Tobias Burnus  <burnus@net-b.de>

        PR fortran/34404
        * gfortran.dg/read_2.f90: New.


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


-- 


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


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

* [Bug libfortran/34404] [4.3 Regression]  168.wupwise in SPEC CPU 2000 miscompiled
  2007-12-09 11:28 [Bug fortran/34404] New: [4.3 Regression] 168.wupwise in SPEC CPU 2000 miscompiled hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2007-12-09 12:58 ` burnus at gcc dot gnu dot org
@ 2007-12-09 13:02 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-12-09 13:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from burnus at gcc dot gnu dot org  2007-12-09 13:01 -------
Thanks for the fix and thanks Joost for the test case.

FIXED.


-- 

burnus at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-12-09 13:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-09 11:28 [Bug fortran/34404] New: [4.3 Regression] 168.wupwise in SPEC CPU 2000 miscompiled hjl at lucon dot org
2007-12-09 12:14 ` [Bug fortran/34404] " hjl at lucon dot org
2007-12-09 12:15 ` [Bug libfortran/34404] " hjl at lucon dot org
2007-12-09 12:25 ` jv244 at cam dot ac dot uk
2007-12-09 12:58 ` burnus at gcc dot gnu dot org
2007-12-09 13:02 ` 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).