Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr99473-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-cselim -fallow-store-data-races -fdump-tree-cselim-details" } */
3
4 void f (int*);
5
6 void g3 (int i)
7 {
8 int x = 0;
9 if (i)
10 x = i;
11 f (&x);
12 }
13
14 /* { dg-final { scan-tree-dump "Conditional store replacement happened" "cselim" } } */