aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr100278.c
blob: 4631080316978a91b0016fd6d2150478549a39c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

void a()
{
#if defined __s390__
  register int b asm("r5");
#elif defined __x86_64__
  register int b asm("eax");
#else
  volatile int b;
#endif
  if (b)
    b = 1;
  for (; b;)
    ;
}