Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/phi-opt-15.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3
4 int
5 foo (int i)
6 {
7 if (i > 0)
8 i = -i;
9 return i;
10 }
11
12 /* We should not have ABS_EXPR but ABSU_EXPR instead. */
13 /* { dg-final { scan-tree-dump-not "ABS_EXPR" "optimized" } } */
14 /* { dg-final { scan-tree-dump "ABSU" "optimized" } } */