Inline assembly needs "cc" clobber to avoid miscompilation

Torbjörn Granlund tg at
Sat Nov 23 01:23:03 UTC 2019

tg at (Torbjörn Granlund) writes:

  I agree that adding a "cc" does not hurt, even if gcc does not need it
  for all platforms.  The absence of it for ppc is for exactly that
  reason; gcc does not need it for this platform.

  I am testing a more complete patch for this omission.

I created the attached patch.  Unfortunately, clang 7.0.1-8 still fails

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 14509 bytes
Desc: not available
URL: <>
-------------- next part --------------

(The __CLOBBER_CC construct is for GCC 1 compatibility.  Yes, this is
obsolete.  Now is not the time to clean it up.)

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list