1 ===================================================================
2 RCS file: /cvs/gcc/gcc/gcc/tree-ssa-pre.c,v
3 retrieving revision 2.65.4.2
4 retrieving revision 2.65.4.3
5 diff -u -r2.65.4.2 -r2.65.4.3
6 --- gcc/gcc/tree-ssa-pre.c 2005/04/17 23:40:31 2.65.4.2
7 +++ gcc/gcc/tree-ssa-pre.c 2005/04/25 14:02:31 2.65.4.3
10 folded = fold (build (TREE_CODE (expr), TREE_TYPE (expr),
12 - newexpr = force_gimple_operand (folded, &forced_stmts, false, NULL);
13 + newexpr = force_gimple_operand (unshare_expr (folded),
14 + &forced_stmts, false, NULL);
17 tsi = tsi_start (forced_stmts);
18 @@ -1372,14 +1373,8 @@
19 add_referenced_tmp_var (temp);
20 folded = fold (build (TREE_CODE (expr), TREE_TYPE (expr),
22 - /* If the generated operand is already GIMPLE min_invariant
23 - just use it instead of calling force_gimple_operand on it,
24 - since that may make it not invariant by copying it into an
26 - if (!is_gimple_min_invariant (genop1))
27 - newexpr = force_gimple_operand (folded, &forced_stmts, false, NULL);
30 + newexpr = force_gimple_operand (unshare_expr (folded),
31 + &forced_stmts, false, NULL);
34 tsi = tsi_start (forced_stmts);