https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88309

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Kewen Lin from comment #4)
> (In reply to Andrew Pinski from comment #3)
> > Found it:
> >     /* In GIMPLE the type of the MEM_REF specifies the alignment.  The
> >       required alignment (power) is 4 bytes regardless of data type.  */
> >     tree align_ltype = build_aligned_type (lhs_type, 4);
> > 
> > That should be 4*8 instead of just 4.
> > 
> > There are 2 build_aligned_type in rs6000-builtins.cc which uses the wrong
> > alignment; thinking it was the alignment argument was bytes rather than 
> > bits.
> > 
> > Introduced by r9-2375-g3f7a77cd20d07c which means this is a regression.
> 
> Hi Andrew, thanks for digging into this!  William has not worked on GCC
> project any more, will you make a patch for this?

I don't have time to test it really.

Reply via email to