Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr94801.c

raw
1 /* PR tree-optimization/94801 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-times "return 0;" 2 "optimized" } } */
5
6 int
7 foo (int a)
8 {
9 return __builtin_clz (a) >> 5;
10 }
11
12 int
13 bar (int a)
14 {
15 return __builtin_ctz (a) >> 5;
16 }