From: H. P. A. <hp...@zy...> - 2016-02-27 08:09:21
|
On 02/26/16 23:50, H. Peter Anvin wrote: >> >> I cannot reproduce this with gcc 5.3.1 or clang 3.5 on Fedora. It >> would >> be highly useful if you could: >> >> a) configure with --enable-werror >> b) make sure you do "make clean" between trying compilers >> c) try compiling with -O0 >> d) try changing uint64_t on line 311 of assemble.c to int64_t >> >> The most logical explanation is that the compiler miscompiles >> abs((int)size) where size is uint64_t. However, this is certainly not >> true for all the three compilers listed. >> >> If we can narrow this down to a specific compiler it might be >> worthwhile >> to make a bug report. >> >> -hpa > > > One more thing: try adding the -fwrap option to see if that fixes the > problem, especially if the problem goes away with -O0. > That should have been -fwrapv. -hpa |