diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c651077ce6f..41224f436af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-31 David Edelsohn + + * tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of + expensive operations. + 2005-03-31 Ian Lance Taylor * collect2.c (lderrout): New variable. diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index 51ada3d8056..98bc76babd4 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;