On Oct 19, 2023, at 8:16 PM, Alexandre Oliva <ol...@adacore.com> wrote: > > On Mar 10, 2021, Alexandre Oliva <ol...@adacore.com> wrote: > >> ppc configurations that have -mstrict-align enabled by default fail >> gcc.dg/strlenopt-80.c, because some memcpy calls don't get turned into >> MEM_REFs, which defeats the tested-for strlen optimization. > > I've combined this patch with other patches that added -mno-strict-align > to tests that needed it on targets configured with -mstrict-align > enabled by default, and conditioned the use of the flag to targets that > support it. > > Regstrapped on x86_64-linux-gnu, ppc64le-linux-gnu, also tested on a > ppc-vx7r2 configured with -mstrict-align. Ok to install?
Ok.