diff options
author | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-05-15 09:49:25 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-05-15 09:49:25 +0000 |
commit | 77942fbd40ae7e46f7abf9129d22aab14dedf2ce (patch) | |
tree | a350dd6d1c76d0df15d4e302a3778bc57678ab0f | |
parent | 2662516181b774ace565b4672cfe3cd32728cd7c (diff) | |
download | gcc-77942fbd40ae7e46f7abf9129d22aab14dedf2ce.zip gcc-77942fbd40ae7e46f7abf9129d22aab14dedf2ce.tar.gz gcc-77942fbd40ae7e46f7abf9129d22aab14dedf2ce.tar.bz2 |
Add missed testcase for 223215.
From-SVN: r223217
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mpx/pr66134.c | 17 |
1 files changed, 17 insertions, 0 deletions
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 0000000..3889674 --- /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); +} |