Revision 9296 contains a a trial fix for the make check
problem we’ve been seeing with gcc 4.3 (F9 and OpenSuSE), ticket:258.
The problem is that we were using a signed integer for a fixed point
accumulator which we were counting on overflowing.
According to the fine print in the C and C++ standards, if a signed
integer type overflows, the result is undefined. As of gcc 4.3, gcc
was proving that our code was overflowing, and took advantage of the
“undefined” result to short circuit the evaluation.
Moral of the story: if you’re using a fixed point phase accumulator,
or anything else where you’re counting on overflow happening, be sure
that your variable is unsigned.
Thanks to Stefan Bruens and Philip Ballister for working on this.