summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ssp-1.c
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-28 23:08:26 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-28 23:08:26 +0000
commit0ce017230b334b213d0b7e9ea796c64b50fc90a1 (patch)
tree681a2987ea634275619dd4486e59cb7312346c68 /gcc/testsuite/gcc.dg/ssp-1.c
parentd80b6b7de3e98bff8084956becdf478d83ff0d56 (diff)
downloadgcc-0ce017230b334b213d0b7e9ea796c64b50fc90a1.tar.gz
2007-03-28 Eric Christopher <echristo@apple.com>
* lib/target-supports.exp (check_effective_target_fstack_protector): New. * gcc.dg/ssp-1.c: Use. * gcc.dg/ssp-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/ssp-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/ssp-1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/ssp-1.c b/gcc/testsuite/gcc.dg/ssp-1.c
index c839a5d3ae2..e71522bbfd3 100644
--- a/gcc/testsuite/gcc.dg/ssp-1.c
+++ b/gcc/testsuite/gcc.dg/ssp-1.c
@@ -1,5 +1,7 @@
/* { dg-do run { target native } } */
/* { dg-options "-fstack-protector" } */
+/* { dg-require-effective-target fstack_protector } */
+
#include <stdlib.h>
static void