https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78795
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Just compiled GMP with -flto and I get no undefined reference errors. Instead I get an assembler error: setbit.c: Assembler messages: setbit.c:99: Error: operand type mismatch for `sub' But this is a GMP bug: "subq $8589934592, (%rbx)"