https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91034
--- Comment #12 from Andrew Roberts <andrewm.roberts at sky dot com> --- GMP 6.1.0 and later support the following configure option: --enable-assembly enable the use of assembly loops [default=yes] not sure if this could be used to stop gmp using assembler.