Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 20000614-1.c
blob5e86f02e4625e5b4e183d141a443ff73cac82799
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 void bar(char *p)
8 static inline void foo (unsigned long base, unsigned char val)
10 val ^= (1<<2);
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));
20 int main (void)
22 foo (23, 1);
23 return 0;