]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-12.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-12.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-dse1" } */
3
4 void foo (int *p, int b)
5 {
6 if (b)
7 *p = 1;
8 *p = 0;
9 }
10
11 /* { dg-final { scan-tree-dump-times "\\\*p" 1 "dse1" } } */