[PATCH 7/7] PowerPC test: Add prefixed stack protect test

Segher Boessenkool segher@kernel.crashing.org
Thu Jun 25 17:18:42 GMT 2020


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  <meissner@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?

Okay for trunk with that looked at.  Thanks!


Segher


More information about the Gcc-patches mailing list