diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-09 13:07:10 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-09 13:07:10 +0000 |
commit | d11aedc75ca0e63e85a67401ce9613a830e9d6f6 (patch) | |
tree | fdde063e9a6ea15cd08c000aff12369fe5e168b4 /gcc/builtins.c | |
parent | 5d5ee71fdce406c03f481463c65c5c347005551e (diff) | |
download | gcc-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/builtins.c')
-rw-r--r-- | gcc/builtins.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 6f690c76ed9..3cee9e9282d 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -1967,7 +1967,8 @@ expand_errno_check (tree exp, rtx target) rtx errno_rtx = gen_rtx_MEM (word_mode, gen_rtx_SYMBOL_REF (Pmode, "errno")); #endif - emit_move_insn (errno_rtx, GEN_INT (TARGET_EDOM)); + emit_move_insn (errno_rtx, + gen_int_mode (TARGET_EDOM, GET_MODE (errno_rtx))); emit_label (lab); return; } |