Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/bt386.c

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 foo (a, b)
4 {
5 return (a & (1 << b)) != 0;
6 }
7
8 bar (a, b)
9 {
10 a ^= (1 << b);
11 return a != 0;
12 }
13
14 main ()
15 {
16 int i;
17 for (i = 0; i < 32; i++)
18 printf ("%d ", foo (0x8000000f, i));
19 puts ("");
20 }