2 pr47337.c from the execute part of the gcc torture tests.
13 #if !defined(__SDCC_mcs51) && !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
15 /* PR rtl-optimization/47337 */
17 static unsigned int a
[256], b
= 0;
19 static int d
= 0, *f
= &d
;
20 static long long e
= 0;
23 foo (long long x
, long long y
)
37 *f
= (y
!= (short) (y
* 3));
38 for (c
= 0; c
< 2; c
++)
59 fnx (unsigned long long x
, int y
)
65 b
= a
[(b
^ (x
& 1)) & 1];
66 b
= a
[(b
^ (x
& 1)) & 1];
70 const char *volatile w
= "2";
74 testTortureExecute (void)
76 #if !defined(__SDCC_mcs51) && !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
82 if (strcmp (w
, "1") == 0)
85 for (i
= 0; i
< 256; i
++)
87 for (j
= 8; j
> 0; j
--)
91 for (i
= 0; i
< 8; i
++)
95 d
= baz (c
, 1 | foo (l
[0], 10));