diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-26 11:02:27 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-26 11:02:27 +0000 |
commit | dcd6d0f4c726667e51d190a5823ee277b334ffa8 (patch) | |
tree | dba2c286c477be2bf4c71b98ce3dda560e91b05a /gcc/expr.c | |
parent | d5e47a460c58fc586e45a48861b7e240bac9e7ef (diff) | |
download | gcc-dcd6d0f4c726667e51d190a5823ee277b334ffa8.tar.gz |
gcc/
* caller-save.c (init_caller_save): Base temporary register numbers
on LAST_VIRTUAL_REGISTER + 1 rather than FIRST_PSEUDO_REGISTER.
* cfgloopanal.c (init_set_costs): Likewise.
* dojump.c (prefer_and_bit_test): Likewise.
* expr.c (init_expr_target): Likewise.
* ira.c (setup_prohibited_mode_move_regs): Likewise.
* lower-subreg.c (init_lower_subreg): Likewise.
* postreload.c (reload_cse_regs_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223688 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index dccaf8be51b..a613bebe824 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -199,7 +199,7 @@ init_expr_target (void) /* A scratch register we can modify in-place below to avoid useless RTL allocations. */ - reg = gen_rtx_REG (word_mode, FIRST_PSEUDO_REGISTER); + reg = gen_rtx_REG (word_mode, LAST_VIRTUAL_REGISTER + 1); insn = rtx_alloc (INSN); pat = gen_rtx_SET (NULL_RTX, NULL_RTX); @@ -249,7 +249,7 @@ init_expr_target (void) } } - mem = gen_rtx_MEM (VOIDmode, gen_raw_REG (Pmode, FIRST_PSEUDO_REGISTER)); + mem = gen_rtx_MEM (VOIDmode, gen_raw_REG (Pmode, LAST_VIRTUAL_REGISTER + 1)); for (mode = GET_CLASS_NARROWEST_MODE (MODE_FLOAT); mode != VOIDmode; mode = GET_MODE_WIDER_MODE (mode)) |