https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120144
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #6) > 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) Sorry I mean: #define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (TARGET_64BIT ? TImode : DImode)