stack-check-5.c: Skip with -fstack-protector.
authorJeff Law <law@redhat.com>
Sun, 8 Oct 2017 15:44:39 +0000 (09:44 -0600)
committerJeff Law <law@gcc.gnu.org>
Sun, 8 Oct 2017 15:44:39 +0000 (09:44 -0600)
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
* gcc.dg/stack-check-6.c: Likewise.
* gcc.dg/stack-check-6a.c: Likewise.

From-SVN: r253527

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/stack-check-5.c
gcc/testsuite/gcc.dg/stack-check-6.c
gcc/testsuite/gcc.dg/stack-check-6a.c

index 4c80e4b..e7045e8 100644 (file)
@@ -1,3 +1,9 @@
+2017-10-03  Jeff Law  <law@redhat.com>
+
+       * gcc.dg/stack-check-5.c: Skip with -fstack-protector.
+       * gcc.dg/stack-check-6.c: Likewise.
+       * gcc.dg/stack-check-6a.c: Likewise.
+
 2017-10-07  Michael Collison <michael.collison@arm.com>
 
        * gcc.target/aarch64/var_shift_mask_2.c: New test.
index 3178f5d..850e023 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { 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" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
 
 
 /* Otherwise the S/390 back-end might save the stack pointer in f2 ()
index ad2021c..ab4b0e8 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { 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" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
 
 
 extern void foo (char *);
index 6f8e712..468d649 100644 (file)
@@ -4,6 +4,8 @@
 /* { dg-do compile  } */
 /* { 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" } */
 /* { dg-require-effective-target supports_stack_clash_protection  } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
+
 
 #include "stack-check-6.c"