summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
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;