aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-07-31 07:29:55 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-07-31 07:29:55 +0000
commitc7580f6e8e6bbc169e9c801844586d11069214ab (patch)
tree0f45ad73e727969d909b8c9d9b71092cbb19d3ea /gcc/gimple-fold.c
parentcb3306e5bf82c6a0f6de0c98dabdb15cd7e2529e (diff)
downloadgcc-c7580f6e8e6bbc169e9c801844586d11069214ab.zip
gcc-c7580f6e8e6bbc169e9c801844586d11069214ab.tar.gz
gcc-c7580f6e8e6bbc169e9c801844586d11069214ab.tar.bz2
gimple-fold.c (fold_gimple_assign): Remove folding of GIMPLE_BINARY_RHS.
2015-07-31 Richard Biener <rguenther@suse.de> * gimple-fold.c (fold_gimple_assign): Remove folding of GIMPLE_BINARY_RHS. From-SVN: r226429
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r--gcc/gimple-fold.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index 94a5967..86caa8c 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -413,20 +413,6 @@ fold_gimple_assign (gimple_stmt_iterator *si)
break;
case GIMPLE_BINARY_RHS:
- if (TREE_CODE_CLASS (subcode) != tcc_comparison)
- {
- result = fold_binary_loc (loc, subcode,
- TREE_TYPE (gimple_assign_lhs (stmt)),
- gimple_assign_rhs1 (stmt),
- gimple_assign_rhs2 (stmt));
-
- if (result)
- {
- STRIP_USELESS_TYPE_CONVERSION (result);
- if (valid_gimple_rhs_p (result))
- return result;
- }
- }
break;
case GIMPLE_TERNARY_RHS: