sh.c (fpscr_set_from_mem): Call get_free_reg only after no_new_pseudos.
* config/sh/sh.c (fpscr_set_from_mem): Call get_free_reg only after no_new_pseudos. From-SVN: r125258
This commit is contained in:
parent
b699150bde
commit
5e77c6f932
@ -1,3 +1,8 @@
|
||||
2007-06-01 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/sh.c (fpscr_set_from_mem): Call get_free_reg
|
||||
only after no_new_pseudos.
|
||||
|
||||
2007-05-31 Eric Christopher <echristo@apple.com>
|
||||
|
||||
* expr.c (convert_move): Assert that we don't have a BLKmode
|
||||
|
@ -8542,8 +8542,9 @@ fpscr_set_from_mem (int mode, HARD_REG_SET regs_live)
|
||||
{
|
||||
enum attr_fp_mode fp_mode = mode;
|
||||
enum attr_fp_mode norm_mode = ACTUAL_NORMAL_MODE (FP_MODE);
|
||||
rtx addr_reg = get_free_reg (regs_live);
|
||||
rtx addr_reg;
|
||||
|
||||
addr_reg = no_new_pseudos ? get_free_reg (regs_live) : NULL_RTX;
|
||||
emit_fpu_switch (addr_reg, fp_mode == norm_mode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user