From 4cf03f689795a7d4ec6138ceb47247571ce029d6 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 24 Oct 2014 07:57:51 +0000 Subject: [PATCH] fold-const.c (fold_binary_loc): Fix copy-and-pasto. 2014-10-24 Richard Biener * fold-const.c (fold_binary_loc): Fix copy-and-pasto. From-SVN: r216617 --- gcc/ChangeLog | 4 ++++ gcc/fold-const.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 857acd07f82..01f44ecaca0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-10-24 Richard Biener + + * fold-const.c (fold_binary_loc): Fix copy-and-pasto. + 2014-10-24 Markus Trippelsdorf PR bootstrap/63632 diff --git a/gcc/fold-const.c b/gcc/fold-const.c index d70658c32d5..40317f3ace9 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -10596,8 +10596,9 @@ fold_binary_loc (location_t loc, TREE_OPERAND (arg1, 0)); tree arg11 = fold_convert_loc (loc, type, TREE_OPERAND (arg1, 1)); - tree tmp = fold_binary_loc (loc, MINUS_EXPR, type, arg0, - fold_convert_loc (loc, type, arg10)); + tree tmp = fold_binary_loc (loc, MINUS_EXPR, type, + fold_convert_loc (loc, type, arg0), + arg10); if (tmp) return fold_build2_loc (loc, MINUS_EXPR, type, tmp, arg11); } -- 2.30.2