petdance/scratch — Issue #372: t/op/number.t: one test fails under --optimize on Darwin/PPC
Author: petdance
Created: 2011-11-14 05:55:47+00:00
State: open
Labels: bug, Pri-minor, Sev-medium, testing

Configuring with:
{{{
perl Configure.pl --optimize
}}}
on Darwin/PPC, I got the following test failure, which I do not get when I configure without optimization:
{{{
t/op/number.t ..
1..126
...
not ok 50 - mod_n
# Have: -0
# Want: 0
}}}
Note: I have rarely configured with `--optimize` on this platform, so I don't know whether this test failure has always been there or when it appeared. (I was working on a different ticket where I needed to see what difference `--optimize` made in `%PConfig`.)

Given what some would consider the antiquity of this platform, this is hardly a deal-breaker. Still, a bug is a bug, and it would be worthwhile if someone could speculate on why optimization made this bug manifest and how it might be fixed.

Thank you very much.

kid51

Originally http://trac.parrot.org/parrot/ticket/1930