From 55a6ba9ff30131802ac5896dfc3807cce3e97e09 Mon Sep 17 00:00:00 2001 From: John Carr Date: Wed, 24 Jun 1998 13:32:56 +0000 Subject: 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 --- gcc/expmed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/expmed.c') 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; -- cgit v1.1