summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/andsparc.c
blob: 62f0de003b232f62a92fb8013dc5185e762cd5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
foo (int *p)
{
  int a, b;

  a = 123456;
  a += p[0];
  b = p[0];
  if (a == 0)
    return b;
  return 1;
}