gimplify.c (gimplify_call_expr): Use saved fnptrtype for looking at TYPE_ARG_TYPES.
2014-05-08 Richard Biener <rguenther@suse.de> * gimplify.c (gimplify_call_expr): Use saved fnptrtype for looking at TYPE_ARG_TYPES. From-SVN: r210209
This commit is contained in:
parent
fb42e303b4
commit
a96c6a62ae
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-05-08 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* gimplify.c (gimplify_call_expr): Use saved fnptrtype for
|
||||
looking at TYPE_ARG_TYPES.
|
||||
|
||||
2014-05-08 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
|
||||
|
|
|
@ -2329,8 +2329,8 @@ gimplify_call_expr (tree *expr_p, gimple_seq *pre_p, bool want_value)
|
|||
parms = NULL_TREE;
|
||||
if (fndecl)
|
||||
parms = TYPE_ARG_TYPES (TREE_TYPE (fndecl));
|
||||
else if (POINTER_TYPE_P (TREE_TYPE (CALL_EXPR_FN (*expr_p))))
|
||||
parms = TYPE_ARG_TYPES (TREE_TYPE (TREE_TYPE (CALL_EXPR_FN (*expr_p))));
|
||||
else
|
||||
parms = TYPE_ARG_TYPES (TREE_TYPE (fnptrtype));
|
||||
|
||||
if (fndecl && DECL_ARGUMENTS (fndecl))
|
||||
p = DECL_ARGUMENTS (fndecl);
|
||||
|
|
Loading…
Add table
Reference in a new issue