On 32-bit sparc running SunOS or Solaris, long doubles are 128-bit, not 64-bit. Add a special case to handle this. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- target.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target.c b/target.c index 64e6533f6..ebc7d493b 100644 --- a/target.c +++ b/target.c @@ -116,11 +116,14 @@ void init_target(void) } switch (arch_mach) { + case MACH_SPARC32: + if (arch_os == OS_SUNOS) + break; + /* fall through */ case MACH_ARM: case MACH_MIPS32: case MACH_S390: case MACH_S390X: - case MACH_SPARC32: bits_in_longdouble = 64; max_fp_alignment = 8; break; -- 2.24.0