projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede6287
)
* fold-const.c (fold_binary): Remove handling of RANGE_EXPR.
author
Kazu Hirata
<kazu@cs.umass.edu>
Mon, 7 Mar 2005 03:20:54 +0000
(
03:20
+0000)
committer
Kazu Hirata
<kazu@gcc.gnu.org>
Mon, 7 Mar 2005 03:20:54 +0000
(
03:20
+0000)
From-SVN: r96002
gcc/ChangeLog
patch
|
blob
|
history
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 521aebed82dab3a48074df6913fd233519f8fca4..6c46d5822c012589fc91423097a0000c59c8ef5e 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
+
+ * fold-const.c (fold_binary): Remove handling of RANGE_EXPR.
+
2005-03-06 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/predicates.md (branch_comparison_operator): Remove
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index 1cab3fea43a1caab1c6e6ed250bff8feee1a57e1..b5f919eadf3ec052e31e93ccc851a6952cc2c4ac 100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-7176,16
+7176,6
@@
fold_binary (tree expr)
switch (code)
{
- case RANGE_EXPR:
- if (TREE_CONSTANT (t) != wins)
- {
- tem = copy_node (t);
- TREE_CONSTANT (tem) = wins;
- TREE_INVARIANT (tem) = wins;
- return tem;
- }
- return t;
-
case PLUS_EXPR:
/* A + (-B) -> A - B */
if (TREE_CODE (arg1) == NEGATE_EXPR)