OSDN Git Service

PR tree-optimization/51246
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20080114-1.c
1 /* PR rtl-optimization/31944 */
2 /* Origin: Aurelien Jarno <aurelien@aurel32.net> */
3
4 int type;
5
6 void stuck(int res)
7 {
8   if (type == 1) {
9     if (res == 0) asm volatile("");
10   }
11   else if (type == 0) {
12     if (res == 0) asm volatile("" : : "i" (0));
13   }
14 }