diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-05-09 09:22:57 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-05-09 09:22:57 +0000 |
commit | 372d6395266c651119da7da9b870d0dd8ec56d6c (patch) | |
tree | 66becb49e2a6ddf4ae20c76c905c9a2f85112ee3 /gcc/reload.c | |
parent | 45d05c5fecb93383a55db7c024e3ccb3137fe4a5 (diff) | |
download | gcc-372d6395266c651119da7da9b870d0dd8ec56d6c.zip gcc-372d6395266c651119da7da9b870d0dd8ec56d6c.tar.gz gcc-372d6395266c651119da7da9b870d0dd8ec56d6c.tar.bz2 |
re PR bootstrap/53249 (Bootstrap failure)
gcc/
PR middle-end/53249
* dwarf2out.h (get_address_mode): Move declaration to...
* rtl.h: ...here.
* dwarf2out.c (get_address_mode): Move definition to...
* rtlanal.c: ...here.
* var-tracking.c (get_address_mode): Delete.
* combine.c (find_split_point): Use get_address_mode instead of
targetm.addr_space.address_mode.
* cselib.c (cselib_record_sets): Likewise.
* dse.c (canon_address, record_store): Likewise.
* emit-rtl.c (adjust_address_1, offset_address): Likewise.
* expr.c (move_by_pieces, emit_block_move_via_loop, store_by_pieces)
(store_by_pieces_1, expand_assignment, store_expr, store_constructor)
(expand_expr_real_1): Likewise.
* ifcvt.c (noce_try_cmove_arith): Likewise.
* optabs.c (maybe_legitimize_operand_same_code): Likewise.
* reload.c (find_reloads): Likewise.
* sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise.
* sel-sched-dump.c (debug_mem_addr_value): Likewise.
From-SVN: r187320
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index bcc7750..ed14e63 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -3993,10 +3993,8 @@ find_reloads (rtx insn, int replace, int ind_levels, int live_known, as would have been done by find_reloads_address. */ addr_space_t as = MEM_ADDR_SPACE (recog_data.operand[i]); enum machine_mode address_mode; - address_mode = GET_MODE (XEXP (recog_data.operand[i], 0)); - if (address_mode == VOIDmode) - address_mode = targetm.addr_space.address_mode (as); + address_mode = get_address_mode (recog_data.operand[i]); operand_reloadnum[i] = push_reload (XEXP (recog_data.operand[i], 0), NULL_RTX, &XEXP (recog_data.operand[i], 0), (rtx*) 0, |