diff options
author | Steven Bosscher <stevenb@suse.de> | 2004-05-15 23:07:53 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-05-15 23:07:53 +0000 |
commit | 673fda6b48b3d89767d6fdded61dfe41541ab8e9 (patch) | |
tree | 5fdd2f53add78078e45a25262bd46f81d4cf8864 /gcc/fold-const.c | |
parent | fb0e7ec09f246a5211b3490753989a3e5e78c481 (diff) | |
download | gcc-673fda6b48b3d89767d6fdded61dfe41541ab8e9.zip gcc-673fda6b48b3d89767d6fdded61dfe41541ab8e9.tar.gz gcc-673fda6b48b3d89767d6fdded61dfe41541ab8e9.tar.bz2 |
c-gimplify.c (c_genericize): Replace calls via (*lang_hooks.foo) with lang_hooks.foo.
* c-gimplify.c (c_genericize):
Replace calls via (*lang_hooks.foo) with lang_hooks.foo.
* c-parse.in <expr_no_commas>: Likewise.
<if_prefix>: Likewise.
<select_or_iter_stmt>: Likewise.
* expr.c (expand_var, expand_expr_real_1): Likewise.
* expr.h (expand_expr): Make it a static inline function.
Move prototype for expand_expr_real up before this.
* fold-const.c (fold_relational_hi_lo, fold_relational_const):
Likewise.
* gimplify.c (gimple_boolify, gimplify_addr_expr,
gimplify_asm_expr, gimplify_expr): Likewise.
* tree-cfg.c (dump_tree_cfg, dump_cfg_stats, tree_cfg2vcg,
dump_function_to_file): Likewise.
* tree-dfa.c (dump_immediate_uses, dump_dfa_stats): Likewise.
* tree-inline.c (remap_block, save_body, walk_tree): Likewise.
* tree-into-ssa.c (dump_tree_ssa): Likewise.
* tree-mudflap.c (mf_varname_tree, mf_file_function_line_tree):
Likewise.
* tree-optimize.c (execute_one_pass): Likewise.
* tree-pretty-print.c (dump_generic_bb_buff): Likewise.
* tree-ssa-alias.c (dump_alias_stats, dump_alias_info): Likewise.
objc/
* objc-act.c (objc_build_try_enter_fragment,
objc_build_try_epilogue, objc_build_catch_stmt,
objc_build_finally_prologue): Replace calls via (*lang_hooks.foo)
with lang_hooks.foo ().
From-SVN: r81907
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index ed54ee9..1705fb6 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -9372,8 +9372,8 @@ fold_relational_hi_lo (enum tree_code *code_p, const tree type, tree *op0_p, if (code == LE_EXPR || code == GT_EXPR) { tree st0, st1, exp, retval; - st0 = (*lang_hooks.types.signed_type) (TREE_TYPE (op0)); - st1 = (*lang_hooks.types.signed_type) (TREE_TYPE (op1)); + st0 = lang_hooks.types.signed_type (TREE_TYPE (op0)); + st1 = lang_hooks.types.signed_type (TREE_TYPE (op1)); exp = build (code == LE_EXPR ? GE_EXPR: LT_EXPR, type, @@ -10013,7 +10013,7 @@ fold_relational_const (enum tree_code code, tree type, tree op0, tree op1) TREE_TYPE (tem) = type; if (TREE_CODE (type) == BOOLEAN_TYPE) - return (*lang_hooks.truthvalue_conversion) (tem); + return lang_hooks.truthvalue_conversion (tem); return tem; } |