]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/fold-ior-3.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / fold-ior-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
3
4 int
5 fn1 (_Bool a)
6 {
7 return ((int) a) | ((int) ~a);
8 }
9
10 int
11 fn2 (unsigned char a)
12 {
13 return ((int) a) | ((int) ~a);
14 }
15
16 int
17 fn3 (unsigned short a)
18 {
19 return ((int) a) | ((int) ~a);
20 }
21
22 int
23 fn4 (signed char a)
24 {
25 return ((int) a) | ((int) ~a);
26 }
27
28 int
29 fn5 (signed short a)
30 {
31 return ((int) a) | ((int) ~a);
32 }
33
34 /* { dg-final { scan-tree-dump-not "~" "cddce1" } } */
35 /* { dg-final { scan-tree-dump-not " \\| " "cddce1" } } */