i386: add -fno-stack-protector to two tests
These tests fail when the testsuite is executed with -fstack-protector-strong. To avoid this, this patch adds -fno-stack-protector to dg-options. gcc/testsuite/ChangeLog: * gcc.target/i386/pr104610.c: Use -fno-stack-protector. * gcc.target/i386/pr69482-1.c: Likewise.
This commit is contained in:
parent
9479da4515
commit
7599b4fb1c
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -mavx -mmove-max=256 -mstore-max=256" } */
|
||||
/* { dg-options "-O2 -mavx -mmove-max=256 -mstore-max=256 -fno-stack-protector" } */
|
||||
/* { dg-final { scan-assembler-times {(?n)vptest.*ymm} 1 } } */
|
||||
/* { dg-final { scan-assembler-times {sete} 1 } } */
|
||||
/* { dg-final { scan-assembler-not {(?n)je.*L[0-9]} } } */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3" } */
|
||||
/* { dg-options "-O3 -fno-stack-protector" } */
|
||||
|
||||
static inline void memset_s(void* s, int n) {
|
||||
volatile unsigned char * p = s;
|
||||
|
|
Loading…
Add table
Reference in a new issue