OSDN Git Service

PR middle-end/37882
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20050104-1.c
1 /* PR tree-optimization/19060 */
2
3 void abort (void);
4
5 static
6 long long min ()
7 {
8   return -__LONG_LONG_MAX__ - 1;
9 }
10
11 void
12 foo (long long j)
13 {
14   if (j > 10 || j < min ())
15     abort ();
16 }
17
18 int
19 main (void)
20 {
21   foo (10);
22   return 0;
23 }