mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 06:14:10 +08:00
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
This commit is contained in:
parent
6e0d2de7cb
commit
c433cb14ae
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user