public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48438] New: Several gfortran tests FAIL on Tru64 UNIX
@ 2011-04-04 18:56 ro at gcc dot gnu.org
  2011-04-18 17:12 ` [Bug fortran/48438] " burnus at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-04-04 18:56 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Several gfortran tests FAIL on Tru64 UNIX
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
              Host: alpha-dec-osf5.1b
            Target: alpha-dec-osf5.1b
             Build: alpha-dec-osf5.1b


As can be seen on http://gcc.gnu.org/ml/gcc-testresults/2011-04/msg00287.html,
several gfortran tests fail on Tru64 UNIX:

* Even after the latest patch and with -mieee, gfortran.dg/bessel_6.f90 with
the
  prints enabled aborts after extended output:

28 -0.484778965E-02 -0.484779058E-02    0.93E-09     -1.6115591526  F  T
29 -0.365163200E-01 -0.365163200E-01    0.00E+00     -0.0000000000  T  T
30  0.396264251E-03  0.396265183E-03   -0.93E-09    -19.7153797150  F  F
IOT/Abort trap

* FAIL: gfortran.dg/large_real_kind_2.F90  -O0  execution test

  at all optimization levels.  The tests terminate with

Floating point exception

  even with -mieee.

Program received signal SIGFPE, Arithmetic exception.
0x000003ff80293a14 in cpow () from /usr/shlib/libm.so
(gdb) where
#0  0x000003ff80293a14 in cpow () from /usr/shlib/libm.so
#1  0x000000012000992c in MAIN__ ()
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/large_real_kind_2.F90:76
#2  0x0000000120015abc in main (argc=1, argv=0x11fffe068)
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/large_real_kind_2.F90:105

  for the CTEST_POWER (0.0,5.4) call.

* FAIL: gfortran.dg/nan_7.f90  -O0  execution test

  at all optimization levels:

IOT/Abort trap

  even with -mieee

Program received signal SIGABRT, Aborted.
0x000003ff800ee3e8 in kill () from /usr/shlib/libc.so
(gdb) where
#0  0x000003ff800ee3e8 in kill () from /usr/shlib/libc.so
#1  0x000003ff80223694 in tis_lock_global () from /usr/shlib/libc.so
#2  0x000003ff80141688 in tis_raise () from /usr/shlib/libc.so
#3  0x000003ff801d4e9c in abort () from /usr/shlib/libc.so
#4  0x000003ffbffe81e8 in _gfortran_abort ()
    at /vol/gcc/src/hg/gcc-4.6-branch/local/libgfortran/intrinsics/abort.c:34
#5  0x000000012000160c in MAIN__ ()
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/nan_7.f90:14
#6  0x0000000120001688 in main (argc=1, argv=0x11fffe060)
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/nan_7.f90:15
(gdb) p k2
$1 = 0xfff80000000000000000000000000000

* FAIL: gfortran.dg/nint_2.f90  -O0  execution test

Program received signal SIGABRT, Aborted.
0x000003ff800ee3e8 in kill () from /usr/shlib/libc.so
(gdb) where
#0  0x000003ff800ee3e8 in kill () from /usr/shlib/libc.so
#1  0x000003ff80223694 in tis_lock_global () from /usr/shlib/libc.so
#2  0x000003ff80141688 in tis_raise () from /usr/shlib/libc.so
#3  0x000003ff801d4e9c in abort () from /usr/shlib/libc.so
#4  0x000003ffbffe81e8 in _gfortran_abort ()
    at /vol/gcc/src/hg/gcc-4.6-branch/local/libgfortran/intrinsics/abort.c:34
#5  0x00000001200013b4 in MAIN__ ()
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/nint_2.f90:16
#6  0x00000001200016a0 in main (argc=1, argv=0x11fffe060)
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/nint_2.f90:52

(gdb) p i1
$1 = 1
(gdb) p i2
$2 = 0

  a = nearest(0.5_8,-1.0_8)
  i2 = nint(nearest(0.5_8,-1.0_8))
  i1 = nint(a)
  if (i1 /= 0 .or. i2 /= 0) call abort

* FAIL: gfortran.dg/pr45636.f90  -O  scan-tree-dump-times forwprop2 "memset" 0

  pr45636.f90.060t.forwprop2 has two calls to __builtin_memset

* FAIL: gfortran.dg/realloc_on_assign_5.f03  -O0  execution test

  at all optimization levels:

IOT/Abort trap

Program received signal SIGABRT, Aborted.
0x000003ff800ee3e8 in kill () from /usr/shlib/libc.so
(gdb) where
#0  0x000003ff800ee3e8 in kill () from /usr/shlib/libc.so
#1  0x000003ff80223694 in tis_lock_global () from /usr/shlib/libc.so
#2  0x000003ff80141688 in tis_raise () from /usr/shlib/libc.so
#3  0x000003ff801d4e9c in abort () from /usr/shlib/libc.so
#4  0x000003ffbffe81e8 in _gfortran_abort ()
    at /vol/gcc/src/hg/gcc-4.6-branch/local/libgfortran/intrinsics/abort.c:34
#5  0x00000001200018fc in MAIN__ ()
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/realloc_on_assign_5.f03:16
#6  0x00000001200019ac in main (argc=1, argv=0x11fffe070)
    at
/vol/gcc/src/hg/gcc-4.6-branch/local/gcc/testsuite/gfortran.dg/realloc_on_assign_5.f03:18

  if (a .ne. 'x') call abort

* FAIL: gfortran.dg/guality/pr41558.f90  -O0  line 7 s == 'foo'

  and several others, seems to be the usual guality/gdb fragility


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

* [Bug fortran/48438] Several gfortran tests FAIL on Tru64 UNIX
  2011-04-04 18:56 [Bug fortran/48438] New: Several gfortran tests FAIL on Tru64 UNIX ro at gcc dot gnu.org
@ 2011-04-18 17:12 ` burnus at gcc dot gnu.org
  2011-04-26 17:37 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2012-04-19 14:16 ` jb at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-18 17:12 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-18 17:11:26 UTC ---
(In reply to comment #0)
> * FAIL: gfortran.dg/realloc_on_assign_5.f03  -O0  execution test
>   at all optimization levels:

That's PR 47674.

> * FAIL: gfortran.dg/guality/pr41558.f90  -O0  line 7 s == 'foo'
>   and several others, seems to be the usual guality/gdb fragility

guality has now been disabled on Tru64 Unix:
http://gcc.gnu.org/ml/fortran/2011-04/msg00192.html

 * * *

Last result: http://gcc.gnu.org/ml/gcc-testresults/2011-04/msg01634.html
Still failing:
- bessel_6.f90 (dies with floating point exception),
  cf. http://gcc.gnu.org/ml/fortran/2011-03/msg00234.html
  and http://gcc.gnu.org/ml/fortran/2011-04/msg00010.html
- nint_2.f90 (nint of nearest (0.5_8, -1) is 1 instead of 0)
- pr45636.f90 (twice instead of 0 times __builtin_memset)
- large_real_kind_2.F90
  Fails for CTEST_POWER(0.0, 5.4), which is:
    abs(0.0**5.4 - 0.0**5.4)/(0.0**5.4) > eps
        xxxxxxxx   88888888   88888888
  where "x" is complex(kind=16) ("selected_real_kind (precision (0.0_8) + 1)")
  and "8" is complex(8).
  The numeric expression gives 0.0/0.0 = NaN - and "NaN > eps" gives
  here FALSE - but on Tru64 seemingly SIGABRT? 

(Plus realloc_on_assign_5.f03, guality/pr41558.f90 - which are mentioned above
- and fmt_g0_5.f08, which is fixed by with
http://gcc.gnu.org/ml/fortran/2011-04/msg00191.html )


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

* [Bug fortran/48438] Several gfortran tests FAIL on Tru64 UNIX
  2011-04-04 18:56 [Bug fortran/48438] New: Several gfortran tests FAIL on Tru64 UNIX ro at gcc dot gnu.org
  2011-04-18 17:12 ` [Bug fortran/48438] " burnus at gcc dot gnu.org
@ 2011-04-26 17:37 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2012-04-19 14:16 ` jb at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2011-04-26 17:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-04-26 17:36:51 UTC ---
> - large_real_kind_2.F90
>   Fails for CTEST_POWER(0.0, 5.4), which is:
>     abs(0.0**5.4 - 0.0**5.4)/(0.0**5.4) > eps
>         xxxxxxxx   88888888   88888888
>   where "x" is complex(kind=16) ("selected_real_kind (precision (0.0_8) + 1)")
>   and "8" is complex(8).
>   The numeric expression gives 0.0/0.0 = NaN - and "NaN > eps" gives
>   here FALSE - but on Tru64 seemingly SIGABRT? 

No, the SIGFPE already happens in the cpow (0.0, 0.0, 5.4, 0.0) call.
If I compile with -mieee instead, I get SIGFPE for

75       CTEST_POWER (0.0,1.0)

complex(3) states:

  cpow(), cpowf()           sqrt(a**2 + b**2) >       overflow
                            max_float
  cpow(), cpowf()           c/2 * ln(a**2 + b**2) >   overflow
                            max_float
  cpow(), cpowf()           c/2 * ln(a**2 + b**2) -   overflow
                            (d * atan2(b,c)) >
                            max_float
  ____________________________________________________________________

  __________________________________________________________________
  Value Name   Data Type   Hexadecimal Value   Decimal Value
  __________________________________________________________________
  max_float    F_FLOAT     FFFF7FFF            1.701411e38
               G_FLOAT     FFFFFFFFFFFF7       8.988465674311579e307
               S_FLOAT     7F7FFFFF            3.402823e38
               T_FLOAT     7FEFFFFFFFFFFFFF

F_FLOAT and G_FLOAT is the VAX single resp. double format, while S_FLOAT
and T_FLOAT are IEEE single and double.

    Rainer


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

* [Bug fortran/48438] Several gfortran tests FAIL on Tru64 UNIX
  2011-04-04 18:56 [Bug fortran/48438] New: Several gfortran tests FAIL on Tru64 UNIX ro at gcc dot gnu.org
  2011-04-18 17:12 ` [Bug fortran/48438] " burnus at gcc dot gnu.org
  2011-04-26 17:37 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-04-19 14:16 ` jb at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jb at gcc dot gnu.org @ 2012-04-19 14:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jb at gcc dot gnu.org
         Resolution|                            |WONTFIX

--- Comment #3 from Janne Blomqvist <jb at gcc dot gnu.org> 2012-04-19 14:14:11 UTC ---
AFAIU, for the 4.8 release Rainer has removed support for the alpha*-dec*-osf*
target, hence closing this PR as wontfix.


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

end of thread, other threads:[~2012-04-19 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-04 18:56 [Bug fortran/48438] New: Several gfortran tests FAIL on Tru64 UNIX ro at gcc dot gnu.org
2011-04-18 17:12 ` [Bug fortran/48438] " burnus at gcc dot gnu.org
2011-04-26 17:37 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-04-19 14:16 ` jb 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).