From: Ilya Enkovich Date: Fri, 15 May 2015 09:49:25 +0000 (+0000) Subject: Add missed testcase for 223215. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77942fbd40ae7e46f7abf9129d22aab14dedf2ce;p=gcc.git Add missed testcase for 223215. From-SVN: r223217 --- 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); +}