https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109250
--- Comment #6 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Andreas Schwab from comment #5) > There is support for loongarch in longlong.h (added a year ago > https://gmplib.org/repo/gmp/rev/32dc4af70f95), which may be enough to build > it, if config.sub is updated from upstream. Yes, a manual configfsf.{guess,sub} update is enough. All GMP tests passes (with 6.2.1 and updated config files).