On Thu, Jun 25, 2020 at 12:18:42PM -0500, Segher Boessenkool wrote: > Hi! > > On Mon, Jun 01, 2020 at 03:53:42PM -0400, Michael Meissner wrote: > > Test that stack protection generates prefixed stack instructions if you are > > using large stack frame for -mcpu=future. > > > > 2020-06-01 Michael Meissner <meiss...@linux.ibm.com> > > > > * gcc.target/powerpc/prefix-stack-protect.c: New test. > > > +/* { dg-do compile } */ > > +/* { dg-require-effective-target powerpc_prefixed_addr } */ > > Is this test necessary anymore, does -mcpu=power10 not guarantee that?
I believe the test is necessary to prevent regressions. As I said in the test, we stumbled on this problem when building GLIBC with -mcpu=future/power10. > Okay for trunk with that looked at. Thanks! -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.ibm.com, phone: +1 (978) 899-4797