diff options
author | Richard Guenther <rguenther@suse.de> | 2011-04-08 12:19:45 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-04-08 12:19:45 +0000 |
commit | 9bfc434b7aa052e8d9175d3eca8fc355618e6fab (patch) | |
tree | 77df3037e3807fabf488254798b809e577345502 /gcc/expr.c | |
parent | 7c1f0b40206bed9fc4b62a04ca9f49c8b9cea4dc (diff) | |
download | gcc-9bfc434b7aa052e8d9175d3eca8fc355618e6fab.zip gcc-9bfc434b7aa052e8d9175d3eca8fc355618e6fab.tar.gz gcc-9bfc434b7aa052e8d9175d3eca8fc355618e6fab.tar.bz2 |
gimple.h (gimple_call_fntype): New function.
2011-04-08 Richard Guenther <rguenther@suse.de>
* gimple.h (gimple_call_fntype): New function.
(gimple_call_return_type): Use it.
* expr.c (expand_expr_real_1): Use gimple_call_fntype.
* gimple-low.c (gimple_check_call_args): Likewise.
* gimple.c (gimple_call_flags): Likewise.
(gimple_call_arg_flags): Likewise.
(gimple_call_return_flags): Likewise.
* tree-cfg.c (verify_gimple_call): Likewise.
(do_warn_unused_result): Likewise.
* tree-ssa-ccp.c (ccp_fold_stmt): Likewise.
* value-prof.c (gimple_ic_transform): Fix fndecl check.
From-SVN: r172178
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -8533,8 +8533,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, && (g = SSA_NAME_DEF_STMT (ssa_name)) && gimple_code (g) == GIMPLE_CALL) pmode = promote_function_mode (type, mode, &unsignedp, - TREE_TYPE - (TREE_TYPE (gimple_call_fn (g))), + gimple_call_fntype (g), 2); else pmode = promote_decl_mode (exp, &unsignedp); |