From 9289fc25c2aef05da84a8edade48c259ef624ab8 Mon Sep 17 00:00:00 2001 From: krebbel Date: Tue, 24 Jul 2007 12:53:14 +0000 Subject: 2007-07-24 Andreas Krebbel * tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand with the mode of the original operand instead of integer_one_node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126876 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-ssa-ifcombine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-ssa-ifcombine.c') diff --git a/gcc/tree-ssa-ifcombine.c b/gcc/tree-ssa-ifcombine.c index 9486e54281d..5da544c2100 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); -- cgit v1.2.1