Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr105735-2.c

raw
1 /* { dg-do run } */
2 /* { dg-options "-O1" } */
3
4 #include "pr105735-1.c"
5
6 int main()
7 {
8 unsigned int tmp = 0x1101;
9 unsigned int bit2 = 0x111101;
10 if (foo (tmp, bit2) != 0x1101)
11 __builtin_abort ();
12 if (foo1 (tmp, bit2) != 0x1101)
13 __builtin_abort ();
14 if (foo2 (tmp, bit2) != 0x111101)
15 __builtin_abort ();
16 if (foo3 (tmp, bit2) != 0x111101)
17 __builtin_abort ();
18 if (foo4 (tmp, bit2) != 0x1101)
19 __builtin_abort ();
20 if (foo5 (tmp, bit2) != 0x110000)
21 __builtin_abort ();
22 if (f (tmp, 64, bit2) != 0x1101)
23 __builtin_abort ();
24 if (f1 (tmp, 64, bit2) != 0x111101)
25 __builtin_abort ();
26 if (f2 (tmp, 64, bit2) != 0x1101)
27 __builtin_abort ();
28 }