public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs
@ 2013-08-09 12:59 ro at gcc dot gnu.org
  2013-08-09 12:59 ` [Bug fortran/58113] " ro at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2013-08-09 12:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58113
           Summary: gfortran.dg/round_4.f90 FAILs
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: burnus at gcc dot gnu.org
              Host: x86_64-unknown-linux-gnu, *-*-solaris2*
            Target: x86_64-unknown-linux-gnu, *-*-solaris2*
             Build: x86_64-unknown-linux-gnu, *-*-solaris2*

The new gfortran.dg/round_4.f90 test FAILs to execute on both Solaris/x86 and
SPARC
and Linux/x86_64:

FAIL: gfortran.dg/round_4.f90  -O0  execution test
FAIL: gfortran.dg/round_4.f90  -O1  execution test
FAIL: gfortran.dg/round_4.f90  -O2  execution test
FAIL: gfortran.dg/round_4.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/round_4.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/round_4.f90  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/round_4.f90  -O3 -g  execution test
FAIL: gfortran.dg/round_4.f90  -Os  execution test

The test aborts with a useless backtrace:

Program aborted. Backtrace:
#0  0x7F4F04F5F407
#1  0x7F4F04F60B22
#2  0x7F4F0502C548
#3  0x4010A9 in MAIN__ at round_4.f90:?
FAIL: gfortran.dg/round_4.f90  -O0  execution test

  Rainer


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

* [Bug fortran/58113] gfortran.dg/round_4.f90 FAILs
  2013-08-09 12:59 [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs ro at gcc dot gnu.org
@ 2013-08-09 12:59 ` ro at gcc dot gnu.org
  2013-08-09 13:23 ` [Bug fortran/58113] [4.9 Regression] " janus at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2013-08-09 12:59 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug fortran/58113] [4.9 Regression] gfortran.dg/round_4.f90 FAILs
  2013-08-09 12:59 [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs ro at gcc dot gnu.org
  2013-08-09 12:59 ` [Bug fortran/58113] " ro at gcc dot gnu.org
@ 2013-08-09 13:23 ` janus at gcc dot gnu.org
  2013-08-09 14:28 ` janus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: janus at gcc dot gnu.org @ 2013-08-09 13:23 UTC (permalink / raw)
  To: gcc-bugs

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janus at gcc dot gnu.org
            Summary|gfortran.dg/round_4.f90     |[4.9 Regression]
                   |FAILs                       |gfortran.dg/round_4.f90
                   |                            |FAILs

--- Comment #1 from janus at gcc dot gnu.org ---
cf. http://gcc.gnu.org/ml/fortran/2013-08/msg00001.html and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57966#c4


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

* [Bug fortran/58113] [4.9 Regression] gfortran.dg/round_4.f90 FAILs
  2013-08-09 12:59 [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs ro at gcc dot gnu.org
  2013-08-09 12:59 ` [Bug fortran/58113] " ro at gcc dot gnu.org
  2013-08-09 13:23 ` [Bug fortran/58113] [4.9 Regression] " janus at gcc dot gnu.org
@ 2013-08-09 14:28 ` janus at gcc dot gnu.org
  2013-08-16  6:18 ` burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: janus at gcc dot gnu.org @ 2013-08-09 14:28 UTC (permalink / raw)
  To: gcc-bugs

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-08-09
     Ever confirmed|0                           |1


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

* [Bug fortran/58113] [4.9 Regression] gfortran.dg/round_4.f90 FAILs
  2013-08-09 12:59 [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-08-09 14:28 ` janus at gcc dot gnu.org
@ 2013-08-16  6:18 ` burnus at gcc dot gnu.org
  2013-08-23  8:21 ` bernd.edlinger at hotmail dot de
  2013-11-05 13:50 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-08-16  6:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Quoting round_4.f90, which somehow no one seems to read ...

! Test whether I/O rounding works. Uses internally (libgfortran) strtod
! for the conversion - and sets the CPU rounding mode accordingly.
!
! If it doesn't work on your system, please check whether strtod handles
! rounding and whether your system is supported in libgfortran/config/fpu*.c
!
! Please only add ... run { target { ! { triplets } } } if it is unfixable
! on your target - and a note why (strtod doesn't handle it, no rounding
! support, etc.)


Thus, one way forward would be to exclude the target (Solaris, FreeBSD) - or to
simply add XFAIL as it also only works with very recent GLIBCs.

Alternatively, one could also think about a different technique for handling
the rounding (on input) in libgfortran.


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

* [Bug fortran/58113] [4.9 Regression] gfortran.dg/round_4.f90 FAILs
  2013-08-09 12:59 [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2013-08-16  6:18 ` burnus at gcc dot gnu.org
@ 2013-08-23  8:21 ` bernd.edlinger at hotmail dot de
  2013-11-05 13:50 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2013-08-23  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 30692
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30692&action=edit
determine rounding support at runtime

How about this?
With this patch the test case should pass most of the time.


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

* [Bug fortran/58113] [4.9 Regression] gfortran.dg/round_4.f90 FAILs
  2013-08-09 12:59 [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2013-08-23  8:21 ` bernd.edlinger at hotmail dot de
@ 2013-11-05 13:50 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-05 13:50 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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

end of thread, other threads:[~2013-11-05 13:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-09 12:59 [Bug fortran/58113] New: gfortran.dg/round_4.f90 FAILs ro at gcc dot gnu.org
2013-08-09 12:59 ` [Bug fortran/58113] " ro at gcc dot gnu.org
2013-08-09 13:23 ` [Bug fortran/58113] [4.9 Regression] " janus at gcc dot gnu.org
2013-08-09 14:28 ` janus at gcc dot gnu.org
2013-08-16  6:18 ` burnus at gcc dot gnu.org
2013-08-23  8:21 ` bernd.edlinger at hotmail dot de
2013-11-05 13:50 ` rguenth at gcc dot gnu.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).