OSDN Git Service

* gcc.c-torture/execute/20060420-1.c: Fix alignment logic.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20041210-1.c
1 /* The FR-V port used to fail this test because the andcc patterns
2    wrongly claimed to set the C and V flags.  */
3 #include <limits.h>
4
5 int x[4] = { INT_MIN / 2, INT_MAX, 2, 4 };
6
7 int
8 main ()
9 {
10   if (x[0] < x[1])
11     if ((x[2] & x[3]) < 0)
12       abort ();
13   exit (0);
14 }