bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test-round-ieee failures


From: Bruno Haible
Subject: test-round-ieee failures
Date: Sun, 19 Jun 2011 14:43:47 +0200
User-agent: KMail/1.9.9

>       2 x FAIL: test-round-ieee

I'm seeing these failures:

AIX 7.1

test-round-ieee.c:40: assertion failed
/bin/sh: 11403446 IOT/Abort trap(coredump)
FAIL: test-round-ieee

OSF/1 5.1

test-round-ieee.c:35: assertion failed
sh: 120539 Abort - core dumped
FAIL: test-round-ieee


Adding floor-ieee as dependency fixes the first failure on OSF/1:

AIX 7.1

test-round-ieee.c:40: assertion failed
/bin/sh: 6619140 IOT/Abort trap(coredump)
FAIL: test-round-ieee

OSF/1 5.1

test-round-ieee.c:40: assertion failed
sh: 193307 Abort - core dumped
FAIL: test-round-ieee


Adding ceil-ieee as dependency fixes the remaining failures.
I'm committing the complete fix:


2011-06-19  Bruno Haible  <address@hidden>

        round-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
        * modules/round-ieee (Depends-on): Add floor-ieee, ceil-ieee.
        * doc/posix-functions/round.texi: Mention problem with negative
        arguments.
        * doc/posix-functions/ceil.texi: Mention problem on OSF/1 5.1.

--- doc/posix-functions/ceil.texi.orig  Sun Jun 19 14:38:44 2011
+++ doc/posix-functions/ceil.texi       Sun Jun 19 14:27:23 2011
@@ -15,7 +15,7 @@
 @item
 This function returns a positive zero for an argument between -1 and 0
 on some platforms:
-AIX 7.1.
+AIX 7.1, OSF/1 5.1.
 @item
 This function returns a positive zero for a minus zero argument
 on some platforms:
--- doc/posix-functions/round.texi.orig Sun Jun 19 14:38:44 2011
+++ doc/posix-functions/round.texi      Sun Jun 19 14:38:41 2011
@@ -22,6 +22,10 @@
 Portability problems fixed by Gnulib module @code{round-ieee}:
 @itemize
 @item
+This function returns a positive zero for an argument between -0.5 and 0
+on some platforms:
+AIX 7.1, OSF/1 5.1.
address@hidden
 This function returns a positive zero for a minus zero argument
 on some platforms:
 OSF/1 5.1.
--- modules/round-ieee.orig     Sun Jun 19 14:38:44 2011
+++ modules/round-ieee  Sun Jun 19 14:17:08 2011
@@ -8,6 +8,8 @@
 
 Depends-on:
 round
+floor-ieee      [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
+ceil-ieee       [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
 
 configure.ac:
 gl_FUNC_ROUND_IEEE

-- 
In memoriam Alois Eliáš <http://en.wikipedia.org/wiki/Alois_Eliáš>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]