public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
@ 2014-01-09 19:08 brooks at gcc dot gnu.org
2014-01-09 19:25 ` [Bug math/16423] " brooks at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: brooks at gcc dot gnu.org @ 2014-01-09 19:08 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
Bug ID: 16423
Summary: math-float, math-double failing logb_downward test
with negative/positive zero difference on ppc32
Product: glibc
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: brooks at gcc dot gnu.org
This is failing with GLIBC trunk as of 10am PST on 2014-01-09.
Configure with "../glibc/configure --prefix=/usr CC='gcc -m32' CXX='g++ -m32'
--target=powerpc32-unknown-linux-gnu --build=powerpc32-unknown-linux-gnu
--host=powerpc32-unknown-linux-gnu" on an IBM Power7; run "make" and "make
check".
I'm seeing failures in both math/test-float and math/test-double, with
essentially identical test-*.out outputs. The contents of test-float.out are
included below. This bug report is for the logb_downward failure (which is
that it's producing a negative zero where it should be producing a positive
zero); I've filed the llrint failure separately.
----
testing float (without inline functions)
Failure: Test: logb_downward (1.000e+0)
Result:
is: -0.00000000000000000000e+00 -0x0.00000000000000000000p+0
should be: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
difference: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
ulp : 0.0000
max.ulp : 0.0000
Failure: llrint (2097151.0): Exception "Inexact" set
Failure: llrint (8388608.0): Exception "Inexact" set
Failure: llrint (16777216.0): Exception "Inexact" set
Failure: llrint (4503601774854144.0): Exception "Inexact" set
Failure: llrint_tonearest (2097151.0): Exception "Inexact" set
Failure: llrint_tonearest (8388608.0): Exception "Inexact" set
Failure: llrint_tonearest (16777216.0): Exception "Inexact" set
Failure: llrint_tonearest (4503601774854144.0): Exception "Inexact" set
Failure: llrint_towardzero (2097151.0): Exception "Inexact" set
Failure: llrint_towardzero (8388608.0): Exception "Inexact" set
Failure: llrint_towardzero (16777216.0): Exception "Inexact" set
Failure: llrint_towardzero (4503601774854144.0): Exception "Inexact" set
Failure: llrint_downward (2097151.0): Exception "Inexact" set
Failure: llrint_downward (8388608.0): Exception "Inexact" set
Failure: llrint_downward (16777216.0): Exception "Inexact" set
Failure: llrint_downward (4503601774854144.0): Exception "Inexact" set
Failure: llrint_upward (2097151.0): Exception "Inexact" set
Failure: llrint_upward (8388608.0): Exception "Inexact" set
Failure: llrint_upward (16777216.0): Exception "Inexact" set
Failure: llrint_upward (4503601774854144.0): Exception "Inexact" set
Failure: nexttoward (qNaN, 1.1): Exception "Inexact" set
Test suite completed:
10843 test cases plus 10244 tests for exception flags and
10244 tests for errno executed.
22 errors occurred.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
@ 2014-01-09 19:25 ` brooks at gcc dot gnu.org
2014-01-09 19:31 ` brooks at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: brooks at gcc dot gnu.org @ 2014-01-09 19:25 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
--- Comment #1 from Brooks Moses <brooks at gcc dot gnu.org> ---
FWIW, this is also failing in math-ldouble.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
2014-01-09 19:25 ` [Bug math/16423] " brooks at gcc dot gnu.org
@ 2014-01-09 19:31 ` brooks at gcc dot gnu.org
2014-01-09 20:09 ` brooks at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: brooks at gcc dot gnu.org @ 2014-01-09 19:31 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
--- Comment #2 from Brooks Moses <brooks at gcc dot gnu.org> ---
...and this is failing in the test-ifloat, test-idouble, test-ildoubl inline
variants as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
2014-01-09 19:25 ` [Bug math/16423] " brooks at gcc dot gnu.org
2014-01-09 19:31 ` brooks at gcc dot gnu.org
@ 2014-01-09 20:09 ` brooks at gcc dot gnu.org
2014-01-09 20:14 ` brooks at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: brooks at gcc dot gnu.org @ 2014-01-09 20:09 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
Brooks Moses <brooks at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.19
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
` (2 preceding siblings ...)
2014-01-09 20:09 ` brooks at gcc dot gnu.org
@ 2014-01-09 20:14 ` brooks at gcc dot gnu.org
2014-01-09 21:03 ` joseph at codesourcery dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: brooks at gcc dot gnu.org @ 2014-01-09 20:14 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
--- Comment #3 from Brooks Moses <brooks at gcc dot gnu.org> ---
It turns out that this is probably a duplicate of bug 887, though I'll let
someone else confirm before closing it.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
` (3 preceding siblings ...)
2014-01-09 20:14 ` brooks at gcc dot gnu.org
@ 2014-01-09 21:03 ` joseph at codesourcery dot com
2014-02-06 18:39 ` [Bug math/16423] [powerpc] " jsm28 at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: joseph at codesourcery dot com @ 2014-01-09 21:03 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=16423
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Thu, 9 Jan 2014, brooks at gcc dot gnu.org wrote:
> I'm seeing failures in both math/test-float and math/test-double, with
> essentially identical test-*.out outputs. The contents of test-float.out are
> included below. This bug report is for the logb_downward failure (which is
> that it's producing a negative zero where it should be producing a positive
> zero); I've filed the llrint failure separately.
The reason for bug 887 being closed was spurious (and it should not have
been listed in NEWS as fixed for 2.16). There was a GCC fix only for more
recent Power processors. I think the bug should probably be kept open for
the point that glibc should work around the GCC bug (conditionally on a
configure test for whether the code generated needs it, i.e. that it uses
the problem arithmetic operations without modifying the rounding mode
temporarily). In addition, a GCC bug should be filed in GCC Bugzilla, if
not already open, for the bad code generation for these conversions with
-frounding-math.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] [powerpc] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
` (4 preceding siblings ...)
2014-01-09 21:03 ` joseph at codesourcery dot com
@ 2014-02-06 18:39 ` jsm28 at gcc dot gnu.org
2014-06-13 9:05 ` fweimer at redhat dot com
2015-10-01 21:51 ` jsm28 at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-02-06 18:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host| |powerpc*-*-*
Summary|math-float, math-double |[powerpc] math-float,
|failing logb_downward test |math-double failing
|with negative/positive zero |logb_downward test with
|difference on ppc32 |negative/positive zero
| |difference on ppc32
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] [powerpc] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
` (5 preceding siblings ...)
2014-02-06 18:39 ` [Bug math/16423] [powerpc] " jsm28 at gcc dot gnu.org
@ 2014-06-13 9:05 ` fweimer at redhat dot com
2015-10-01 21:51 ` jsm28 at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 9:05 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/16423] [powerpc] math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
` (6 preceding siblings ...)
2014-06-13 9:05 ` fweimer at redhat dot com
@ 2015-10-01 21:51 ` jsm28 at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-01 21:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16423
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #5 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Closing as a duplicate of bug 887, which I have reopened.
*** This bug has been marked as a duplicate of bug 887 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-10-01 21:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-09 19:08 [Bug math/16423] New: math-float, math-double failing logb_downward test with negative/positive zero difference on ppc32 brooks at gcc dot gnu.org
2014-01-09 19:25 ` [Bug math/16423] " brooks at gcc dot gnu.org
2014-01-09 19:31 ` brooks at gcc dot gnu.org
2014-01-09 20:09 ` brooks at gcc dot gnu.org
2014-01-09 20:14 ` brooks at gcc dot gnu.org
2014-01-09 21:03 ` joseph at codesourcery dot com
2014-02-06 18:39 ` [Bug math/16423] [powerpc] " jsm28 at gcc dot gnu.org
2014-06-13 9:05 ` fweimer at redhat dot com
2015-10-01 21:51 ` jsm28 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).