stack-check-5.c: Improve dg-skip-if selector for the stack protector.
authorJeff Law <law@redhat.com>
Fri, 20 Apr 2018 17:20:46 +0000 (11:20 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 20 Apr 2018 17:20:46 +0000 (11:20 -0600)
       * gcc.dg/stack-check-5.c: Improve dg-skip-if selector for the
        stack protector.
        * gcc.dg/stack-check-6.c: Likewise.
        * gcc.dg/stack-check-6a.c: Likewise.
        * gcc.target/i386/stack-check-17.c: Add dg-skip-if selector.
        * gcc.target/i386/stack-check-18.c: Likewise.
        * gcc.target/i386/stack-check-19.c: Likewise.

From-SVN: r259528

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
gcc/testsuite/gcc.target/i386/stack-check-17.c
gcc/testsuite/gcc.target/i386/stack-check-18.c
gcc/testsuite/gcc.target/i386/stack-check-19.c

index 4bc930152b82de455d9986b615a8c634f9febf74..5c33c35892bb98cc8f998fdb8534335bf69aa465 100644 (file)
@@ -1,3 +1,13 @@
+2018-04-20  Jeff Law  <law@redhat.com>
+
+       * gcc.dg/stack-check-5.c: Improve dg-skip-if selector for the
+       stack protector.
+       * gcc.dg/stack-check-6.c: Likewise.
+       * gcc.dg/stack-check-6a.c: Likewise.
+       * gcc.target/i386/stack-check-17.c: Add dg-skip-if selector.
+       * gcc.target/i386/stack-check-18.c: Likewise.
+       * gcc.target/i386/stack-check-19.c: Likewise.
+
 2018-04-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        PR testsuite/85483
index 850e023ea4eb8c671a9bda37208c42262e54c7c4..604fa3cf6c5b502f74c1e3497b3b8d72a15bb3ea 100644 (file)
@@ -1,7 +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" } { "" } } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
 
 
 /* Otherwise the S/390 back-end might save the stack pointer in f2 ()
index ab4b0e8894c34551c223c4fcf809a5d150775e17..fe75612b73784c4331912af9575bf496c2ca13c6 100644 (file)
@@ -1,7 +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" } { "" } } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
 
 
 extern void foo (char *);
index 468d649a4faa5302001ad281912d322ae48d94f0..8fb9c621585957a85877ebadfbc4a8daabe4311c 100644 (file)
@@ -4,7 +4,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=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection  } */
-/* { dg-skip-if "" { *-*-* } { "-fstack-protector" } { "" } } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
 
 
 #include "stack-check-6.c"
index d2ef83b348af7a94361a73b1170d603069ff4f21..25ae97740614e3a416d27f6373acf85f8d7d2ad7 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fomit-frame-pointer" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
+
 
 
 int x0, x1;
index 6dbff4402da1288a1c3185d4367c471c79c2905b..1cf4bbcfafb54f4a9a5b75462896c3a9763c384c 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
 
 int f1 (char *);
 
index b92c126d57f72ad147a72aff23fb6de8bd2fc8b9..bf6af5ffc3e95147a249bd8c074ce58be9ca2af5 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fdump-rtl-expand" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
+/* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */
 
 int f1 (char *);