diff options
author | lmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-19 22:39:13 +0000 |
---|---|---|
committer | lmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-19 22:39:13 +0000 |
commit | f3a91845ae88e75c1f927227fc19a2bfdffd53cf (patch) | |
tree | 93ab9b2e3cead410840d7fe06157d1c97d6dfb51 /gcc/config/ia64/ia64.c | |
parent | dd765455a8bf9f32897366c4492993297b68554a (diff) | |
download | gcc-f3a91845ae88e75c1f927227fc19a2bfdffd53cf.tar.gz |
* config/ia64/ia64.c (ia64_expand_builtin): Use the
new CALL_EXPR_FN macro for retrieving the function
declaration of the input expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122139 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64/ia64.c')
-rw-r--r-- | gcc/config/ia64/ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index ead7f665265..f1dbfc35a73 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) |