aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr65184.c
blob: 0355f29a0f276e63b0e164939feeddc8c6bd868c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-require-effective-target mpx } */
/* { dg-options "-O2 -mabi=ms -fcheck-pointer-bounds -mmpx" } */

void
foo (int *a)
{
  if (a[0] != a[1] * 2333)
    __builtin_abort ();
}

void
bar (int *a)
{
  if (a[0] != a[1] * 2333)
    __builtin_abort ();
}