]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/pr89430-3.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr89430-3.c
CommitLineData
b9ef6a2e 1/* { dg-do compile } */
d081516a 2/* { dg-options "-O2 -ftree-cselim -fdump-tree-cselim-details" } */
b9ef6a2e
JL
3
4unsigned a[2];
5unsigned test(unsigned k, unsigned b) {
6 if (b < a[k]) {
7 a[k] = b;
8 }
9 return a[0]+a[1];
10}
11
12/* { dg-final { scan-tree-dump-not "Conditional store replacement" "cselim" } } */