aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ifcombine.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2007-07-24 12:53:14 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2007-07-24 12:53:14 +0000
commit3886f1d07b083598d3be8f8ed7f0c303173e08b3 (patch)
tree5caefa58e16c86078440c033325878b45bd44c99 /gcc/tree-ssa-ifcombine.c
parentaedfac0ec957351085723e56204c4a54adaf089d (diff)
downloadgcc-3886f1d07b083598d3be8f8ed7f0c303173e08b3.zip
gcc-3886f1d07b083598d3be8f8ed7f0c303173e08b3.tar.gz
gcc-3886f1d07b083598d3be8f8ed7f0c303173e08b3.tar.bz2
tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand with the mode of the original operand instead of integer_one_node.
2007-07-24 Andreas Krebbel <krebbel1@de.ibm.com> * tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand with the mode of the original operand instead of integer_one_node. From-SVN: r126876
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
-rw-r--r--gcc/tree-ssa-ifcombine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-ifcombine.c b/gcc/tree-ssa-ifcombine.c
index 9486e54..5da544c 100644
--- a/gcc/tree-ssa-ifcombine.c
+++ b/gcc/tree-ssa-ifcombine.c
@@ -313,9 +313,9 @@ ifcombine_ifandif (basic_block inner_cond_bb, basic_block outer_cond_bb)
/* Do it. */
bsi = bsi_for_stmt (inner_cond);
t = fold_build2 (LSHIFT_EXPR, TREE_TYPE (name1),
- integer_one_node, bit1);
+ build_int_cst (TREE_TYPE (name1), 1), bit1);
t2 = fold_build2 (LSHIFT_EXPR, TREE_TYPE (name1),
- integer_one_node, bit2);
+ build_int_cst (TREE_TYPE (name1), 1), bit2);
t = fold_build2 (BIT_IOR_EXPR, TREE_TYPE (name1), t, t2);
t = force_gimple_operand_bsi (&bsi, t, true, NULL_TREE,
true, BSI_SAME_STMT);