]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
builtins.c (expand_builtin_set_thread_pointer): Use create_input_operand() instead...
authorChung-Lin Tang <cltang@codesourcery.com>
Sat, 13 Oct 2012 09:28:26 +0000 (09:28 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Sat, 13 Oct 2012 09:28:26 +0000 (09:28 +0000)
2012-10-13  Chung-Lin Tang  <cltang@codesourcery.com>

* builtins.c (expand_builtin_set_thread_pointer): Use
create_input_operand() instead of create_fixed_operand().

From-SVN: r192422

gcc/ChangeLog
gcc/builtins.c

index 190748015d29b6c3d28ce5c2099737c946e34faf..fa3c54d57284b0ee92338ed1fc56f75668991907 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-13  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * builtins.c (expand_builtin_set_thread_pointer): Use
+       create_input_operand() instead of create_fixed_operand().
+
 2012-10-13  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/alpha/alpha.md (FMODE): New mode iterator.
index fb8d83a14e9f3c1c411cb977c8fb2893486aa094..c309566919ecf19e160d239ca69a84198c17820b 100644 (file)
@@ -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;
     }