PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-remove-bndint-1.c
blob7c0f13f8ccf8e41fd9fc8f866cc60c2f6d65cb38
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-optimized" } */
3 /* { dg-final { scan-tree-dump-not "bndint" "optimized" } } */
5 struct S
7 int a;
8 int b;
9 int c;
12 int test (struct S *ps)
14 int *pi = &ps->b;
15 return *pi;