Commit 4cf03f68 by Richard Biener Committed by Richard Biener

fold-const.c (fold_binary_loc): Fix copy-and-pasto.

2014-10-24  Richard Biener  <rguenther@suse.de>

	* fold-const.c (fold_binary_loc): Fix copy-and-pasto.

From-SVN: r216617
parent fa608e77
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
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment