diff options
author | Richard Biener <rguenther@suse.de> | 2016-11-09 15:15:28 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-11-09 15:15:28 +0000 |
commit | 14e7281244ddf777d822f1e99518f0e15b0bfea6 (patch) | |
tree | 73df188c516c30ba22babcd35c5781b2add0a224 /gcc/tree-ssa-dom.c | |
parent | 2c49f22a484e13d6fceeb2af6ea045c17ece466b (diff) | |
download | gcc-14e7281244ddf777d822f1e99518f0e15b0bfea6.zip gcc-14e7281244ddf777d822f1e99518f0e15b0bfea6.tar.gz gcc-14e7281244ddf777d822f1e99518f0e15b0bfea6.tar.bz2 |
fold-const.c (tree_swap_operands_p): Remove unused arg.
2016-11-09 Richard Biener <rguenther@suse.de>
* fold-const.c (tree_swap_operands_p): Remove unused arg.
* fold-const.c (tree_swap_operands_p): Likewise.
(fold_binary_loc): Adjust.
(fold_ternary_loc): Likewise.
* genmatch.c (dt_operand::gen_gimple_exp): Likewise.
* gimple-fold.c (fold_stmt_1): Likewise.
* gimple-match-head.c (gimple_resimplify2): Likewise.
(gimple_resimplify3): Likewise.
(gimple_simplify): Likewise.
* tree-ssa-dom.c (record_equality): Likewise.
* tree-ssa-reassoc.c (optimize_range_tests_var_bound): Likewise.
* tree-ssa-sccvn.c (vn_nary_op_compute_hash): Likewise.
* tree-ssa-threadedge.c (simplify_control_stmt_condition_1): Likewise.
From-SVN: r242004
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 85689f3..1839c8a 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -1136,7 +1136,7 @@ record_equality (tree x, tree y, class const_and_copies *const_and_copies) { tree prev_x = NULL, prev_y = NULL; - if (tree_swap_operands_p (x, y, false)) + if (tree_swap_operands_p (x, y)) std::swap (x, y); /* Most of the time tree_swap_operands_p does what we want. But there |