diff options
author | Li Jia He <helijia@gcc.gnu.org> | 2019-05-06 13:17:20 +0000 |
---|---|---|
committer | Li Jia He <helijia@gcc.gnu.org> | 2019-05-06 13:17:20 +0000 |
commit | a37aba10107504daad790b0595dd4ef73ad59a6f (patch) | |
tree | 46d42c1851b61a696d77f02104ff2541ced4cb27 /gcc/tree-ssa-phiopt.c | |
parent | 3bc104bdb4b5aa99ff6dceb246beaa65b012c5ac (diff) | |
download | gcc-a37aba10107504daad790b0595dd4ef73ad59a6f.zip gcc-a37aba10107504daad790b0595dd4ef73ad59a6f.tar.gz gcc-a37aba10107504daad790b0595dd4ef73ad59a6f.tar.bz2 |
This reverts commit r270894, as new testcase fails on arm and aarch64, I am sorry for this.
From-SVN: r270910
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index 90674a2..219791e 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -602,7 +602,7 @@ two_value_replacement (basic_block cond_bb, basic_block middle_bb, || TREE_CODE (arg1) != INTEGER_CST || (tree_int_cst_lt (arg0, arg1) ? wi::to_widest (arg0) + 1 != wi::to_widest (arg1) - : wi::to_widest (arg1) + 1 != wi::to_widest (arg0))) + : wi::to_widest (arg1) + 1 != wi::to_widest (arg1))) return false; if (!empty_block_p (middle_bb)) |