2 20000403-1.c from the execute part of the gcc torture tests.
11 extern unsigned long aa
[], bb
[];
13 int seqgt (unsigned long a
, unsigned short win
, unsigned long b
);
15 int seqgt2 (unsigned long a
, unsigned short win
, unsigned long b
);
18 testTortureExecute (void)
20 if (! seqgt (*aa
, 0x1000, *bb
) || ! seqgt2 (*aa
, 0x1000, *bb
))
27 seqgt (unsigned long a
, unsigned short win
, unsigned long b
)
29 return (long) ((a
+ win
) - b
) > 0;
33 seqgt2 (unsigned long a
, unsigned short win
, unsigned long b
)
35 long l
= ((a
+ win
) - b
);
39 unsigned long aa
[] = { (1UL << (sizeof (long) * 8 - 1)) - 0xfff };
40 unsigned long bb
[] = { (1UL << (sizeof (long) * 8 - 1)) - 0xfff };