diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/avr/avr.c | 2 | ||||
| -rw-r--r-- | gcc/config/avr/avr.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bec597..a45abff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru> + + * config/avr/avr.c (address_cost): renamed to avr_address_cost. + * config/avr/avr.h (ADDRESS_COST): use avr_address_cost. + Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru> * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 75cf58e..df05ca6 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -3481,7 +3481,7 @@ default_rtx_costs (X, code, outer_code) /* Calculate the cost of a memory address */ int -address_cost (rtx x) +avr_address_cost (rtx x) { if (GET_CODE (x) == PLUS && GET_CODE (XEXP (x,1)) == CONST_INT diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 38e214f..c180e6c 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -1817,7 +1817,7 @@ do { \ This macro is optional; do not define it if the default cost assumptions are adequate for the target machine. */ -#define ADDRESS_COST(ADDRESS) address_cost (ADDRESS) +#define ADDRESS_COST(ADDRESS) avr_address_cost (ADDRESS) /* An expression giving the cost of an addressing mode that contains ADDRESS. If not defined, the cost is computed from the ADDRESS |
