2 pr60822.c from the execute part of the gcc torture tests.
14 /* PR rtl-optimization/63843 */
17 unsigned short foo (unsigned short v
)
19 return (v
<< 8) | (v
>> 8);
23 bar (unsigned char *x
)
27 memcpy (&a
, &x
[0], sizeof (a
));
29 memcpy (&x
[0], &a
, sizeof (a
));
30 memcpy (&b
, &x
[2], sizeof (b
));
35 testTortureExecute (void)
37 unsigned char x
[8] = { 0x01, 0x01, 0x01, 0x01 };
39 && sizeof (short) == 2
41 && bar (x
) != 0x8181U
)