]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/reassoc-30.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / reassoc-30.c
1 /* PR tree-optimization/57442 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1" } */
4 short a;
5 unsigned b;
6 long c;
7 int d;
8
9 void f(void)
10 {
11 b = a ? : (a = b) - c + (d - (b + b));
12 }
13