diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/fold-const.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 857acd0..01f44ec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-10-24 Richard Biener <rguenther@suse.de> + + * fold-const.c (fold_binary_loc): Fix copy-and-pasto. + 2014-10-24 Markus Trippelsdorf <markus@trippelsdorf.de> PR bootstrap/63632 diff --git a/gcc/fold-const.c b/gcc/fold-const.c index d70658c3..40317f3 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); } |
