libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr94801.c
blob5382e5ee9600738840eda4f297e7b2f1f30a0e4e
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" } } */
6 int
7 foo (int a)
9 return __builtin_clz (a) >> 5;
12 int
13 bar (int a)
15 return __builtin_ctz (a) >> 5;