diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-im.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c651077..41224f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-31 David Edelsohn <edelsohn@gnu.org> + + * tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of + expensive operations. + 2005-03-31 Ian Lance Taylor <ian@airs.com> * collect2.c (lderrout): New variable. diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index 51ada3d..98bc76b 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -436,6 +436,7 @@ stmt_cost (tree stmt) case FLOOR_MOD_EXPR: case ROUND_MOD_EXPR: case TRUNC_MOD_EXPR: + case RDIV_EXPR: /* Division and multiplication are usually expensive. */ cost += 20; break; |