2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-pre-details -fno-code-hoisting" } */
5 int foo (int i
, int b
, int result
)
13 result
= result
& mask
;
17 /* We should insert i + 1 into the if (b) path as well as the simplified
18 i + 1 & -2 expression. And do replacement with two PHI temps. */
19 /* With hoisting enabled we'd hoist i + 1 to before the if, retaining
22 /* { dg-final { scan-tree-dump-times "with prephitmp" 2 "pre" } } */