2 20031011-1.c from the execute part of the gcc torture tests.
11 /* Check that MAX_EXPR and MIN_EXPR are working properly. */
13 #define MAX(X,Y) ((X) > (Y) ? (X) : (Y))
14 #define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
17 testTortureExecute (void)
19 int ll_bitsize
, ll_bitpos
;
20 int rl_bitsize
, rl_bitpos
;
23 ll_bitpos
= 32; ll_bitsize
= 32;
24 rl_bitpos
= 0; rl_bitsize
= 32;
26 end_bit
= MAX (ll_bitpos
+ ll_bitsize
, rl_bitpos
+ rl_bitsize
);
29 end_bit
= MAX (rl_bitpos
+ rl_bitsize
, ll_bitpos
+ ll_bitsize
);
32 end_bit
= MIN (ll_bitpos
+ ll_bitsize
, rl_bitpos
+ rl_bitsize
);
35 end_bit
= MIN (rl_bitpos
+ rl_bitsize
, ll_bitpos
+ ll_bitsize
);