https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120144
--- Comment #14 from Carter Rennick <carter.rennick at gmail dot com> --- (In reply to Andrew Pinski from comment #7) > (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) Confirmed that this fixes it on my end (the other patch mentioned didn't seem to do anything). What exactly needs to happen for this to get merged? Would really like to get this in the next release and not have it sit here for another 10 months. I haven't contributed to GCC before but if someone can point me in the right direction I'm willing to run more tests etc, whatever it takes to move this along.
