Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/20041210-1.c

raw
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 void abort (void);
6 void exit (int);
7
8 int x[4] = { INT_MIN / 2, INT_MAX, 2, 4 };
9
10 int
11 main ()
12 {
13 if (x[0] < x[1])
14 if ((x[2] & x[3]) < 0)
15 abort ();
16 exit (0);
17 }