Add missed testcase for 223215.
From-SVN: r223217
This commit is contained in:
parent
2662516181
commit
77942fbd40
1 changed files with 17 additions and 0 deletions
17
gcc/testsuite/gcc.target/i386/mpx/pr66134.c
Normal file
17
gcc/testsuite/gcc.target/i386/mpx/pr66134.c
Normal file
|
@ -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);
|
||||
}
|
Loading…
Add table
Reference in a new issue