OSDN Git Service

* gcc/config/arm/arm.md (mov_notscc): Use MVN for false condition.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / pr37102.c
1 extern void abort (void);
2
3 unsigned int a, b = 1, c;
4
5 void __attribute__ ((noinline))
6 foo (int x)
7 {
8   if (x != 5)
9     abort ();
10 }
11
12 int
13 main ()
14 {
15   unsigned int d, e;
16   for (d = 1; d < 5; d++)
17     if (c)
18       a = b;
19   a = b;
20   e = a << 1;
21   if (e)
22     e = (e << 1) ^ 1;
23   foo (e);
24   return 0;
25 }