summaryrefslogtreecommitdiff
path: root/gcc/ree.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-09 13:07:10 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-09 13:07:10 +0000
commitd11aedc75ca0e63e85a67401ce9613a830e9d6f6 (patch)
treefdde063e9a6ea15cd08c000aff12369fe5e168b4 /gcc/ree.c
parent5d5ee71fdce406c03f481463c65c5c347005551e (diff)
downloadgcc-d11aedc75ca0e63e85a67401ce9613a830e9d6f6.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ree.c')
-rw-r--r--gcc/ree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ree.c b/gcc/ree.c
index 4dab6e91995..541bdb5a131 100644
--- a/gcc/ree.c
+++ b/gcc/ree.c
@@ -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);
}
}