summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authoryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-22 14:15:34 +0000
committeryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-22 14:15:34 +0000
commit3ecbeef5c5a4ce5ce1f69d95924564a8bcf7f44a (patch)
tree9c1eb69df7a8901c20ddceee22e3a9067a895ee6 /gcc/fold-const.c
parent49a391ef8e0388b6fc90f290d00ea316cb586602 (diff)
downloadlinaro-gcc-3ecbeef5c5a4ce5ce1f69d95924564a8bcf7f44a.tar.gz
linaro-gcc-3ecbeef5c5a4ce5ce1f69d95924564a8bcf7f44a.tar.bz2
linaro-gcc-3ecbeef5c5a4ce5ce1f69d95924564a8bcf7f44a.zip
Merge branches/gcc-4_9-branch up to rev 209633
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@209635 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 891c0d5151c..5c2bf256c2a 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -484,8 +484,6 @@ negate_expr_p (tree t)
case TRUNC_DIV_EXPR:
case ROUND_DIV_EXPR:
- case FLOOR_DIV_EXPR:
- case CEIL_DIV_EXPR:
case EXACT_DIV_EXPR:
/* In general we can't negate A / B, because if A is INT_MIN and
B is 1, we may turn this into INT_MIN / -1 which is undefined
@@ -682,8 +680,6 @@ fold_negate_expr (location_t loc, tree t)
case TRUNC_DIV_EXPR:
case ROUND_DIV_EXPR:
- case FLOOR_DIV_EXPR:
- case CEIL_DIV_EXPR:
case EXACT_DIV_EXPR:
/* In general we can't negate A / B, because if A is INT_MIN and
B is 1, we may turn this into INT_MIN / -1 which is undefined