aboutsummaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1998-06-24 13:32:56 +0000
committerJohn Carr <jfc@gcc.gnu.org>1998-06-24 13:32:56 +0000
commit55a6ba9ff30131802ac5896dfc3807cce3e97e09 (patch)
treedef34a1d770f2055f440961a60928083abb82ee8 /gcc/expmed.c
parent135edcfd71681785d1ff73c619135f7e9de446bc (diff)
downloadgcc-55a6ba9ff30131802ac5896dfc3807cce3e97e09.zip
gcc-55a6ba9ff30131802ac5896dfc3807cce3e97e09.tar.gz
gcc-55a6ba9ff30131802ac5896dfc3807cce3e97e09.tar.bz2
expr.c (get_memory_rtx): New function.
* expr.c (get_memory_rtx): New function. (expand_builtin): Call get_memory_rtx for MEM arguments to builtin string functions. * expmed.c (init_expmed): Initialize all elements of *_cost arrays. From-SVN: r20700
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index d952d1b..17a9af7 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -122,7 +122,7 @@ init_expmed ()
shift_cost[0] = 0;
shiftadd_cost[0] = shiftsub_cost[0] = add_cost;
- for (m = 1; m < BITS_PER_WORD; m++)
+ for (m = 1; m < MAX_BITS_PER_WORD; m++)
{
shift_cost[m] = shiftadd_cost[m] = shiftsub_cost[m] = 32000;