diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-14 22:26:14 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-14 22:26:14 +0000 |
commit | dc24ddbd63bf6d4b7310ef5913c4566cee2bff9b (patch) | |
tree | 0e3d992e1d5de0e7bb1692b921740b6575918627 /gcc/toplev.c | |
parent | 33bfa393d8a5640826fa8a71149a489157ba53e4 (diff) | |
download | gcc-dc24ddbd63bf6d4b7310ef5913c4566cee2bff9b.tar.gz |
* alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) ()
with lang_hooks.foo ().
* builtins.c (expand_builtin_va_arg): Likewise.
* c-common.c (fname_as_string, c_common_truthvalue_conversion,
c_common_type_for_mode, c_common_nodes_and_builtins,
handle_mode_attribute, handle_vector_size_attribute): Likewise.
* c-convert.c (convert): Likewise.
* c-format.c (check_format_types): Likewise.
* c-objc-common.c (c_tree_printer): Likewise.
* c-typeck.c (build_unary_op, build_conditional_expr,
build_binary_op): Likewise.
* calls.c (try_to_integrate, expand_call,
emit_library_call_value_1): Likewise.
* cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p):
Likewise.
* cgraphunit.c (record_call_1, cgraph_analyze_function,
cgraph_expand_function): Likewise.
* convert.c (convert_to_pointer, convert_to_integer): Likewise.
* coverage.c (build_fn_info_type, build_ctr_info_type,
build_gcov_info, create_coverage): Likewise.
* dbxout.c (dbxout_init): Likewise.
* diagnostic.c (diagnostic_report_current_function): Likewise.
* dojump.c (do_jump): Likewise.
* dwarf2out.c (dwarf2_name): Likewise.
* except.c (init_eh): Likewise.
* explow.c (expr_size, int_expr_size): Likewise.
* expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add):
Likewise.
* expr.c (store_expr, store_constructor, safe_from_p,
expand_expr_real, do_store_flag, try_casesi): Likewise.
* function.c (push_function_context_to, pop_function_context_from,
free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type,
put_var_into_stack, allocate_struct_function, current_function_name):
Likewise.
* integrate.c (copy_decl_for_inlining, expand_inline_function):
Likewise.
* langhooks.c (lhd_clear_binding_stack, write_global_declarations,
lhd_print_error_function): Likewise.
* opts.c (handle_option, decode_options): Likewise.
* passes.c (open_dump_file): Likewise.
* print-tree.c (print_node): Likewise.
* stmt.c (expand_fixup, fixup_gotos, expand_asm_operands,
expand_decl_cleanup, emit_case_nodes): Likewise.
* stor-layout.c (variable_size): Likewise.
* toplev.c (announce_function, wrapup_global_declarations,
check_global_declarations, compile_file, default_tree_printer,
process_options, lang_dependent_init, finalize): Likewise.
* tree-dump.c (dequeue_and_dump): Likewise.
* tree-inline.c (remap_decl, remap_block, copy_body_r,
initialize_inlined_parameters, declare_return_variable,
inlinable_function_p, expand_call_inline, optimize_inline_calls,
walk_tree, copy_tree_r): Likewise.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
* tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp,
unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl,
variably_modified_type_p, dump_tree_statistics): Likewise.
* varasm.c (assemble_variable, compare_constant, copy_constant,
force_const_mem, compute_reloc_for_constant, output_constant,
output_addressed_constants, initializer_constant_valid_p): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79481 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 8192a1a8ea8..13bd98e7f8b 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1085,7 +1085,7 @@ announce_function (tree decl) if (rtl_dump_and_exit) verbatim ("%s ", IDENTIFIER_POINTER (DECL_NAME (decl))); else - verbatim (" %s", (*lang_hooks.decl_printable_name) (decl, 2)); + verbatim (" %s", lang_hooks.decl_printable_name (decl, 2)); fflush (stderr); pp_needs_newline (global_dc->printer) = true; diagnostic_set_last_function (global_dc); @@ -1322,7 +1322,7 @@ wrapup_global_declarations (tree *vec, int len) DECL_DEFER_OUTPUT (decl) = 0; if (TREE_CODE (decl) == VAR_DECL && DECL_SIZE (decl) == 0) - (*lang_hooks.finish_incomplete_decl) (decl); + lang_hooks.finish_incomplete_decl (decl); } /* Now emit any global variables or functions that we have been @@ -1471,7 +1471,7 @@ check_global_declarations (tree *vec, int len) /* Global register variables must be declared to reserve them. */ && ! (TREE_CODE (decl) == VAR_DECL && DECL_REGISTER (decl)) /* Otherwise, ask the language. */ - && (*lang_hooks.decls.warn_unused_global) (decl)) + && lang_hooks.decls.warn_unused_global (decl)) warning ("%J'%D' defined but not used", decl, decl); /* Avoid confusing the debug information machinery when there are @@ -1572,11 +1572,11 @@ compile_file (void) /* Call the parser, which parses the entire file (calling rest_of_compilation for each function). */ - (*lang_hooks.parse_file) (set_yydebug); + lang_hooks.parse_file (set_yydebug); /* In case there were missing block closers, get us back to the global binding level. */ - (*lang_hooks.clear_binding_stack) (); + lang_hooks.clear_binding_stack (); /* Compilation is now finished except for writing what's left of the symbol table output. */ @@ -1585,7 +1585,7 @@ compile_file (void) if (flag_syntax_only) return; - (*lang_hooks.decls.final_write_globals)(); + lang_hooks.decls.final_write_globals (); cgraph_varpool_assemble_pending_decls (); @@ -2115,7 +2115,7 @@ default_tree_printer (pretty_printer * pp, text_info *text) { tree t = va_arg (*text->args_ptr, tree); const char *n = DECL_NAME (t) - ? (*lang_hooks.decl_printable_name) (t, 2) + ? lang_hooks.decl_printable_name (t, 2) : "<anonymous>"; pp_string (pp, n); } @@ -2200,7 +2200,7 @@ process_options (void) initialization based on the command line options. This hook also sets the original filename if appropriate (e.g. foo.i -> foo.c) so we can correctly initialize debug output. */ - no_backend = (*lang_hooks.post_options) (&main_input_filename); + no_backend = lang_hooks.post_options (&main_input_filename); input_filename = main_input_filename; #ifdef OVERRIDE_OPTIONS @@ -2462,7 +2462,7 @@ lang_dependent_init (const char *name) dump_base_name = name ? name : "gccdump"; /* Other front-end initialization. */ - if ((*lang_hooks.init) () == 0) + if (lang_hooks.init () == 0) return 0; init_asm_output (name); @@ -2538,7 +2538,7 @@ finalize (void) free_reg_info (); /* Language-specific end of compilation actions. */ - (*lang_hooks.finish) (); + lang_hooks.finish (); } /* Initialize the compiler, and compile the input file. */ |