Re: use -mno-strict-align for strlenopt-80.c on powerpc

2021-03-12 Thread Iain Sandoe via Gcc-patches
Segher Boessenkool wrote: On Wed, Mar 10, 2021 at 02:41:50AM -0300, Alexandre Oliva 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. Thi

Re: use -mno-strict-align for strlenopt-80.c on powerpc

2021-03-11 Thread Richard Biener via Gcc-patches
On Wed, Mar 10, 2021 at 7:04 AM Alexandre Oliva 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. > > This was regstrapped on x86_64

Re: use -mno-strict-align for strlenopt-80.c on powerpc

2021-03-11 Thread Segher Boessenkool
On Wed, Mar 10, 2021 at 02:41:50AM -0300, Alexandre Oliva 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. > > This was regstrapped on

use -mno-strict-align for strlenopt-80.c on powerpc

2021-03-09 Thread Alexandre Oliva
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. This was regstrapped on x86_64-linux-gnu, tested with a cross to a ppc64-vxworks7r2 configured wi