summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-16 13:20:32 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-16 13:20:32 +0000
commitdaaa06b2d0aebedfc7e77a4aaaf51d67ae6aa973 (patch)
tree2f99fdb6a63c40507b84805dd86c8c4c90f94c74 /gcc/function.c
parentcf269acce85b40ab044246e31bf6c0b58680d66a (diff)
downloadgcc-daaa06b2d0aebedfc7e77a4aaaf51d67ae6aa973.tar.gz
* function.c (aggregate_value_p): Correctly extract the function
type from CALL_EXPR_FN lookup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143432 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 7701042c77d..0cf4d5d0000 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -1848,7 +1848,7 @@ aggregate_value_p (const_tree exp, const_tree fntype)
fndecl = get_callee_fndecl (fntype);
fntype = (fndecl
? TREE_TYPE (fndecl)
- : TREE_TYPE (CALL_EXPR_FN (fntype)));
+ : TREE_TYPE (TREE_TYPE (CALL_EXPR_FN (fntype))));
break;
case FUNCTION_DECL:
fndecl = fntype;