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

From-SVN: r123797
This commit is contained in:
Bob Wilson 2007-04-13 20:35:50 +00:00 committed by Bob Wilson
parent 6253b7603b
commit ec3643e8c4
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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>
* config/darwin-c.c (handle_c_option): Handle -fapple-kext here so

View file

@ -2473,7 +2473,7 @@ xtensa_expand_builtin (tree exp, rtx target,
enum machine_mode mode ATTRIBUTE_UNUSED,
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);
/* The umulsidi3 builtin is just a mechanism to avoid calling the real