aboutsummaryrefslogtreecommitdiff
path: root/gcc/dojump.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-27 16:02:43 +0000
committerKazu Hirata <kazu@cs.umass.edu>2005-04-27 16:02:43 +0000
commit15fce9ab3054242a5885589629e6e0e198470046 (patch)
treecb76f3875be6539713ada23941496242dccb3731 /gcc/dojump.c
parent5f476a046e7a6f1275da443712bf79bd923e171e (diff)
* dojump.c: Fix comment typos. emit-rtl.c, expmed.c, expr.c,
stmt.c, stor-layout.c: Use fold_buildN instead of fold (buildN (...)). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98848 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r--gcc/dojump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c
index 3c9d88a548b..c274a6ecff4 100644
--- a/gcc/dojump.c
+++ b/gcc/dojump.c
@@ -504,8 +504,8 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label)
if (if_true_label == 0)
drop_through_label = if_true_label = gen_label_rtx ();
- cmp0 = fold (build2 (tcode1, TREE_TYPE (exp), op0, op1));
- cmp1 = fold (build2 (tcode2, TREE_TYPE (exp), op0, op1));
+ cmp0 = fold_build2 (tcode1, TREE_TYPE (exp), op0, op1);
+ cmp1 = fold_build2 (tcode2, TREE_TYPE (exp), op0, op1);
do_jump (cmp0, 0, if_true_label);
do_jump (cmp1, if_false_label, if_true_label);
}