]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/fold-xor-5.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / fold-xor-5.c
CommitLineData
9ea65ca6
MP
1/* { dg-do compile } */
2/* { dg-options "-O -fdump-tree-cddce1" } */
3
4int
5fn1 (int a, int b)
6{
7 int tem1 = a | b;
8 int tem2 = a ^ b;
9 return tem1 ^ tem2;
10}
11
12int
13fn2 (int a, int b)
14{
15 int tem1 = b | a;
16 int tem2 = a ^ b;
17 return tem1 ^ tem2;
18}
19
20int
21fn3 (int a, int b)
22{
23 int tem1 = a | b;
24 int tem2 = b ^ a;
25 return tem1 ^ tem2;
26}
27
28int
29fn4 (int a, int b)
30{
31 int tem1 = b | a;
32 int tem2 = b ^ a;
33 return tem1 ^ tem2;
34}
35
36int
37fn5 (int a, int b)
38{
39 int tem1 = a ^ b;
40 int tem2 = a | b;
41 return tem1 ^ tem2;
42}
43
44int
45fn6 (int a, int b)
46{
47 int tem1 = b ^ a;
48 int tem2 = a | b;
49 return tem1 ^ tem2;
50}
51
52int
53fn7 (int a, int b)
54{
55 int tem1 = a ^ b;
56 int tem2 = b | a;
57 return tem1 ^ tem2;
58}
59
60int
61fn8 (int a, int b)
62{
63 int tem1 = b ^ a;
64 int tem2 = b | a;
65 return tem1 ^ tem2;
66}
67
68/* { dg-final { scan-tree-dump-not " \\| " "cddce1" } } */
69/* { dg-final { scan-tree-dump-not " \\^ " "cddce1" } } */