Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-fre1-details" } */
3 int t(int a) __attribute__ ((const));
4 void q (void);
5 void
6 threading(int a,int b)
7 {
8 if (t(a))
9 {
10 if (t(a))
11 q();
12 }
13 }
14 /* We should thread the jump twice and eliminate it. */
15 /* { dg-final { scan-tree-dump-times "Replaced.* t " 1 "fre1"} } */