OSDN Git Service

* config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2007 20:35:50 +0000 (20:35 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Apr 2007 20:35:50 +0000 (20:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123797 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/xtensa/xtensa.c

index 1c32a95..c5322d6 100644 (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
index 5f7e6d0..43bcc58 100644 (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