[Bug inline-asm/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 23 11:46:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
On x86, by default, the compiler already assumes that flags are clobbered.
That's explained in a comment in GMP's longlong.h at least.


More information about the Gcc-bugs mailing list