1 /* { dg-do compile { target fpic } } */
2 /* { dg-require-effective-target bswap } */
3 /* { dg-options "-O2 -fPIC -fdump-tree-bswap" } */
4 /* { dg-additional-options "-march=z900" { target s390*-*-* } } */
6 void mach_parse_compressed(unsigned char* ptr
, unsigned long int* val
)
9 *val
= ptr
[0] + ptr
[1];
13 *val
= ((unsigned long int)(ptr
[0]) << 24)
14 | ((unsigned long int)(ptr
[1]) << 16)
15 | ((unsigned long int)(ptr
[2]) << 8)
19 /* { dg-final { scan-tree-dump-not "load_dst_\\d+ =.* if \\(" "bswap" } } */