On Mon, Oct 9, 2017 at 1:17 PM, Steven Watanabe via Boost < boost@lists.boost.org> wrote:
AMDG
On 10/08/2017 08:00 AM, Peter Dimov via Boost wrote:
James E. King, III wrote:
For folks who like (potential) compiler optimization bugs: https://svn.boost.org/trac10/ticket/13247
Looking at the source of independent_bits, this jumps out at me:
S = (S << w0) + (u & y0_mask);
and later
S = (S << (w0 + 1)) + (u & y1_mask);
Shifts with a value more than the number of bits are undefined, and debugging confirms that w0 is 32 in the failing tests.
Fixed in develop.
In Christ, Steven Watanabe
Any chance you could work the same magic on this one so I can enable the "osx" builds in travis for the project? It only happens on the OSX builds; not on Linux with clang or gcc. https://svn.boost.org/trac10/ticket/13248