From 77942fbd40ae7e46f7abf9129d22aab14dedf2ce Mon Sep 17 00:00:00 2001 From: Ilya Enkovich Date: Fri, 15 May 2015 09:49:25 +0000 Subject: [PATCH] Add missed testcase for 223215. From-SVN: r223217 --- gcc/testsuite/gcc.target/i386/mpx/pr66134.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gcc/testsuite/gcc.target/i386/mpx/pr66134.c diff --git a/gcc/testsuite/gcc.target/i386/mpx/pr66134.c b/gcc/testsuite/gcc.target/i386/mpx/pr66134.c new file mode 100644 index 00000000000..3889674ed5f --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/mpx/pr66134.c @@ -0,0 +1,17 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -fcheck-pointer-bounds -mmpx -fno-tree-ccp" } */ + +extern int vfork (void) __attribute__ ((__nothrow__ , __leaf__)); +void test1 (void); +void test2 (void); +void test3 (int *); + +void test (int *p) +{ + test1 (); + p++; + test2 (); + p++; + vfork (); + test3 (p); +} -- 2.30.2