https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120144
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note loongarch definition of MAX_FIXED_MODE_SIZE looks like it was copied from mips but it looks ok there due to depending on TARGET_64BIT rather than TARGET_NEWABI. In the case of MIPS64, long double could still be 64bit while still being 64bit, e.g. o64 (n32 will be 128bit long double and 64bit mode) So the definition should be: #define MAX_FIXED_MODE_SIZE (TARGET_64BIT ? TImode : DImode)