2 /* { dg-options "-O2" } */
8 static inline void foo (unsigned long base
, unsigned char val
)
11 bar (val
& (1<<5) ? "1" : "2");
12 bar (val
& (1<<4) ? "1" : "2");
13 bar (val
& (1<<3) ? "1" : "2");
14 bar (val
& (1<<2) ? "1" : "2");
15 bar (val
& (1<<1) ? "1" : "2");
16 bar (val
& (1<<0) ? "1" : "2");
17 asm volatile ("": :"a" (val
), "d" (base
));