diff options
author | Lee Millward <lee.millward@codesourcery.com> | 2007-02-19 22:39:13 +0000 |
---|---|---|
committer | Lee Millward <lmillward@gcc.gnu.org> | 2007-02-19 22:39:13 +0000 |
commit | 767fad4cb938bb22c0616481efecdd9f3980763f (patch) | |
tree | 93ab9b2e3cead410840d7fe06157d1c97d6dfb51 /gcc | |
parent | 567c915b047d488dbbe1a25bc3359ca4ce2ab994 (diff) | |
download | gcc-767fad4cb938bb22c0616481efecdd9f3980763f.zip gcc-767fad4cb938bb22c0616481efecdd9f3980763f.tar.gz gcc-767fad4cb938bb22c0616481efecdd9f3980763f.tar.bz2 |
ia64.c (ia64_expand_builtin): Use the new CALL_EXPR_FN macro for retrieving the function declaration of the...
* config/ia64/ia64.c (ia64_expand_builtin): Use the
new CALL_EXPR_FN macro for retrieving the function
declaration of the input expression.
From-SVN: r122139
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63144148..1d515af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-02-19 Lee Millward <lee.millward@codesourcery.com> + + * config/ia64/ia64.c (ia64_expand_builtin): Use the + new CALL_EXPR_FN macro for retrieving the function + declaration of the input expression. + 2007-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * c.opt (Waddress): New. diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index ead7f66..f1dbfc3 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -9191,7 +9191,7 @@ ia64_expand_builtin (tree exp, rtx target, rtx subtarget ATTRIBUTE_UNUSED, enum machine_mode mode ATTRIBUTE_UNUSED, int ignore ATTRIBUTE_UNUSED) { - 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); switch (fcode) |