On Wed, 31 Jul 2024, Jakub Jelinek wrote:

> On Wed, Jul 31, 2024 at 02:43:36PM +0200, Richard Biener wrote:
> > diff --git a/gcc/config/i386/i386-modes.def 
> > b/gcc/config/i386/i386-modes.def
> > index 6d8f1946f3a..2cc03e30f13 100644
> > --- a/gcc/config/i386/i386-modes.def
> > +++ b/gcc/config/i386/i386-modes.def
> > @@ -21,7 +21,7 @@ along with GCC; see the file COPYING3.  If not see
> >     XFmode is __float80 is IEEE extended; TFmode is __float128
> >     is IEEE quad.  */
> >  
> > -FRACTIONAL_FLOAT_MODE (XF, 80, 12, ieee_extended_intel_96_format);
> > +FRACTIONAL_FLOAT_MODE (XF, 80, 10, ieee_extended_intel_96_format);
> >  FLOAT_MODE (TF, 16, ieee_quad_format);
> >  FLOAT_MODE (HF, 2, ieee_half_format);
> >  FLOAT_MODE (BF, 2, 0);
> > 
> > bootstraps and tests (-m64/-m32) OK on x86_64-linux.
> 
> And does it e.g. pass compat.exp / structure-layout-1.exp testing
> against gcc without that patch (ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++)?

It doesn't.  I would expect differences at least for packed structs
since TYPE_SIZE changes with MODE_SIZE.

Richard.

Reply via email to