On my System (Ubuntu14.04 on an Intel Sandy-bridge) gcc 4.9.2 builds gmp 6.0.0.a fine with -flto -fuse-linker-plugin as CFLAGS, but testing gives the following error: mpz_get_d_2exp wrong on 2**54-1 result out of range, expect 0.5 <= got < 1.0 rnd_mode = 0 data[i] = 54 z =0x3FFFFFFFFFFFFF got =[00 00 00 00 00 00 F0 3F] 1 got exp 54 Adding -ffat-lto-objects to the flags, testing gives no errors. Is this an gcc problem? There was an discussion on gmplib.org about this error on GMP 5.1 using Clang, but i did not figure out whether there was any resolution. Thanks Henning