* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000403-1.c
blob8bcd6f133cec535db592da3536aae3a67309b9fa
1 extern unsigned long aa[], bb[];
3 int seqgt (unsigned long a, unsigned short win, unsigned long b);
5 int seqgt2 (unsigned long a, unsigned short win, unsigned long b);
7 main()
9 if (! seqgt (*aa, 0x1000, *bb) || ! seqgt2 (*aa, 0x1000, *bb))
10 abort ();
12 exit (0);
15 int
16 seqgt (unsigned long a, unsigned short win, unsigned long b)
18 return (long) ((a + win) - b) > 0;
21 int
22 seqgt2 (unsigned long a, unsigned short win, unsigned long b)
24 long l = ((a + win) - b);
25 return l > 0;
28 unsigned long aa[] = { (1UL << (sizeof (long) * 8 - 1)) - 0xfff };
29 unsigned long bb[] = { (1UL << (sizeof (long) * 8 - 1)) - 0xfff };