libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / phi-opt-13.c
blobb72f39e19aee68dc3d6436392cef41b48d3f9ccf
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 // Division is expensive
5 long f(long a, long b) {
6 if (__builtin_expect(b == 1, 1)) return a;
7 return a / b;
10 /* { dg-final { scan-tree-dump-times "goto " 2 "optimized" } } */