]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/pr103228-1.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr103228-1.c
CommitLineData
32221357
AP
1/* { dg-do compile } */
2/* { dg-options "-O2 -fdump-tree-optimized" } */
3int f(int a, int b)
4{
5 b|=1u;
6 b|=2;
7 return b;
8}
9/* { dg-final { scan-tree-dump-times "\\\| 3" 1 "optimized"} } */
10/* { dg-final { scan-tree-dump-times "\\\| 1" 0 "optimized"} } */
11/* { dg-final { scan-tree-dump-times "\\\| 2" 0 "optimized"} } */