13f101
commit 15d5202e75021f2c41b8a1cb344c04b8915e9d4e
13f101
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
13f101
Date:   Sun Oct 8 15:44:39 2017 +0000
13f101
13f101
            * gcc.dg/stack-check-5.c: Skip with -fstack-protector.
13f101
            * gcc.dg/stack-check-6.c: Likewise.
13f101
            * gcc.dg/stack-check-6a.c: Likewise.
13f101
    
13f101
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253527 138bc75d-0d04-0410-961f-82ee72b054a4
13f101
13f101
diff --git a/gcc/testsuite/gcc.dg/stack-check-5.c b/gcc/testsuite/gcc.dg/stack-check-5.c
13f101
index 3178f5d8ce5..850e023ea4e 100644
13f101
--- a/gcc/testsuite/gcc.dg/stack-check-5.c
13f101
+++ b/gcc/testsuite/gcc.dg/stack-check-5.c
13f101
@@ -1,6 +1,7 @@
13f101
 /* { dg-do compile } */
13f101
 /* { 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" } */
13f101
 /* { dg-require-effective-target supports_stack_clash_protection } */
13f101
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
13f101
 
13f101
 
13f101
 /* Otherwise the S/390 back-end might save the stack pointer in f2 ()
13f101
diff --git a/gcc/testsuite/gcc.dg/stack-check-6.c b/gcc/testsuite/gcc.dg/stack-check-6.c
13f101
index ad2021c9037..ab4b0e8894c 100644
13f101
--- a/gcc/testsuite/gcc.dg/stack-check-6.c
13f101
+++ b/gcc/testsuite/gcc.dg/stack-check-6.c
13f101
@@ -1,6 +1,7 @@
13f101
 /* { dg-do compile } */
13f101
 /* { 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" } */
13f101
 /* { dg-require-effective-target supports_stack_clash_protection } */
13f101
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
13f101
 
13f101
 
13f101
 extern void foo (char *);
13f101
diff --git a/gcc/testsuite/gcc.dg/stack-check-6a.c b/gcc/testsuite/gcc.dg/stack-check-6a.c
13f101
index 6f8e7128921..468d649a4fa 100644
13f101
--- a/gcc/testsuite/gcc.dg/stack-check-6a.c
13f101
+++ b/gcc/testsuite/gcc.dg/stack-check-6a.c
13f101
@@ -4,6 +4,8 @@
13f101
 /* { dg-do compile  } */
13f101
 /* { 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" } */
13f101
 /* { dg-require-effective-target supports_stack_clash_protection  } */
13f101
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
13f101
+
13f101
 
13f101
 #include "stack-check-6.c"
13f101