diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-03 01:58:35 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-03 01:58:35 +0000 |
commit | b244d4c79af821f051d19ce62d7cd39b33eb9e70 (patch) | |
tree | 20f4c1fadc86f3b89ef524490fc2bd176650f76c /gcc/recog.c | |
parent | 70c2c81c4794f0a090635a99d1c69a0be654f3f8 (diff) | |
download | gcc-b244d4c79af821f051d19ce62d7cd39b33eb9e70.tar.gz |
* explow.c (plus_constant_wide, case LO_SUM): New case.
(plus_constant_for_output_wide): Delete.
* rtl.h (plus_constant_for_output): Delete.
* alias.c (canon_rtx, init_alias_analysis): Call plus_constant
instead of plus_constant_for_output.
* recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
* config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
* config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
* config/sparc/sparc.md: Likewise.
Convert some change_address calls to adjust_address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43720 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index dd5318ba476..10230d5be12 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -1968,7 +1968,7 @@ offsettable_address_p (strictp, mode, y) of the specified mode. We assume that if Y and Y+c are valid addresses then so is Y+d for all 0<d<c. */ - z = plus_constant_for_output (y, mode_sz - 1); + z = plus_constant (y, mode_sz - 1); /* Use QImode because an odd displacement may be automatically invalid for any wider mode. But it should be valid for a single byte. */ @@ -2035,8 +2035,7 @@ adj_offsettable_operand (op, offset) if (CONSTANT_ADDRESS_P (y)) { - new = gen_rtx_MEM (GET_MODE (op), - plus_constant_for_output (y, offset)); + new = gen_rtx_MEM (GET_MODE (op), plus_constant (y, offset)); MEM_COPY_ATTRIBUTES (new, op); return new; } @@ -2051,12 +2050,12 @@ adj_offsettable_operand (op, offset) const_loc = find_constant_term_loc (&z); if (const_loc) { - *const_loc = plus_constant_for_output (*const_loc, offset); + *const_loc = plus_constant (*const_loc, offset); return op; } } - new = gen_rtx_MEM (GET_MODE (op), plus_constant_for_output (y, offset)); + new = gen_rtx_MEM (GET_MODE (op), plus_constant (y, offset)); MEM_COPY_ATTRIBUTES (new, op); return new; } |