From: Chung-Lin Tang Date: Sat, 13 Oct 2012 09:28:26 +0000 (+0000) Subject: builtins.c (expand_builtin_set_thread_pointer): Use create_input_operand() instead... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5440a1b0fe1122a2e044023c9c7508d9205bfa14;p=gcc.git builtins.c (expand_builtin_set_thread_pointer): Use create_input_operand() instead of create_fixed_operand(). 2012-10-13 Chung-Lin Tang * builtins.c (expand_builtin_set_thread_pointer): Use create_input_operand() instead of create_fixed_operand(). From-SVN: r192422 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 190748015d2..fa3c54d5728 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-10-13 Chung-Lin Tang + + * builtins.c (expand_builtin_set_thread_pointer): Use + create_input_operand() instead of create_fixed_operand(). + 2012-10-13 Uros Bizjak * config/alpha/alpha.md (FMODE): New mode iterator. diff --git a/gcc/builtins.c b/gcc/builtins.c index fb8d83a14e9..c309566919e 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -5776,7 +5776,7 @@ expand_builtin_set_thread_pointer (tree exp) struct expand_operand op; rtx val = expand_expr (CALL_EXPR_ARG (exp, 0), NULL_RTX, Pmode, EXPAND_NORMAL); - create_fixed_operand (&op, val); + create_input_operand (&op, val, Pmode); expand_insn (icode, 1, &op); return; }