summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/chkp-strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/chkp-strchr.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-strchr.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strchr.c b/gcc/testsuite/gcc.target/i386/chkp-strchr.c
deleted file mode 100644
index 01ee619dfd9..00000000000
--- a/gcc/testsuite/gcc.target/i386/chkp-strchr.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* { dg-do compile { target { ! x32 } } } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
-
-#include "string.h"
-
-static char *
-test1 (char *str)
-{
- return strrchr (str, '_');
-}
-
-char *
-test2 ()
-{
- return test1 ("test_string");
-}