diff options
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/arm.c | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 4 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 | ||||
-rw-r--r-- | gcc/config/mmix/mmix.md | 8 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 10 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 2 | ||||
-rw-r--r-- | gcc/config/s390/s390.c | 1 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 8 |
9 files changed, 22 insertions, 21 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index e2eebda958e..cb7eed5ae58 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -9459,7 +9459,7 @@ neon_expand_vector_init (rtx target, rtx vals) /* Construct the vector in memory one field at a time and load the whole vector. */ - mem = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); + mem = assign_stack_temp (mode, GET_MODE_SIZE (mode)); for (i = 0; i < n_elts; i++) emit_move_insn (adjust_address_nv (mem, inner_mode, i * GET_MODE_SIZE (inner_mode)), diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 30dbb089971..c6eb9628b3f 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -34410,7 +34410,7 @@ half: } else { - rtx mem = assign_stack_temp (mode, GET_MODE_SIZE (mode), false); + rtx mem = assign_stack_temp (mode, GET_MODE_SIZE (mode)); emit_move_insn (mem, target); @@ -34627,7 +34627,7 @@ ix86_expand_vector_extract (bool mmx_ok, rtx target, rtx vec, int elt) } else { - rtx mem = assign_stack_temp (mode, GET_MODE_SIZE (mode), false); + rtx mem = assign_stack_temp (mode, GET_MODE_SIZE (mode)); emit_move_insn (mem, vec); diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 9a8bc0789c6..e49ee2c74da 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -1585,13 +1585,13 @@ spill_xfmode_rfmode_operand (rtx in, int force, enum machine_mode mode) && GET_MODE (SUBREG_REG (in)) == TImode && GET_CODE (SUBREG_REG (in)) == REG) { - rtx memt = assign_stack_temp (TImode, 16, 0); + rtx memt = assign_stack_temp (TImode, 16); emit_move_insn (memt, SUBREG_REG (in)); return adjust_address (memt, mode, 0); } else if (force && GET_CODE (in) == REG) { - rtx memx = assign_stack_temp (mode, 16, 0); + rtx memx = assign_stack_temp (mode, 16); emit_move_insn (memx, in); return memx; } @@ -1716,7 +1716,7 @@ ia64_expand_movxf_movrf (enum machine_mode mode, rtx operands[]) memt = adjust_address (in, TImode, 0); else { - memt = assign_stack_temp (TImode, 16, 0); + memt = assign_stack_temp (TImode, 16); memx = adjust_address (memt, mode, 0); emit_move_insn (memx, in); } diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 2e6c3001178..416c1aa41bb 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -17201,7 +17201,7 @@ static void mips_expand_vi_general (enum machine_mode vmode, enum machine_mode imode, unsigned nelt, unsigned nvar, rtx target, rtx vals) { - rtx mem = assign_stack_temp (vmode, GET_MODE_SIZE (vmode), 0); + rtx mem = assign_stack_temp (vmode, GET_MODE_SIZE (vmode)); unsigned int i, isize = GET_MODE_SIZE (imode); if (nvar < nelt) diff --git a/gcc/config/mmix/mmix.md b/gcc/config/mmix/mmix.md index dbd4c0f778d..1cd397a8a14 100644 --- a/gcc/config/mmix/mmix.md +++ b/gcc/config/mmix/mmix.md @@ -529,7 +529,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") better way. */ stack_slot = validize_mem (assign_stack_temp (SFmode, - GET_MODE_SIZE (SFmode), 0)); + GET_MODE_SIZE (SFmode))); emit_insn (gen_floatdisf2 (stack_slot, operands[1])); emit_move_insn (operands[0], stack_slot); DONE; @@ -563,7 +563,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") way. */ stack_slot = validize_mem (assign_stack_temp (SFmode, - GET_MODE_SIZE (SFmode), 0)); + GET_MODE_SIZE (SFmode))); emit_insn (gen_floatunsdisf2 (stack_slot, operands[1])); emit_move_insn (operands[0], stack_slot); DONE; @@ -645,7 +645,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") way. */ stack_slot = validize_mem (assign_stack_temp (SFmode, - GET_MODE_SIZE (SFmode), 0)); + GET_MODE_SIZE (SFmode))); emit_insn (gen_truncdfsf2 (stack_slot, operands[1])); emit_move_insn (operands[0], stack_slot); DONE; @@ -678,7 +678,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") better way. */ stack_slot = validize_mem (assign_stack_temp (SFmode, - GET_MODE_SIZE (SFmode), 0)); + GET_MODE_SIZE (SFmode))); emit_move_insn (stack_slot, operands[1]); emit_insn (gen_extendsfdf2 (operands[0], stack_slot)); DONE; diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3d895390bcc..a11aefd14fc 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -4576,7 +4576,7 @@ rs6000_expand_vector_init (rtx target, rtx vals) of 64-bit items is not supported on Altivec. */ if (all_same && GET_MODE_SIZE (inner_mode) <= 4) { - mem = assign_stack_temp (mode, GET_MODE_SIZE (inner_mode), 0); + mem = assign_stack_temp (mode, GET_MODE_SIZE (inner_mode)); emit_move_insn (adjust_address_nv (mem, inner_mode, 0), XVECEXP (vals, 0, 0)); x = gen_rtx_UNSPEC (VOIDmode, @@ -4612,7 +4612,7 @@ rs6000_expand_vector_init (rtx target, rtx vals) /* Construct the vector in memory one field at a time and load the whole vector. */ - mem = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); + mem = assign_stack_temp (mode, GET_MODE_SIZE (mode)); for (i = 0; i < n_elts; i++) emit_move_insn (adjust_address_nv (mem, inner_mode, i * GET_MODE_SIZE (inner_mode)), @@ -4641,7 +4641,7 @@ rs6000_expand_vector_set (rtx target, rtx val, int elt) } /* Load single variable value. */ - mem = assign_stack_temp (mode, GET_MODE_SIZE (inner_mode), 0); + mem = assign_stack_temp (mode, GET_MODE_SIZE (inner_mode)); emit_move_insn (adjust_address_nv (mem, inner_mode, 0), val); x = gen_rtx_UNSPEC (VOIDmode, gen_rtvec (1, const0_rtx), UNSPEC_LVE); @@ -4696,7 +4696,7 @@ rs6000_expand_vector_extract (rtx target, rtx vec, int elt) } /* Allocate mode-sized buffer. */ - mem = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); + mem = assign_stack_temp (mode, GET_MODE_SIZE (mode)); emit_move_insn (mem, vec); @@ -27812,7 +27812,7 @@ rs6000_allocate_stack_temp (enum machine_mode mode, bool offsettable_p, bool reg_reg_p) { - rtx stack = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); + rtx stack = assign_stack_temp (mode, GET_MODE_SIZE (mode)); rtx addr = XEXP (stack, 0); int strict_p = (reload_in_progress || reload_completed); diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 26b2720cac8..ba4acb69de7 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -10038,7 +10038,7 @@ operands[2] = gen_reg_rtx (DFmode); operands[3] = gen_reg_rtx (DFmode); operands[4] = gen_reg_rtx (DImode); - operands[5] = assign_stack_temp (DImode, GET_MODE_SIZE (DImode), 0); + operands[5] = assign_stack_temp (DImode, GET_MODE_SIZE (DImode)); }) (define_insn_and_split "*fix_trunctfsi2_internal" diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 934e68b53a3..ede3a5574fe 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -9044,6 +9044,7 @@ s390_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p, lab_false = create_artificial_label (UNKNOWN_LOCATION); lab_over = create_artificial_label (UNKNOWN_LOCATION); addr = create_tmp_var (ptr_type_node, "addr"); + mark_sym_for_renaming (addr); t = fold_convert (TREE_TYPE (reg), size_int (max_reg)); t = build2 (GT_EXPR, boolean_type_node, reg, t); diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 4cb381e60e9..54fce8f6ddb 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -2738,7 +2738,7 @@ emit_soft_tfmode_libcall (const char *func_name, int nargs, rtx *operands) } else { - this_slot = assign_stack_temp (TFmode, GET_MODE_SIZE (TFmode), 0); + this_slot = assign_stack_temp (TFmode, GET_MODE_SIZE (TFmode)); /* Operand 0 is the return value. We'll copy it out later. */ if (i > 0) @@ -7431,7 +7431,7 @@ sparc_emit_float_lib_cmp (rtx x, rtx y, enum rtx_code comparison) } else { - slot0 = assign_stack_temp (TFmode, GET_MODE_SIZE(TFmode), 0); + slot0 = assign_stack_temp (TFmode, GET_MODE_SIZE(TFmode)); emit_move_insn (slot0, x); } @@ -7444,7 +7444,7 @@ sparc_emit_float_lib_cmp (rtx x, rtx y, enum rtx_code comparison) } else { - slot1 = assign_stack_temp (TFmode, GET_MODE_SIZE(TFmode), 0); + slot1 = assign_stack_temp (TFmode, GET_MODE_SIZE(TFmode)); emit_move_insn (slot1, y); } @@ -11631,7 +11631,7 @@ sparc_expand_vector_init (rtx target, rtx vals) } } - mem = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); + mem = assign_stack_temp (mode, GET_MODE_SIZE (mode)); for (i = 0; i < n_elts; i++) emit_move_insn (adjust_address_nv (mem, inner_mode, i * GET_MODE_SIZE (inner_mode)), |