diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-09-09 13:07:10 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2013-09-09 13:07:10 +0000 |
commit | 69db2d57a36cf785d652970a3d96f12c47eb0b80 (patch) | |
tree | fdde063e9a6ea15cd08c000aff12369fe5e168b4 /gcc/ree.c | |
parent | 69a59f0fa9b65198e4c1f87265105d396a598ea5 (diff) | |
download | gcc-69db2d57a36cf785d652970a3d96f12c47eb0b80.zip gcc-69db2d57a36cf785d652970a3d96f12c47eb0b80.tar.gz gcc-69db2d57a36cf785d652970a3d96f12c47eb0b80.tar.bz2 |
asan.c (asan_emit_stack_protection): Use gen_int_mode instead of GEN_INT.
gcc/
* asan.c (asan_emit_stack_protection): Use gen_int_mode instead of
GEN_INT.
* builtins.c (expand_errno_check): Likewise.
* dwarf2cfi.c (init_return_column_size): Likewise.
* except.c (sjlj_mark_call_sites): Likewise.
* expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
* lra-constraints.c (emit_inc): Likewise.
* ree.c (combine_set_extension): Likewise.
* regmove.c (fixup_match_2): Likewise.
* reload1.c (inc_for_reload): Likewise.
From-SVN: r202394
Diffstat (limited to 'gcc/ree.c')
-rw-r--r-- | gcc/ree.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -298,7 +298,8 @@ combine_set_extension (ext_cand *cand, rtx curr_insn, rtx *orig_set) the source mode. */ enum machine_mode src_mode = GET_MODE (SET_DEST (*orig_set)); rtx new_const_int - = GEN_INT (INTVAL (orig_src) & GET_MODE_MASK (src_mode)); + = gen_int_mode (INTVAL (orig_src) & GET_MODE_MASK (src_mode), + GET_MODE (new_reg)); new_set = gen_rtx_SET (VOIDmode, new_reg, new_const_int); } } |