aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gcc.c-torture/compile/20080114-1.c
blob: f251c22b96ee185c661d1717447a367254cd09f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR rtl-optimization/31944 */
/* Origin: Aurelien Jarno <aurelien@aurel32.net> */

int type;

void stuck(int res)
{
  if (type == 1) {
    if (res == 0) asm volatile("");
  }
  else if (type == 0) {
    if (res == 0) asm volatile("" : : "i" (0));
  }
}