Commit ec3643e8 by Bob Wilson Committed by Bob Wilson

* config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.

From-SVN: r123797
parent 6253b760
2007-04-13 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.
2007-04-13 Mike Stump <mrs@apple.com> 2007-04-13 Mike Stump <mrs@apple.com>
* config/darwin-c.c (handle_c_option): Handle -fapple-kext here so * config/darwin-c.c (handle_c_option): Handle -fapple-kext here so
......
...@@ -2473,7 +2473,7 @@ xtensa_expand_builtin (tree exp, rtx target, ...@@ -2473,7 +2473,7 @@ xtensa_expand_builtin (tree exp, rtx target,
enum machine_mode mode ATTRIBUTE_UNUSED, enum machine_mode mode ATTRIBUTE_UNUSED,
int ignore) int ignore)
{ {
tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0); tree fndecl = TREE_OPERAND (CALL_EXPR_FN (exp), 0);
unsigned int fcode = DECL_FUNCTION_CODE (fndecl); unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
/* The umulsidi3 builtin is just a mechanism to avoid calling the real /* The umulsidi3 builtin is just a mechanism to avoid calling the real
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment