|
|
8178f7 |
diff --git a/gcc/testsuite/gcc.dg/stack-check-5.c b/gcc/testsuite/gcc.dg/stack-check-5.c
|
|
|
8178f7 |
index 850e023ea4e..604fa3cf6c5 100644
|
|
|
8178f7 |
--- a/gcc/testsuite/gcc.dg/stack-check-5.c
|
|
|
8178f7 |
+++ b/gcc/testsuite/gcc.dg/stack-check-5.c
|
|
|
8178f7 |
@@ -1,7 +1,7 @@
|
|
|
8178f7 |
/* { dg-do compile } */
|
|
|
8178f7 |
/* { dg-options "-O2 -fstack-clash-protection -fdump-rtl-pro_and_epilogue -fno-optimize-sibling-calls --param stack-clash-protection-probe-interval=12 --param stack-clash-protection-guard-size=12" } */
|
|
|
8178f7 |
/* { dg-require-effective-target supports_stack_clash_protection } */
|
|
|
8178f7 |
-/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
|
|
|
8178f7 |
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
|
|
|
8178f7 |
|
|
|
8178f7 |
|
|
|
8178f7 |
/* Otherwise the S/390 back-end might save the stack pointer in f2 ()
|
|
|
8178f7 |
diff --git a/gcc/testsuite/gcc.dg/stack-check-6.c b/gcc/testsuite/gcc.dg/stack-check-6.c
|
|
|
8178f7 |
index ab4b0e8894c..fe75612b737 100644
|
|
|
8178f7 |
--- a/gcc/testsuite/gcc.dg/stack-check-6.c
|
|
|
8178f7 |
+++ b/gcc/testsuite/gcc.dg/stack-check-6.c
|
|
|
8178f7 |
@@ -1,7 +1,7 @@
|
|
|
8178f7 |
/* { dg-do compile } */
|
|
|
8178f7 |
/* { dg-options "-O2 -fstack-clash-protection -fdump-rtl-pro_and_epilogue -fno-optimize-sibling-calls --param stack-clash-protection-probe-interval=12 --param stack-clash-protection-guard-size=12" } */
|
|
|
8178f7 |
/* { dg-require-effective-target supports_stack_clash_protection } */
|
|
|
8178f7 |
-/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
|
|
|
8178f7 |
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
|
|
|
8178f7 |
|
|
|
8178f7 |
|
|
|
8178f7 |
extern void foo (char *);
|
|
|
8178f7 |
diff --git a/gcc/testsuite/gcc.dg/stack-check-6a.c b/gcc/testsuite/gcc.dg/stack-check-6a.c
|
|
|
8178f7 |
index 468d649a4fa..8fb9c621585 100644
|
|
|
8178f7 |
--- a/gcc/testsuite/gcc.dg/stack-check-6a.c
|
|
|
8178f7 |
+++ b/gcc/testsuite/gcc.dg/stack-check-6a.c
|
|
|
8178f7 |
@@ -4,7 +4,7 @@
|
|
|
8178f7 |
/* { dg-do compile } */
|
|
|
8178f7 |
/* { dg-options "-O2 -fstack-clash-protection -fdump-rtl-pro_and_epilogue -fno-optimize-sibling-calls --param stack-clash-protection-probe-interval=12 --param stack-clash-protection-guard-size=16" } */
|
|
|
8178f7 |
/* { dg-require-effective-target supports_stack_clash_protection } */
|
|
|
8178f7 |
-/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
|
|
|
8178f7 |
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
|
|
|
8178f7 |
|
|
|
8178f7 |
|
|
|
8178f7 |
#include "stack-check-6.c"
|
|
|
8178f7 |
diff --git a/gcc/testsuite/gcc.target/i386/stack-check-11.c b/gcc/testsuite/gcc.target/i386/stack-check-11.c
|
|
|
8178f7 |
index fe5b2c2b844..43a291857b6 100644
|
|
|
8178f7 |
--- a/gcc/testsuite/gcc.target/i386/stack-check-11.c
|
|
|
8178f7 |
+++ b/gcc/testsuite/gcc.target/i386/stack-check-11.c
|
|
|
8178f7 |
@@ -1,6 +1,8 @@
|
|
|
8178f7 |
/* { dg-do compile } */
|
|
|
8178f7 |
/* { dg-options "-O2 -fstack-clash-protection" } */
|
|
|
8178f7 |
/* { dg-require-effective-target supports_stack_clash_protection } */
|
|
|
8178f7 |
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
|
|
|
8178f7 |
+
|
|
|
8178f7 |
|
|
|
8178f7 |
#include <stdint.h>
|
|
|
8178f7 |
|
|
|
8178f7 |
diff --git a/gcc/testsuite/gcc.target/i386/stack-check-17.c b/gcc/testsuite/gcc.target/i386/stack-check-17.c
|
|
|
8178f7 |
index dcd29305a2c..da6ea016815 100644
|
|
|
8178f7 |
--- a/gcc/testsuite/gcc.target/i386/stack-check-17.c
|
|
|
8178f7 |
+++ b/gcc/testsuite/gcc.target/i386/stack-check-17.c
|
|
|
8178f7 |
@@ -1,6 +1,8 @@
|
|
|
8178f7 |
/* { dg-do compile } */
|
|
|
8178f7 |
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fomit-frame-pointer" } */
|
|
|
8178f7 |
/* { dg-require-effective-target supports_stack_clash_protection } */
|
|
|
8178f7 |
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
|
|
|
8178f7 |
+
|
|
|
8178f7 |
|
|
|
8178f7 |
|
|
|
8178f7 |
int x0, x1;
|
|
|
8178f7 |
diff --git a/gcc/testsuite/gcc.target/i386/stack-check-18.c b/gcc/testsuite/gcc.target/i386/stack-check-18.c
|
|
|
8178f7 |
index 1638f776267..1cf4bbcfafb 100644
|
|
|
8178f7 |
--- a/gcc/testsuite/gcc.target/i386/stack-check-18.c
|
|
|
8178f7 |
+++ b/gcc/testsuite/gcc.target/i386/stack-check-18.c
|
|
|
8178f7 |
@@ -1,7 +1,7 @@
|
|
|
8178f7 |
/* { dg-do compile } */
|
|
|
8178f7 |
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
|
|
|
8178f7 |
/* { dg-require-effective-target supports_stack_clash_protection } */
|
|
|
8178f7 |
-/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
|
|
|
8178f7 |
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
|
|
|
8178f7 |
|
|
|
8178f7 |
int f1 (char *);
|
|
|
8178f7 |
|
|
|
8178f7 |
diff --git a/gcc/testsuite/gcc.target/i386/stack-check-19.c b/gcc/testsuite/gcc.target/i386/stack-check-19.c
|
|
|
8178f7 |
index c341801189c..49f3a20af8b 100644
|
|
|
8178f7 |
--- a/gcc/testsuite/gcc.target/i386/stack-check-19.c
|
|
|
8178f7 |
+++ b/gcc/testsuite/gcc.target/i386/stack-check-19.c
|
|
|
8178f7 |
@@ -1,7 +1,7 @@
|
|
|
8178f7 |
/* { dg-do compile } */
|
|
|
8178f7 |
/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
|
|
|
8178f7 |
/* { dg-require-effective-target supports_stack_clash_protection } */
|
|
|
8178f7 |
-/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
|
|
|
8178f7 |
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
|
|
|
8178f7 |
|
|
|
8178f7 |
int f1 (char *);
|
|
|
8178f7 |
|