On 27/11/2019 02:06, Luc Van Oostenryck wrote: > 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; > OK, I had to check that 'bits_in_longdouble' was initialised to 128 and 'max_fp_alignment' to 16 at the top of the file ... ATB, Ramsay Jones