summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr37395.c
blob: e15b1543f3e2ca0c945d00d304361259dcecada7 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR target/37395 */

int
f (int j)
{
  int i;
  asm volatile ("" : "=r"(i));
  if (i >= 0)
    j = 0;
  return j;
}