Commit c433cb14 by Richard Earnshaw Committed by Richard Earnshaw

function.c (aggregate_value_p): Correctly extract the function type from CALL_EXPR_FN lookup.

	* function.c (aggregate_value_p): Correctly extract the function
	type from CALL_EXPR_FN lookup.

From-SVN: r143432
parent 6e0d2de7
2009-01-16 Richard Earnshaw <rearnsha@arm.com>
* function.c (aggregate_value_p): Correctly extract the function
type from CALL_EXPR_FN lookup.
2009-01-16 Hariharan Sandanagobalane <hariharan@picochip.com>
* config/picochip/picochip.c (picochip_override_options): Revert
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment