aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-04-29 14:20:41 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-04-29 14:20:41 +0000
commiteb6c3df1a0e34edc7a243c781a1b8842e3fc285c (patch)
treef442091bcb3d922e2508780f3c19d3d70034b779 /gcc/function.c
parent9f616812d9cb9a651fb4636a3ec499c1b87995f3 (diff)
downloadgcc-eb6c3df1a0e34edc7a243c781a1b8842e3fc285c.zip
gcc-eb6c3df1a0e34edc7a243c781a1b8842e3fc285c.tar.gz
gcc-eb6c3df1a0e34edc7a243c781a1b8842e3fc285c.tar.bz2
expr.h (expand_shift): Rename to ...
2011-04-29 Richard Guenther <rguenther@suse.de> * expr.h (expand_shift): Rename to ... (expand_variable_shift): ... this. (expand_shift): Take a constant shift amount. * expmed.c (expand_shift): Rename to ... (expand_variable_shift): ... this. (expand_shift): New wrapper around expand_variable_shift. * expr.c (convert_move, emit_group_load_1, emit_group_store, optimize_bitfield_assignment_op, store_field, expand_expr_real_2, expand_expr_real_1, reduce_to_bit_field_precision): Adjust. * expmed.c (store_fixed_bit_field, extract_bit_field_1, extract_fixed_bit_field, extract_split_bit_field, expand_mult_const, expand_mult, expand_widening_mult, expand_mult_highpart_adjust, extract_high_half, expand_sdiv_pow2, expand_divmod, emit_cstore, emit_store_flag_1, emit_store_flag): Likewise. * builtins.c (expand_builtin_signbit): Likewise. * calls.c (load_register_parameters): Likewise. * function.c (assign_parm_setup_block): Likewise. * lower-subreg.c (resolve_shift_zext): Likewise. * optabs.c (widen_bswap, expand_abs_nojump, expand_one_cmpl_abs_nojump, expand_float): Likewise. * spu/spu.c (spu_expand_extv): Likewise. * sparc/sparc.c (sparc32_initialize_trampoline): Likewise. From-SVN: r173157
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 1ba9dbb..973e5a1 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -2876,9 +2876,7 @@ assign_parm_setup_block (struct assign_parm_data_all *all,
int by = (UNITS_PER_WORD - size) * BITS_PER_UNIT;
rtx reg = gen_rtx_REG (word_mode, REGNO (entry_parm));
- x = expand_shift (LSHIFT_EXPR, word_mode, reg,
- build_int_cst (NULL_TREE, by),
- NULL_RTX, 1);
+ x = expand_shift (LSHIFT_EXPR, word_mode, reg, by, NULL_RTX, 1);
tem = change_address (mem, word_mode, 0);
emit_move_insn (tem, x);
}