Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 /* { dg-final { scan-tree-dump-not " >= 0\\)" "optimized" } } */
4 int f(int a, int *b, int *d)
5 {
6 int c = __builtin_clz(a);
7
8 *b = c;
9
10 if (c != 0)
11 *d = c;
12
13 return c;
14 }