1. 30 Apr, 2013 1 commit
    • function.h (loops_for_fn): New inline function. · 0fc822d0
      2013-04-30  Richard Biener  <rguenther@suse.de>
      
      	* function.h (loops_for_fn): New inline function.
      	(set_loops_for_fn): Likewise.
      	* cfgloop.h (place_new_loop): Add struct function parameter.
      	(get_loop): Likewise.
      	(get_loops): Likewise.
      	(number_of_loops): Likewise.
      	(fel_next): Adjust.
      	(fel_init): Likewise.
      	* cfg.c (get_loop_copy): Adjust.
      	* cfgloop.c (flow_loops_dump): Likewise.
      	(record_loop_exits): Likewise.
      	(verify_loop_structure): Likewise.
      	* cfgloopanal.c (mark_irreducible_loops): Likewise.
      	(estimate_reg_pressure_cost): Likewise.
      	(mark_loop_exit_edges): Likewise.
      	* cfgloopmanip.c (place_new_loop): Likewise.
      	(add_loop): Likewise.
      	(duplicate_loop): Likewise.
      	* graph.c (draw_cfg_nodes): Likewise.
      	* graphite-clast-to-gimple.c (translate_clast_user): Likewise.
      	* graphite-sese-to-poly.c (build_scop_scattering): Likewise.
      	(extract_affine_chrec): Likewise.
      	(build_scop_iteration_domain): Likewise.
      	* graphite.c (graphite_initialize): Likewise.
      	* ira-build.c (create_loop_tree_nodes): Likewise.
      	(more_one_region_p): Likewise.
      	(rebuild_regno_allocno_maps): Likewise.
      	(mark_loops_for_removal): Likewise.
      	(mark_all_loops_for_removal): Likewise.
      	(remove_unnecessary_regions): Likewise.
      	(ira_build): Likewise.
      	* ira-emit.c (setup_entered_from_non_parent_p): Likewise.
      	* loop-init.c (fix_loop_structure): Likewise.
      	(gate_rtl_move_loop_invariants): Likewise.
      	(gate_rtl_unswitch): Likewise.
      	(gate_rtl_unroll_and_peel_loops): Likewise.
      	(rtl_doloop): Likewise.
      	* lto-streamer-in.c (input_cfg): Likewise.
      	* lto-streamer-out.c (output_cfg): Likewise.
      	* modulo-sched.c (sms_schedule): Likewise.
      	* predict.c (tree_estimate_probability): Likewise.
      	(tree_estimate_probability_driver): Likewise.
      	(estimate_loops): Likewise.
      	* tree-cfg.c (fixup_loop_arrays_after_move): Likewise.
      	(move_sese_region_to_fn): Likewise.
      	(debug_loop_num): Likewise.
      	* tree-chrec.c (chrec_evaluate): Likewise.
      	(hide_evolution_in_other_loops_than_loop): Likewise.
      	(chrec_component_in_loop_num): Likewise.
      	(reset_evolution_in_loop): Likewise.
      	(evolution_function_is_invariant_rec_p): Likewise.
      	* tree-if-conv.c (main_tree_if_conversion): Likewise.
      	* tree-inline.c (copy_loops): Likewise.
      	(copy_cfg_body): Likewise.
      	(tree_function_versioning): Likewise.
      	* tree-loop-distribution.c (rdg_flag_loop_exits): Likewise.
      	* tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop):
      	Likewise.
      	(add_to_evolution_1): Likewise.
      	(scev_const_prop): Likewise.
      	* tree-scalar-evolution.h (get_chrec_loop): Likewise.
      	* tree-ssa-loop-ch.c (copy_loop_headers): Likewise.
      	* tree-ssa-loop-im.c (analyze_memory_references): Likewise.
      	(tree_ssa_lim_initialize): Likewise.
      	* tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Likewise.
      	(verify_loop_closed_ssa): Likewise.
      	* tree-ssa-loop.c  (tree_ssa_loop_init): Likewise.
      	(tree_ssa_loop_im): Likewise.
      	(tree_ssa_loop_unswitch): Likewise.
      	(tree_vectorize): Likewise.
      	(check_data_deps): Likewise.
      	(tree_ssa_loop_ivcanon): Likewise.
      	(tree_ssa_loop_bounds): Likewise.
      	(tree_complete_unroll): Likewise.
      	(tree_complete_unroll_inner): Likewise.
      	(tree_parallelize_loops): Likewise.
      	(tree_ssa_loop_prefetch): Likewise.
      	(tree_ssa_loop_ivopts): Likewise.
      	* tree-ssa.c (execute_update_addresses_taken): Liekwise.
      	* tree-vectorizer.c (vectorize_loops): Likewise.
      
      From-SVN: r198441
      Richard Biener committed
  2. 23 Apr, 2013 1 commit
  3. 20 Mar, 2013 1 commit
  4. 15 Feb, 2013 1 commit
  5. 10 Jan, 2013 1 commit
  6. 12 Dec, 2012 1 commit
    • graph.c: Include sbitmap.h and cfgloop.h. · 13475df1
      	* graph.c: Include sbitmap.h and cfgloop.h.
      	(draw_cfg_nodes_no_loops): New function to dump basic blocks in
      	topological order if the function does not have a loop tree.
      	Handle unreachable blocks also.
      	(draw_cfg_nodes_for_loop): New function to dump basic blocks in
      	one loop tree node as a named cluster of nodes.
      	(draw_cfg_nodes): New function to draw all CFG nodes.
      	(draw_cfg_edges): New function to draw all CFG edges.
      	(print_graph_cfg): Simplify using the new functions.
      	* Makefile.in (graph.o): Fix dependencies.
      
      From-SVN: r194446
      Steven Bosscher committed
  7. 04 Dec, 2012 1 commit
    • rtl.h (print_insn_with_notes): Remove prototype. · 2c895bd1
      	* rtl.h (print_insn_with_notes): Remove prototype.
      	(rtl_dump_bb_for_graph): New prototype.
      	* sched-vis.c (print_insn_with_notes): Make static again.  Fix
      	printing of notes.
      	(rtl_dump_bb_for_graph): New function.
      	* cfghooks.h (struct cfg_hooks) <dump_bb_for_graph>: New hook.
      	(dump_bb_for_graph): New prototype.
      	* cfghooks.c (dump_bb_for_graph): New function.
      	* tree-cfg.c (gimple_cfg_hooks): Register gimple_dump_bb_for_graph
      	as dump_bb_for_graph hook implementation for GIMPLE.
      	* cfgrtl.c (rtl_cfg_hooks): Likewise for rtl_dump_bb_for_graph.
      	(cfg_layout_rtl_cfg_hooks): Likewise.
      	* graph.c (draw_cfg_node): Don't include sbitmap.h, rtl.h, tree.h,
      	gimple.h, and gimple-pretty-print.h.
      	(draw_cfg_node, draw_cfg_node_succ_edges): Use the uniqe function
      	definition number instead of the function declaration UID.
      	(print_graph_cfg): Take a struct function instead of a tree.
      	Use the dump_bb_for_graph hook to dump the basic block content.
      	* graph.h (print_graph_cfg): Update prototype.
      	* passes.c (execute_function_dump): Update print_graph_cfg call.
      	* Makefile.in (graph.o): Fixup dependencies.
      
      From-SVN: r194157
      Steven Bosscher committed
  8. 03 Dec, 2012 1 commit
    • rtl.h (print_insn_with_notes): Prototype. · 41222ddf
      	* rtl.h (print_insn_with_notes): Prototype.
      	* sched-vis.c (print_insn_with_notes): Export it.
      
      	* gimple-pretty-print.h (gimple_dump_bb_for_graph): Prototype.
      	* gimple-pretty-print.c (print_gimple_expr): Flush the buffer.
      	(pp_gimple_stmt_1): Don't do it here.
      	(gimple_dump_bb_for_graph): New function.
      	* tree-pretty-print.c (print_generic_expr): Flush the buffer here.
      	(dump_generic_node): Don't flush the buffer here.
      
      	* graph.h (print_rtl_graph_with_bb): Rename to print_graph_cfg.
      	* graph.c: Include gimple.h, dumpfile.h, and gimple-pretty-print.h.
      	(draw_cfg_node): Handle GIMPLE basic blocks also.
      	(print_rtl_graph_with_bb): Rename to print_graph_cfg.
      	* passes.c (finish_optimization_passes): Don't finish graph dumps here.
      	(execute_function_dump): Use print_graph_cfg. Enable dumping the CFG
      	for GIMPLE also.
      	(pass_init_dump_file): Wrap in TV_DUMP.  Set up CFG graph dumps.
      	(pass_fini_dump_file): Wrap in TV_DUMP.  Finish graph dumps.
      	(execute_one_pass): Don't set up graph dumps here.
      
      From-SVN: r194085
      Steven Bosscher committed
  9. 30 Nov, 2012 1 commit
    • coretypes.h (struct pretty_print_info): Make a coretype. · 7eba871a
      	* coretypes.h (struct pretty_print_info): Make a coretype.
      	(typedef pretty_printer): Likewise.
      	* pretty-print.h (typedef pretty_printer): Not needed here anymore.
      	* pretty-print.c (pp_write_text_as_dot_label_to_stream): New function.
      	* rtl.h (str_pattern_slim): New prototype.
      	(print_value, print_pattern, print_insn): Adjust prototypes to take
      	a pretty-printer rather than a char buffer.
      	* sched-vis.c (safe_concat): Remove.
      	(print_exp): Print into a pretty-printer.
      	(print_value): Likewise.
      	(print_pattern): Likewise.
      	(print_insn): Likewise.
      	(print_insn_with_notes): New static function.
      	(init_rtl_slim_pretty_print): New function.
      	(dump_value_slim): Simplify.  Print into and flush a pretty-printer.
      	(dump_insn_slim): Likewise.
      	(dump_rtl_slim): Likewise.
      	(str_pattern_slim): New function.
      	* haifa-sched.c (model_recompute): Use str_pattern_slim instead of
      	static buffers.
      	(model_record_pressures): Likewise.
      	(schedule_insn): Likewise.
      	* sel-sched-dump.c (dump_insn_rtx_1): Likewise.
      	(sel_prepare_string_for_dot_label): Refer to graph.c CFG dumper code.
      	* graph.c: Include pretty-print.h.
      	(init_graph_slim_pretty_print): New function.
      	(print_escaped_line): Removed here, and reincarnated as
      	pp_write_text_as_dot_label_to_stream.
      	(draw_cfg_node): Print into a pretty printer.
      	(draw_cfg_node_succ_edges): Likewise.
      	(print_rtl_graph_with_bb): Likewise.
      	* Makefile.in (graph.o): Fix dependencies.
      	(tree-optimize.o, toplev.o, sched-vis.o): Likewise.
      
      From-SVN: r193990
      Steven Bosscher committed
  10. 26 Nov, 2012 1 commit
    • invoke.texi: Remove -dv documentation. · a27a5de9
      gcc/
      	* doc/invoke.texi: Remove -dv documentation.  Fix up graph dump related
      	documentation.  Document the '-graph' dump option.  Complete the '-slim'
      	dump option documentation.
      
      	* common.opt (Variable graph_dump_format): Remove.
      	* flag-types.h (enum graph_dump_types): Remove.
      	* flags.h (dump_for_graph): Remove.
      	* opts.c (decode_d_option): Remove -dv handling.
      	* sched-int.h (print_insn, print_pattern, print_value): Move prototypes
      	from here ...
      	* rtl.h: ...to here.  Add note that these functions ought to be in
      	another file.
      	* sched-vis.c (print_insn): Add detailed dump for insn notes.
      	* print-rtl.c (dump_for_graph): Remove.
      	(print_rtx): Remove dump_for_graph related code.
      	* graph.c: Almost complete re-write to dump DOT (GraphViz) dumps
      	instead of VCG dumps.
      	* graph.h (print_rtl_graph_with_bb): Update prototype.
      	* passes.c (finish_optimization_passes): Fix profile dump finishing.
      	Unconditionally loop over graph dumps to finalize.
      	(execute_function_dump): Split code to dump graphs to separate block.
      	(execute_one_pass): Don't set TDF_GRAPH here, let the dump option
      	decoders do their job.
      
      	* ddg.c (vcg_print_ddg): Make it a DEBUG_FUNCTION.
      	* toplev.c: Don't include graph.h.
      	* tree-optimize.c: Don't include graph.h.
      
      testsuite/
      	* testsuite/gcc.dg/20050811-1.c: Change -dv option to -graph option
      	to -fdump-rtl-all.
      	* testsuite/gcc.dg/pr37858.c: Remove -dv option.
      
      From-SVN: r193821
      Steven Bosscher committed
  11. 18 Nov, 2012 1 commit
    • This patch rewrites the old VEC macro-based interface into a new one based on… · 9771b263
      This patch rewrites the old VEC macro-based interface into a new one based on the template class 'vec'.
      
      This patch rewrites the old VEC macro-based interface into a new one
      based on the template class 'vec'.  The user-visible changes are
      described in http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec.
      
      I have tested the patch pretty extensively:
      
      - Regular bootstraps on x86_64, ppc, ia64, sparc and hppa.
      - Bootstraps with --enable-checking=release
      - Bootstraps with --enable-checking=gc,gcac
      - Basic builds on all targets (using contrib/config-list.mk).
      
      We no longer access the vectors via VEC_* macros.  The pattern is
      "VEC_operation (T, A, V, args)" becomes "V.operation (args)".
      
      The only thing I could not do is create proper ctors and dtors for the
      vec class.  Since these vectors are stored in unions, we
      have to keep them as PODs (C++03 does not allow non-PODs in unions).
      
      This means that creation and destruction must be explicit.  There is a
      new method vec<type, allocation, layout>::create() and another vec<type,
      allocation, layout>::destroy() to allocate the internal vector.
      
      For vectors that must be pointers, there is a family of free functions
      that implement the operations that need to tolerate NULL vectors.
      These functions all start with the prefix 'vec_safe_'.  See the wiki
      page for details.
      
      The gengtype change removes the special handling for VEC() that used
      to exist in gengtype. Additionally, it allows gengtype to recognize
      templates of more than one argument and introduces the concept of an
      undefined type (useful for template arguments that may or may not be
      types).
      
      When a TYPE_UNDEFINED is reached, gengtype will ignore it if it
      happens inside a type marked with GTY((user)).  Otherwise, it will
      emit an error.
      
      Finally, gengtype rejects root types marked GTY((user)) that are not
      first class pointers.
      
      2012-11-16  Diego Novillo  <dnovillo@google.com>
      
      	VEC API overhaul (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
      
      	* vec.c (register_overhead): Convert it into
      	member function of vec_prefix.
      	(release_overhead): Likewise.
      	(calculate_allocation): Likewise.
      	(vec_heap_free): Remove.
      	(vec_gc_o_reserve_1): Remove.
      	(vec_heap_o_reserve_1): Remove.
      	(vec_stack_o_reserve_1): Remove.
      	(vec_stack_o_reserve_exact): Remove.
      	(register_stack_vec): New.
      	(stack_vec_register_index): New.
      	(unregister_stack_vec): New.
      	(vec_assert_fail): Remove.
      	* vec.h: Conditionally include ggc.h.  Document conditional
      	hackery.
      	Update top-level documentation.
      	(ALONE_VEC_CHECK_INFO): Remove.
      	(VEC_CHECK_INFO): Remove.
      	(ALONE_VEC_CHECK_DECL): Remove.
      	(VEC_CHECK_DECL): Remove.
      	(ALONE_VEC_CHECK_PASS): Remove.
      	(VEC_CHECK_PASS): Remove.
      	(VEC_ASSERT): Remove.
      	(vec_prefix): Add friends va_gc, va_gc_atomic, va_heap and
      	va_stack.
      	Mark fields alloc_ and num_ as protected.
      	(struct vec_t): Remove.  Remove all function members.
      	(struct vl_embed): Declare.
      	(struct vl_ptr): Declare.
      	(free): Remove.
      	(reserve_exact): Remove.
      	(reserve): Remove.
      	(safe_splice): Remove.
      	(safe_push): Remove.
      	(safe_grow): Remove.
      	(safe_grow_cleared): Remove.
      	(safe_insert): Remove.
      	(DEF_VEC_I): Remove.
      	(DEF_VEC_ALLOC_I): Remove.
      	(DEF_VEC_P): Remove.
      	(DEF_VEC_ALLOC_P): Remove.
      	(DEF_VEC_O): Remove.
      	(DEF_VEC_ALLOC_O): Remove.
      	(DEF_VEC_ALLOC_P_STACK): Remove.
      	(DEF_VEC_ALLOC_O_STACK): Remove.
      	(DEF_VEC_ALLOC_I_STACK): Remove.
      	(DEF_VEC_A): Remove.
      	(DEF_VEC_ALLOC_A): Remove.
      	(vec_stack_p_reserve_exact_1): Remove.
      	(vec_stack_o_reserve): Remove.
      	(vec_stack_o_reserve_exact): Remove.
      	(VEC_length): Remove.
      	(VEC_empty): Remove.
      	(VEC_address): Remove.
      	(vec_address): Remove.
      	(VEC_last): Remove.
      	(VEC_index): Remove.
      	(VEC_iterate): Remove.
      	(VEC_embedded_size): Remove.
      	(VEC_embedded_init): Remove.
      	(VEC_free): Remove.
      	(VEC_copy): Remove.
      	(VEC_space): Remove.
      	(VEC_reserve): Remove.
      	(VEC_reserve_exact): Remove.
      	(VEC_splice): Remove.
      	(VEC_safe_splice): Remove.
      	(VEC_quick_push): Remove.
      	(VEC_safe_push): Remove.
      	(VEC_pop): Remove.
      	(VEC_truncate): Remove.
      	(VEC_safe_grow): Remove.
      	(VEC_replace): Remove.
      	(VEC_quick_insert): Remove.
      	(VEC_safe_insert): Remove.
      	(VEC_ordered_remove): Remove.
      	(VEC_unordered_remove): Remove.
      	(VEC_block_remove): Remove.
      	(VEC_lower_bound): Remove.
      	(VEC_alloc): Remove.
      	(VEC_qsort): Remove.
      
      	(va_heap): Declare.
      	(va_heap::default_layout): New typedef to vl_ptr.
      	(va_heap::reserve): New.
      	(va_heap::release): New.
      	(va_gc): Declare.
      	(va_gc::default_layout): New typedef to vl_embed.
      	(va_gc::reserve): New.
      	(va_gc::release): New.
      	(va_gc_atomic): Declare.  Inherit from va_gc.
      	(va_stack): Declare.
      	(va_stack::default_layout): New typedef to vl_ptr.
      	(va_stack::alloc): New.
      	(va_stack::reserve): New.
      	(va_stack::release): New.
      	(register_stack_vec): Declare.
      	(stack_vec_register_index): Declare.
      	(unregister_stack_vec): Declare.
      
      	(vec<T, A = va_heap, L = typename A::default_layout>): Declare
      	empty vec template.
      	(vec<T, A, vl_embed>): Partial specialization for embedded
      	layout.
      	(vec<T, A, vl_embed>::allocated): New.
      	(vec<T, A, vl_embed>::length): New.
      	(vec<T, A, vl_embed>::is_empty): New.
      	(vec<T, A, vl_embed>::address): New.
      	(vec<T, A, vl_embed>::operator[]): New.
      	(vec<T, A, vl_embed>::last New.
      	(vec<T, A, vl_embed>::space): New.
      	(vec<T, A, vl_embed>::iterate): New.
      	(vec<T, A, vl_embed>::iterate): New.
      	(vec<T, A, vl_embed>::copy): New.
      	(vec<T, A, vl_embed>::splice): New.
      	(vec<T, A, vl_embed>::quick_push New.
      	(vec<T, A, vl_embed>::pop New.
      	(vec<T, A, vl_embed>::truncate): New.
      	(vec<T, A, vl_embed>::quick_insert): New.
      	(vec<T, A, vl_embed>::ordered_remove): New.
      	(vec<T, A, vl_embed>::unordered_remove): New.
      	(vec<T, A, vl_embed>::block_remove): New.
      	(vec<T, A, vl_embed>::qsort): New.
      	(vec<T, A, vl_embed>::lower_bound): New.
      	(vec<T, A, vl_embed>::embedded_size): New.
      	(vec<T, A, vl_embed>::embedded_init): New.
      	(vec<T, A, vl_embed>::quick_grow): New.
      	(vec<T, A, vl_embed>::quick_grow_cleared): New.
      	(vec_safe_space): New.
      	(vec_safe_length): New.
      	(vec_safe_address): New.
      	(vec_safe_is_empty): New.
      	(vec_safe_reserve): New.
      	(vec_safe_reserve_exact): New.
      	(vec_alloc): New.
      	(vec_free): New.
      	(vec_safe_grow): New.
      	(vec_safe_grow_cleared): New.
      	(vec_safe_iterate): New.
      	(vec_safe_push): New.
      	(vec_safe_insert): New.
      	(vec_safe_truncate): New.
      	(vec_safe_copy): New.
      	(vec_safe_splice): New.
      
      	(vec<T, A, vl_ptr>): New partial specialization for the space
      	efficient layout.
      	(vec<T, A, vl_ptr>::exists): New.
      	(vec<T, A, vl_ptr>::is_empty): New.
      	(vec<T, A, vl_ptr>::length): New.
      	(vec<T, A, vl_ptr>::address): New.
      	(vec<T, A, vl_ptr>::operator[]): New.
      	(vec<T, A, vl_ptr>::operator!=): New.
      	(vec<T, A, vl_ptr>::operator==): New.
      	(vec<T, A, vl_ptr>::last): New.
      	(vec<T, A, vl_ptr>::space): New.
      	(vec<T, A, vl_ptr>::iterate): New.
      	(vec<T, A, vl_ptr>::copy): New.
      	(vec<T, A, vl_ptr>::reserve): New.
      	(vec<T, A, vl_ptr>::reserve_exact): New.
      	(vec<T, A, vl_ptr>::splice): New.
      	(vec<T, A, vl_ptr>::safe_splice): New.
      	(vec<T, A, vl_ptr>::quick_push): New.
      	(vec<T, A, vl_ptr>::safe_push): New.
      	(vec<T, A, vl_ptr>::pop): New.
      	(vec<T, A, vl_ptr>::truncate): New.
      	(vec<T, A, vl_ptr>::safe_grow): New.
      	(vec<T, A, vl_ptr>::safe_grow_cleared): New.
      	(vec<T, A, vl_ptr>::quick_grow): New.
      	(vec<T, A, vl_ptr>::quick_grow_cleared): New.
      	(vec<T, A, vl_ptr>::quick_insert): New.
      	(vec<T, A, vl_ptr>::safe_insert): New.
      	(vec<T, A, vl_ptr>::ordered_remove): New.
      	(vec<T, A, vl_ptr>::unordered_remove): New.
      	(vec<T, A, vl_ptr>::block_remove): New.
      	(vec<T, A, vl_ptr>::qsort): New.
      	(vec<T, A, vl_ptr>::lower_bound): New.
      	(vec_stack_alloc): Define.
      	(FOR_EACH_VEC_SAFE_ELT): Define.
      	* vecir.h: Remove.  Update all users.
      	* vecprim.h: Remove.  Update all users.
      	Move uchar to coretypes.h.
      
      	* Makefile.in (VEC_H): Add $(GGC_H).
      	Remove vecir.h and vecprim.h dependencies everywhere.
      
      2012-11-16  Diego Novillo  <dnovillo@google.com>
      
      	* gengtype-lex.l (VEC): Remove.
      	Add characters in the set [\!\>\.-].
      	* gengtype-parse.c (token_names): Remove "VEC".
      	(require_template_declaration): Remove handling of VEC_TOKEN.
      	(type): Likewise.
      	Call create_user_defined_type when parsing GTY((user)).
      	* gengtype-state.c (type_lineloc): handle TYPE_UNDEFINED.
      	(write_state_undefined_type): New.
      	(write_state_type): Call write_state_undefined_type for
      	TYPE_UNDEFINED.
      	(read_state_type): Call read_state_undefined_type for
      	TYPE_UNDEFINED.
      	* gengtype.c (dbgprint_count_type_at): Handle TYPE_UNDEFINED.
      	(create_user_defined_type): Make extern.
      	(type_for_name): Factor out of resolve_typedef.
      	(create_undefined_type): New
      	(resolve_typedef): Call it when we cannot find a previous
      	typedef and the type is not a template.
      	(find_structure): Accept TYPE_UNDEFINED.
      	(set_gc_used_type): Add argument ALLOWED_UNDEFINED_TYPES,
      	default to false.
      	Emit an error for TYPE_UNDEFINED unless LEVEL is GC_UNUSED or
      	ALLOWED_UNDEFINED_TYPES is set.
      	Set ALLOWED_UNDEFINED_TYPES to true for TYPE_USER_STRUCT.
      	(filter_type_name): Accept templates with more than one
      	argument.
      	(output_mangled_typename): Handle TYPE_UNDEFINED
      	(walk_type): Likewise.
      	(write_types_process_field): Likewise.
      	(write_func_for_structure): If CHAIN_NEXT is set, ORIG_S
      	should not be a user-defined type.
      	(write_types_local_user_process_field): Handle TYPE_ARRAY,
      	TYPE_NONE and TYPE_UNDEFINED.
      	(write_types_local_process_field): Likewise.
      	(contains_scalar_p): Return 0 for TYPE_USER_STRUCT.
      	(write_root): Reject user-defined types that are not pointers.
      	Handle TYPE_NONE, TYPE_UNDEFINED, TYPE_UNION, TYPE_LANG_STRUCT
      	and TYPE_PARAM_STRUCT.
      	(output_typename): Handle TYPE_NONE, TYPE_UNDEFINED, and
      	TYPE_ARRAY.
      	(dump_typekind): Handle TYPE_UNDEFINED.
      	* gengtype.h (enum typekind): Add TYPE_UNDEFINED.
      	(create_user_defined_type): Declare.
      	(enum gty_token): Remove VEC_TOKEN.
      
      2012-11-16  Diego Novillo  <dnovillo@google.com>
      
      	Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
      
      	* coretypes.h (uchar): Define.
      	* alias.c: Use new vec API in vec.h.
      	* asan.c: Likewise.
      	* attribs.c: Likewise.
      	* basic-block.h: Likewise.
      	* bb-reorder.c: Likewise.
      	* builtins.c: Likewise.
      	* calls.c: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfghooks.h: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloop.h: Likewise.
      	* cfgloopanal.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphclones.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine.c: Likewise.
      	* compare-elim.c: Likewise.
      	* coverage.c: Likewise.
      	* cprop.c: Likewise.
      	* data-streamer.h: Likewise.
      	* dbxout.c: Likewise.
      	* dce.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* dominance.c: Likewise.
      	* domwalk.c: Likewise.
      	* domwalk.h: Likewise.
      	* dse.c: Likewise.
      	* dwarf2cfi.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarf2out.h: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* except.h: Likewise.
      	* expr.c: Likewise.
      	* expr.h: Likewise.
      	* final.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* fwprop.c: Likewise.
      	* gcc.c: Likewise.
      	* gcse.c: Likewise.
      	* genattr.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* genextract.c: Likewise.
      	* genopinit.c: Likewise
      	* ggc-common.c: Likewise.
      	* ggc.h: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-ssa-strength-reduction.c: Likewise.
      	* gimple-streamer-in.c: Likewise.
      	* gimple.c: Likewise.
      	* gimple.h: Likewise.
      	* gimplify.c: Likewise.
      	* graph.c: Likewise.
      	* graphds.c: Likewise.
      	* graphds.h: Likewise.
      	* graphite-blocking.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* graphite-dependences.c: Likewise.
      	* graphite-interchange.c: Likewise.
      	* graphite-optimize-isl.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-poly.h: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite-scop-detection.h: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.c: Likewise.
      	* godump.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* hw-doloop.c: Likewise.
      	* hw-doloop.h: Likewise.
      	* ifcvt.c: Likewise.
      	* insn-addr.h: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline-analysis.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-inline.h: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-prop.h: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-ref-inline.h: Likewise.
      	* ipa-ref.c: Likewise.
      	* ipa-ref.h: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa-utils.h: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-emit.c: Likewise.
      	* ira-int.h: Likewise.
      	* ira.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lra-lives.c: Likewise.
      	* lra.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.h: Likewise.
      	* lto-symtab.c: Likewise.
      	* mcf.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* omp-low.c: Likewise.
      	* opts-common.c: Likewise.
      	* opts-global.c: Likewise.
      	* opts.c: Likewise.
      	* opts.h: Likewise.
      	* passes.c: Likewise.
      	* predict.c: Likewise.
      	* print-tree.c: Likewise.
      	* profile.c: Likewise.
      	* profile.h: Likewise.
      	* read-rtl.c: Likewise.
      	* ree.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regrename.c: Likewise.
      	* regrename.h: Likewise.
      	* reload.c: Likewise.
      	* reload.h: Likewise.
      	* reload1.c: Likewise.
      	* rtl.h: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-int.h: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched-ir.h: Likewise.
      	* sel-sched.c: Likewise.
      	* sese.c: Likewise.
      	* sese.h: Likewise.
      	* statistics.h: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      	* trans-mem.c: Likewise.
      	* tree-browser.c: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-chrec.h: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-data-ref.h: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-diagnostic.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-emutls.c: Likewise.
      	* tree-flow.h: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-inline.h: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-iterator.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-mudflap.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-phinodes.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-live.h: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-operands.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-sccvn.h: Likewise.
      	* tree-ssa-strlen.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-tail-merge.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-ssanames.c: Likewise.
      	* tree-stdarg.c: Likewise.
      	* tree-streamer-in.c: Likewise.
      	* tree-streamer-out.c: Likewise.
      	* tree-streamer.c: Likewise.
      	* tree-streamer.h: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vectorizer.h: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* tree.h: Likewise.
      	* value-prof.c: Likewise.
      	* value-prof.h: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      	* varpool.c: Likewise.
      	* vmsdbgout.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/c6x/c6x.c: Likewise.
      	* config/darwin.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/rs6000/rs6000-c.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/rx/rx.c: Likewise.
      	* config/spu/spu-c.c: Likewise.
      	* config/vms/vms.c: Likewise.
      	* config/vxworks.c: Likewise.
      	* config/epiphany/resolve-sw-modes.c: Likewise.
      
      From-SVN: r193595
      Diego Novillo committed
  12. 31 May, 2012 1 commit
    • output.h (__gcc_host_wide_int__): Move to hwint.h. · be7a421e
      	* output.h (__gcc_host_wide_int__): Move to hwint.h.
      	(decl_default_tls_model): Move to tree.h
      	(dump_file): Move to system.h.
      	(default_stabs_asm_out_destructor, default_stabs_asm_out_constructor,
      	dbxout_int, dbxout_stabd, dbxout_begin_stabn, dbxout_begin_stabn_sline,
      	dbxout_begin_empty_stabs, dbxout_begin_simple_stabs,
      	dbxout_begin_simple_stabs_desc, dbxout_stab_value_zero,
      	dbxout_stab_value_zero, dbxout_stab_value_label_diff,
      	dbxout_stab_value_internal_label,
      	dbxout_stab_value_internal_label_diff): Move from here ...
      	* dbxout.h: ... to here.
      	* system.h (dump_file): Moved here from output.h.
      	* hwint.h (__gcc_host_wide_int__): Moved here from output.h.
      	* tree.h (decl_default_tls_model): Moved here from output.h.
      	* varasm.c (default_stabs_asm_out_destructor,
      	default_stabs_asm_out_constructor): Move from here ...
      	* dbxout.c: ... to here.
      
      	* gcov-dump.c (dump_file): Rename to dump_gcov_file.  Update callers.
      
      	* collect2.h (dump_file): Rename to dump_ld_file.
      	* collect2.c: Likewise.
      	* tlink.c: Likewise.
      
      	* alias.c: Do not include output.h.
      	* auto-inc-dec.c: Likewise.
      	* bt-load.c: Likewise.
      	* caller-save.c: Likewise.
      	* cfg.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloopanal.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraphclones.c: Likewise.
      	* combine-stack-adj.c: Likewise.
      	* combine.c: Likewise.
      	* cprop.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbgcnt.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* dojump.c: Likewise.
      	* fwprop.c: Likewise.
      	* gcse.c: Likewise.
      	* graph.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* hw-doloop.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-emit.c: Likewise.
      	* lcm.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-iv.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* loop-unswitch.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* mcf.c: Likewise.
      	* mode-switching.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* profile.c: Likewise.
      	* ree.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* regmove.c: Likewise.
      	* regstat.c: Likewise.
      	* reload1.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* tracer.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-nomudflap.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-loop-ch.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop-unswitch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-tail-merge.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* value-prof.c: Likewise.
      	* var-tracking.c: Likewise.
      	* web.c: Likewise.
      
      	* config/m32r/m32r.c: Include dbxout.h.
      	* config/pa/pa.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      
      	* Makefile.in: Fix dependencies.
      	* config/rs6000/t-rs5000: Likewise.
      
      c-family/
      	* c-ada-spec.c: Do not include output.h.
      	* c-semantics.c: Likewise.
      
      cp/
      	* call.c: Do not include output.h.
      	* class.c: Likewise.
      	* except.c: Likewise.
      	* friend.c: Likewise.
      	* init.c: Likewise.
      	* lex.c: Likewise.
      	* method.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* rtti.c: Likewise.
      	* search.c: Likewise.
      
      objc/
      	* objc-act.c: Do not include output.h.
      
      fortran/
      	* trans-common.c: Do not include output.h.
      	* trans-decl.c: Likewise.
      
      java/
      	* resource.c: Do not include output.h.
      
      From-SVN: r188082
      Steven Bosscher committed
  13. 29 Nov, 2010 1 commit
    • system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. · 71f3e391
      	* system.h: Include "safe-ctype.h" instead of <safe-ctype.h>.
      	Include <signal.h>, <sys/mman.h>, <sys/resource.h> and
      	<sys/times.h>.
      	(O_BINARY, SIGCHLD, MAP_FAILED, MAP_ANONYMOUS, kill):
      	Conditionally define.
      	(GET_ENVIRONMENT): Poison.
      	* configure.ac: Don't test for mincore.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* collect2-aix.c: Don't include <sys/mman.h>.
      	* collect2.c: Don't include <signal.h>.
      	(SIGCHLD): Don't define.
      	(prefix_from_env): Use getenv instead of GET_ENVIRONMENT.
      	* config/alpha/alpha.c: Include "splay-tree.h" instead of
      	<splay-tree.h>.
      	* config/arm/arm.c (arm_target_help): Use getenv instead of
      	GET_ENVIRONMENT.
      	* config/avr/driver-avr.c: Don't include <stdlib.h>.
      	* config/frv/frv.c: Don't include <ctype.h>.
      	* config/host-darwin.c: Don't include <sys/mman.h>.
      	* config/host-hpux.c: Don't include <sys/mman.h> or <unistd.h>.
      	(MAP_FAILED): Don't define.
      	* config/host-linux.c: Don't include <sys/mman.h> or <limits.h>.
      	* config/host-solaris.c: Don't include <sys/mman.h>.
      	* config/i386/cygming.h: Don't include <stdio.h>.
      	* config/i386/driver-i386.c: Don't include <stdlib.h>.
      	* config/i386/host-cygwin.c: Don't include <sys/mman.h>.
      	* config/iq2000/iq2000.c: Don't include <signal.h>.
      	* config/m32c/m32c-pragma.c: Don't include <stdio.h>.
      	* config/m68hc11/m68hc11.c: Don't include <stdio.h>.
      	* config/mep/mep-pragma.c: Don't include <stdio.h>.
      	* config/microblaze/microblaze.c: Don't include <signal.h>.
      	* config/mips/mips.c: Don't include <signal.h>.
      	* config/rs6000/host-darwin.c: Don't include <signal.h>.
      	* cppdefault.c (cpp_relocated): Use getenv instead of
      	GET_ENVIRONMENT.
      	* defaults.h (GET_ENVIRONMENT): Don't define.
      	* et-forest.h: Don't include <ansidecl.h> or <stddef.h>.
      	* gcc.c: Don't include <signal.h>, <sys/mman.h> or <sys/types.h>.
      	(SIGCHLD, MAP_FAILED, kill): Don't define.
      	(process_command): Use getenv instead of GET_ENVIRONMENT.
      	* genhooks.c: Don't include <string.h>.
      	* ggc-common.c: Don't include <sys/resource.h>, <sys/mman.h> or
      	<sys/types.h>.
      	(MAP_FAILED): Don't define.
      	* ggc-page.c Don't include <sys/mman.h>.
      	(MAP_ANONYMOUS, MAP_FAILED): Don't define.
      	* ggc-zone.c: Don't include <sys/mman.h>.
      	(MAP_ANONYMOUS, MAP_FAILED): Don't define.
      	* graph.c: Include "config.h" instead of <config.h>.
      	* incpath.c (add_env_var_paths): Use getenv instead of
      	GET_ENVIRONMENT.
      	* lto-wrapper.c: Don't include <errno.h>, <signal.h> or
      	"libiberty.h".
      	(SIGCHLD, kill): Don't define.
      	* mips-tfile.c: Don't include <signal.h>.
      	* opts.c: Don't include <signal.h> or <sys/resource.h>.
      	(print_specific_help): Use getenv instead of GET_ENVIRONMENT.
      	* passes.c: Don't include <signal.h>, <sys/resource.h> or
      	<sys/times.h>.
      	* sparseset.h: Don't include <assert.h>.
      	* timevar.c: Don't include <sys/times.h> or <sys/resource.h>.
      	* tlink.c: Don't include "libiberty.h".
      	* toplev.c: Don't include <signal.h> or <sys/times.h>.
      	* tree-mudflap.c: Include "demangle.h" instead of <demangle.h>.
      	* tree-switch-conversion.c: Don't include <signal.h>.
      	* vmsdbgout.c: Don't include <errno.h> or <string.h>.
      
      c-family:
      	* c-opts.c (check_deps_environment_vars): Use getenv instead of
      	GET_ENVIRONMENT.
      	* c-pch.c (O_BINARY): Don't define here.
      	* c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
      
      fortran:
      	* gfortran.h (alloca): Don't include definitions.
      	(NULL): Don't define.
      
      java:
      	* boehm.c: Include "config.h" instead of <config.h>.
      	* builtins.c: Don't include <stdarg.h>.
      	* class.c: Don't include "stdio.h".
      	(O_BINARY): Don't define here.
      	* jcf-depend.c: Don't include <assert.h>.
      	(jcf_dependency_set_dep_file, jcf_dependency_init,
      	jcf_dependency_write): Use gcc_assert.
      	* jcf-io.c (O_BINARY): Don't define here.
      	* jcf-path.c: Don't include "tm.h".
      	(jcf_path_init): Use getenv instead of GET_ENVIRONMENT.
      	* resource.c: Don't include "stdio.h".
      	(O_BINARY): Don't define here.
      	* verify-impl.c: Don't include <stdio.h>.
      
      lto:
      	* lto-endian.h: Delete.
      	* lto-object.c: Don't include "libiberty.h".
      	(O_BINARY): Don't define.
      	* lto.c: Don't include "libiberty.h" or <sys/mman.h>.
      	(O_BINARY): Don't define.
      
      From-SVN: r167241
      Joseph Myers committed
  14. 10 Nov, 2010 1 commit
    • cfgloop.c (verify_loop_structure): Use %' in diagnostics. · d8a07487
      	* cfgloop.c (verify_loop_structure): Use %' in diagnostics.  Start
      	diagnostics with lowercase letters.
      	* cgraphunit.c (verify_cgraph_node): Start diagnostics with
      	lowercase letters.
      	* collect2.c (maybe_run_lto_and_relink): Remove trailing '.' from
      	diagnostic.
      	* config/alpha/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/arm/arm.c (arm_get_pcs_model): Start diagnostics with
      	lowercase letters.
      	* config/arm/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	Remove trailing ' ' from diagnostic.
      	* config/avr/avr.c (print_operand_address): Start diagnostic with
      	a lowercase letter and remove trailing '.'.
      	* config/avr/avr.opt (mpmem-wrap-around): Fix typo in help text.
      	* config/bfin/bfin.c (bfin_option_override): Start diagnostics
      	with lowercase letters.  Use %' in diagnostics.  Remove trailing
      	'.' from diagnostics.
      	(bfin_handle_longcall_attribute): Use %' in diagnostic.
      	* config/cris/cris.c (cris_split_movdx,
      	cris_expand_pic_call_address): Start diagnostics with lowercase
      	letters.
      	(cris_asm_output_label_ref): Use %' in diagnostic.
      	* config/cris/cris.h (ASM_SPEC): Start diagnostic with a lowercase
      	letter.
      	* config/crx/crx.h (FUNCTION_PROFILER): Start diagnostic with a
      	lowercase letter.
      	* config/darwin-c.c (version_as_macro): Start diagnostic with a
      	lowercase letter.
      	* config/darwin-driver.c (darwin_default_min_version): Use %' in
      	diagnostic.
      	* config/host-darwin.c (darwin_gt_pch_use_address): Use %' in
      	diagnostic.
      	* config/i386/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/i386/host-cygwin.c (cygwin_gt_pch_get_address): Use %' in
      	diagnostics.
      	* config/i386/i386.c (ix86_option_override_internal): Write
      	diagnostic as a single sentence without trailing '.'.  Use %' in
      	diagnostics.
      	(ix86_function_sseregparm, classify_argument): Start diagnostics
      	with lowercase letters.
      	(ix86_expand_prologue): Use %' in diagnostic.
      	* config/i386/i386.h (CC1_CPU_SPEC_1): Remove trailing '.' from
      	diagnostic.
      	* config/i386/nwld.h (LINK_SPEC): Start diagnostic with a
      	lowercase letter.
      	* config/i386/winnt.c (i386_pe_determine_dllimport_p): Use %' in
      	diagnostic.
      	* config/ia64/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/ia64/ia64.opt (msched-max-memory-insns-hard-limit): Avoid
      	'`' in help text.
      	* config/lm32/lm32.c (lm32_print_operand): Start diagnostic with a
      	lowercase letter.
      	* config/mep/mep.c (mep_validate_vliw): Start diagnostics with
      	lowercase letters.
      	* config/microblaze/microblaze.c (microblaze_handle_option):
      	Remove trailing '.' from diagnostic.
      	(print_operand): Start diagnostic with a lowercase letter.
      	* config/pa/pa-hpux10.h (LINK_SPEC): Start diagnostics with
      	lowercase letters.  Avoid '`' in diagnostics.
      	* config/pa/pa-hpux11.h (LINK_SPEC): Start diagnostics with
      	lowercase letters.  Avoid '`' in diagnostics.
      	* config/pa/pa64-hpux.h (LINK_SPEC): Start diagnostics with
      	lowercase letters.  Avoid '`' in diagnostics.
      	* config/picochip/picochip.c (picochip_option_override,
      	picochip_emit_save_register, picochip_function_arg,
      	picochip_output_label, picochip_output_internal_label,
      	picochip_asm_output_opcode, picochip_output_cbranch,
      	picochip_output_compare, picochip_output_branch,
      	picochip_get_vliw_alu_id): Remove trailing '.' and '\n' from
      	diagnostics. Start diagnostics with lowercase letters.  Use %' in
      	diagnostics.
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): Use
      	"SPE" capitalization.  Start diagnostic with a lowercase letter.
      	(rs6000_handle_option): Start diagnostics with lowercase letters.
      	(def_builtin): Remove trailing '.' from diagnostic.
      	(rs6000_savres_routine_name): Start diagnostic with a lowercase
      	letter.
      	* config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC): Avoid '`' in
      	diagnostic.
      	* config/rx/rx.c (rx_handle_option): Start diagnostic with a
      	lowercase letter.
      	* config/s390/s390.c (s390_option_override) Start diagnostics with
      	lowercase letters.  Use %' in diagnostic.
      	* config/sh/sh.c (sh_output_mi_thunk): Start diagnostics with
      	lowercase letters.
      	* config/sh/symbian-base.c (sh_symbian_mark_dllimport): Use %' in
      	diagnostic.
      	* config/sh/symbian-c.c (sh_symbian_is_dllimported): Use %' in
      	diagnostic.
      	* config/sh/symbian-cxx.c (sh_symbian_is_dllimported): Use %' in
      	diagnostic.
      	* config/sparc/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/spu/spu.c (spu_option_override): Start diagnostics with
      	lowercase letters.  Use %qs for quoting in diagnostics.
      	(spu_check_builtin_parm): Remove trailing '.' from diagnostics.
      	Use %wd instead of HOST_WIDE_INT_PRINT_DEC in diagnostic .
      	* config/v850/v850.c (construct_save_jarl): Remove trailing '\n'
      	from diagnostic.
      	* convert.c (convert_to_integer, convert_to_vector): Use %' in
      	diagnostics.
      	* dbgcnt.c (dbg_cnt_process_opt): Start diagnostic with lowercase
      	letter and use "cannot" spelling.
      	* expmed.c (extract_fixed_bit_field): Start diagnostic with
      	lowercase letter and format as a single sentence without '.'.
      	* ggc-common.c (write_pch_globals, gt_pch_save, gt_pch_restore):
      	Use %' in diagnostics.
      	* ggc-page.c (ggc_pch_write_object, ggc_pch_finish, ggc_pch_read):
      	Use %' in diagnostics.
      	* ggc-zone.c (ggc_pch_write_object, ggc_pch_finish, ggc_pch_read):
      	Use %' in diagnostics.
      	* graph.c (clean_graph_dump_file): Use %' in diagnostic.
      	* graphite-poly.c (graphite_read_scop_file): Start diagnostics
      	with lowercase letters and remove tailing '.' and '\n'.
      	* lto-cgraph.c (input_profile_summary): Start diagnostic with
      	lowercase letter and remove trailing '.'.
      	(input_cgraph): Start diagnostics with lowercase letters and
      	remove trailing '\n'.
      	* opts.c (finish_options, common_handle_option): Start diagnostics
      	with lowercase letters and remove trailing '.'.  Fix typo in
      	diagnostic.
      	* passes.c (position_pass): Start diagnostic with lowercase
      	letter.	
      	* plugin.c (add_new_plugin, parse_plugin_arg_opt,
      	register_callback, try_init_one_plugin): Start diagnostics with
      	lowercase letters.
      	* reload1.c (spill_failure): Use %' in diagnostic.
      	(gen_reload): Start diagnostic with a lowercase letter.
      	* stor-layout.c (place_field): Start diagnostic with a lowercase
      	letter.
      	* toplev.c (open_auxiliary_file): Use %' in diagnostic.
      	* tree-cfg.c (verify_expr, verify_types_in_gimple_reference,
      	verify_gimple_call, verify_gimple_phi, verify_eh_throw_stmt_node):
      	Start diagnostics with lowercase letters, remove trailing '.' and
      	use %' in diagnostics.
      	* tree-ssa.c (verify_def): Remove trailing '.' from diagnostic.
      	(verify_ssa): Don't split diagnostic across two error calls.
      	Spell out "number" and use %' in diagnostic.
      	* value-prof.c (visit_hist, check_counter): Start diagnostics with
      	lowercase letters.
      
      c-family:
      	* c-common.c (handle_mode_attribute): Use %' and word "signedness"
      	in diagnostic.
      	* c-opts.c (c_common_parse_file): Start diagnostics with lowercase
      	letter.
      	* c-pragma.c (handle_pragma_target, handle_pragma_optimize):
      	Remove trailing '.' from diagnostics.
      	* c.opt (Wwrite-strings_: Avoid '`' in help text.
      
      cp:
      	* cvt.c (cp_convert_to_pointer): Use %' in diagnostic.
      	* decl.c (layout_var_decl, maybe_commonize_var, grokdeclarator):
      	Use %' in diagnostics.
      	* decl2.c (check_classfn): Use %' in diagnostic.
      	* init.c (build_java_class_ref): Use %' in diagnostic.
      	(build_delete): Remove trailing '.' from diagnostic.
      	* method.c (do_build_copy_assign, walk_field_subobs): Use %' in
      	diagnostics.
      	* name-lookup.c (pushdecl_maybe_friend): Use %' in diagnostic.
      	* parser.c (cp_parser_exception_specification_opt): Remove
      	trailing '.' from diagnostic.
      	(cp_parser_objc_interstitial_code): Use %qs for quoting in
      	diagnostic.
      	* pt.c (check_valid_ptrmem_cst_expr): Use %< and %> for quoting in
      	diagnostic.
      	* repo.c (reopen_repo_file_for_write): Use %' in diagnostic.
      
      fortran:
      	* trans-array.c (gfc_trans_deferred_array): Use "front-end"
      	spelling in diagnostic.
      	* trans.c (gfc_allocate_array_with_status): Add missing space in
      	diagnostic.
      
      java:
      	* expr.c (expand_java_field_op): Use %' in diagnostic.
      	* jcf-parse.c (java_parse_file): Use %' in diagnostics.
      	* jvspec.c (lang_specific_driver): Use %' in diagnostic.
      	* lang.c (java_post_options): Use %' in diagnostics.
      
      lto:
      	* lto.c (lto_resolution_read): Start diagnostics with lowercase
      	letters and remove trailing '.'.
      	(lto_file_finalize): Start diagnostic with a lowercase letter.
      
      objc:
      	* objc-act.c (objc_init): Use %' in diagnostic.
      	(objc_set_method_opt): Remove trailing '.' from diagnostic.
      
      From-SVN: r166570
      Joseph Myers committed
  15. 14 Oct, 2010 1 commit
  16. 08 Jul, 2010 1 commit
    • toplev.h: Do not include diagnostic-core.h. · 718f9c0f
      2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	* toplev.h: Do not include diagnostic-core.h.
      	Include diagnostic-core.h in every file that includes toplev.h.
      	* c-tree.h: Do not include toplev.h.
      	* pretty-print.h: Update comment.
      	* Makefile.in: Update dependencies.
      	* alias.c: Include diagnostic-core.h in every file that includes
      	toplev.h.
      	* attribs.c: Likewise.
      	* auto-inc-dec.c: Likewise.
      	* bb-reorder.c: Likewise.
      	* bt-load.c: Likewise.
      	* caller-save.c: Likewise.
      	* calls.c: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfgloop.c: Likewise.
      	* combine.c: Likewise.
      	* config/alpha/alpha.c: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/pe.c: Likewise.
      	* config/avr/avr.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/cris/cris.c: Likewise.
      	* config/crx/crx.c: Likewise.
      	* config/darwin-c.c: Likewise.
      	* config/darwin.c: Likewise.
      	* config/fr30/fr30.c: Likewise.
      	* config/frv/frv.c: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/host-darwin.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/i386/netware.c: Likewise.
      	* config/i386/nwld.c: Likewise.
      	* config/i386/winnt-cxx.c: Likewise.
      	* config/i386/winnt-stubs.c: Likewise.
      	* config/i386/winnt.c: Likewise.
      	* config/ia64/ia64-c.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/iq2000/iq2000.c: Likewise.
      	* config/lm32/lm32.c: Likewise.
      	* config/m32c/m32c-pragma.c: Likewise.
      	* config/m32c/m32c.c: Likewise.
      	* config/m32r/m32r.c: Likewise.
      	* config/m68hc11/m68hc11.c: Likewise.
      	* config/m68k/m68k.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/mep/mep-pragma.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/mmix/mmix.c: Likewise.
      	* config/mn10300/mn10300.c: Likewise.
      	* config/moxie/moxie.c: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/pdp11/pdp11.c: Likewise.
      	* config/picochip/picochip.c: Likewise.
      	* config/rs6000/rs6000-c.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/rx/rx.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/score/score.c: Likewise.
      	* config/score/score3.c: Likewise.
      	* config/score/score7.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sh/symbian-base.c: Likewise.
      	* config/sh/symbian-c.c: Likewise.
      	* config/sh/symbian-cxx.c: Likewise.
      	* config/sol2-c.c: Likewise.
      	* config/sol2.c: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/v850/v850-c.c: Likewise.
      	* config/v850/v850.c: Likewise.
      	* config/vax/vax.c: Likewise.
      	* config/vxworks.c: Likewise.
      	* config/xtensa/xtensa.c: Likewise.
      	* convert.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbgcnt.c: Likewise.
      	* dbxout.c: Likewise.
      	* ddg.c: Likewise.
      	* dominance.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* fixed-value.c: Likewise.
      	* fold-const.c: Likewise.
      	* fwprop.c: Likewise.
      	* gcse.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc-zone.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimplify.c: Likewise.
      	* graph.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* implicit-zee.c: Likewise.
      	* integrate.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* lists.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-iv.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* main.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* optabs.c: Likewise.
      	* params.c: Likewise.
      	* plugin.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* profile.c: Likewise.
      	* real.c: Likewise.
      	* regcprop.c: Likewise.
      	* reginfo.c: Likewise.
      	* regmove.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.c: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* targhooks.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-nomudflap.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-phinodes.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* varasm.c: Likewise.
      	* vec.c: Likewise.
      	* web.c: Likewise.
      	* xcoffout.c: Likewise.
      
      c-family/
      	* c-common.h: Include diagnostic-core.h. Error if already
      	included.
      	* c-semantics.c: Do not define GCC_DIAG_STYLE here.
      cp/
      	* cp-tree.h: Do not include toplev.h.
      	
      java/
      	* boehm.c: Include diagnostic-core.h in every file that includes
      	toplev.h.
      	* class.c: Likewise.
      	* constants.c: Likewise.
      	* decl.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* jcf-parse.c: Likewise.
      	* mangle.c: Likewise.
      	* mangle_name.c: Likewise.
      	* resource.c: Likewise.
      	* typeck.c: Likewise.
      	* verify-glue.c: Likewise.
      ada/
      	* gcc-interface/utils.c: Include diagnostic-core.h in every file
      	that includes toplev.h.
      lto/
      	* lto-coff.c: Include diagnostic-core.h in every file that
      	includes toplev.h.
      	* lto-elf.c: Likewise.
      	* lto-lang.c: Likewise.
      	* lto-macho.c: Likewise.
      
      From-SVN: r161943
      Manuel López-Ibáñez committed
  17. 01 Jun, 2010 1 commit
    • fwprop.c: Make emit-rtl.h include last. · 5936d944
      	* fwprop.c: Make emit-rtl.h include last.
      	* rtlanal.c: Include emit-rtl.h.
      	* genautomata.c: Output emit-rtl include into insn-automata.c
      	* df-scan.c: Include emit-rtl.h.
      	* haifa-sched.c: Indlude emit-rtl.h.
      	* mode-switching.c: Indlude emit-rtl.h.
      	* graph.c: Indlude emit-rtl.h.
      	* sel-sched.c: Include emit-rtl.h.
      	* sel-sched-ir.c: Include emit-rtl.h.
      	* ira-build.c: Include emit-rtl.h.
      	* emit-rtl.c: (first_insn, last_insn): Remove defines.
      	(get_insns, set_first_insn, get_last_insn, set_last_insn, get_max_uid):
      	Move to emit-rtl.h.
      	(set_new_first_and_last_insn, get_last_insn_anywhere, get_first_nonnote_insn,
      	get_last_nonnote_insn, try_split, make_call_insn_raw, add_insn_after,
      	add_insn_before, remove_insn, delete_insns_since, reorder_insns_nobb,
      	emit_insn_after_1, emit_debug_insn_before, emit_insn, start_sequence,
      	push_to_sequence, push_to_sequence2, push_topmost_sequence, end_sequence,
      	copy_insn): Use accessor functions.
      	* emit-rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn,
      	 gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value,
      	set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode,
      	mem_expr_equal_p): Move here from rtl.h
      	(get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid):
      	Move here from emit-rtl.c; make inline.
      	* cfglayout.h: Include emit-rtl.h
      	* rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn,
      	 gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value,
      	set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode,
      	mem_expr_equal_p, get_insns, set_first-insn, get_last_insn, set_last_insn,
      	get_max_uid): Move to emit-rtl.h.
      	* reg-stack.c: Include emit-rtl.h
      	* dce.c: Likewise.
      
      From-SVN: r160111
      Jan Hubicka committed
  18. 20 Feb, 2009 1 commit
  19. 16 Jul, 2008 1 commit
    • cfg.c (dump_reg_info): Avoid C++ keywords. · d858f359
      	* cfg.c (dump_reg_info): Avoid C++ keywords.
      	* dwarf2asm.c (dw2_force_const_mem,
      	dw2_asm_output_encoded_addr_rtx): Likewise.
      	* except.c (gen_eh_region, add_action_record, output_ttype):
      	Likewise.
      	* expmed.c (expand_shift): Likewise.
      	* global.c (find_reg): Likewise.
      	* graph.c (draw_edge): Likewise.
      	* local-alloc.c (reg_meets_class_p, find_free_reg): Likewise.
      	* optabs.c (expand_binop, expand_twoval_unop, expand_twoval_binop,
      	widen_clz, widen_bswap, expand_parity, expand_unop,
      	emit_cmp_and_jump_insn_1): Likewise.
      	* postreload.c (reload_cse_simplify_operands): Likewise.
      	* ra.h (add_neighbor): Likewise.
      	* reg-stack.c (remove_regno_note, change_stack): Likewise.
      	* regclass.c (memory_move_secondary_cost, dump_regclass, regclass,
      	record_reg_classes, copy_cost, record_address_regs,
      	invalid_mode_change_p): Likewise.
      	* regrename.c (regrename_optimize, scan_rtx_reg,
      	dump_def_use_chain, find_oldest_value_reg,
      	replace_oldest_value_reg, copyprop_hardreg_forward_1): Likewise.
      
      From-SVN: r137893
      Kaveh R. Ghazi committed
  20. 26 Jun, 2008 1 commit
    • driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. · d3bfe4de
      	* config/i386/driver-i386.c (detect_caches_amd,
      	detect_caches_intel, host_detect_local_cpu): Fix -Wc++-compat
      	and/or -Wcast-qual warnings.
      	*ggc-common.c (ggc_mark_roots, gt_pch_note_object,
      	gt_pch_note_reorder, relocate_ptrs, write_pch_globals,
      	gt_pch_save): Likewise.
      	* ggc-page.c (push_depth, push_by_depth, alloc_anon, alloc_page,
      	gt_ggc_m_S, clear_marks, ggc_pch_read): Likewise.
      	* global.c (compute_regsets): Likewise.
      	* graph.c (print_rtl_graph_with_bb, clean_graph_dump_file,
      	finish_graph_dump_file): Likewise.
      	* haifa-sched.c (schedule_block, extend_h_i_d, extend_ready,
      	unlink_bb_notes): Likewise.
      	* integrate.c (get_hard_reg_initial_val): Likewise.
      	* ipa-prop.c (ipa_push_func_to_list): Likewise.
      	* ipa-struct-reorg.c (gen_var_name, gen_cluster_name): Likewise.
      	* local-alloc.c (update_equiv_regs): Likewise.
      	* loop-invariant.c (check_invariant_table_size,
      	hash_invariant_expr, eq_invariant_expr, find_or_insert_inv):
      	Likewise.
      	* loop-iv.c (check_iv_ref_table_size, analyzed_for_bivness_p,
      	altered_reg_used, mark_altered): Likewise.
      	* loop-unroll.c (si_info_eq, ve_info_eq, allocate_basic_variable,
      	insert_var_expansion_initialization,
      	combine_var_copies_in_loop_exit, apply_opt_in_copies,
      	release_var_copies): Likewise.
      	* matrix-reorg.c (mat_acc_phi_hash, mat_acc_phi_eq, mtt_info_eq,
      	analyze_matrix_decl, add_allocation_site, analyze_transpose,
      	analyze_accesses_for_phi_node, check_var_notmodified_p,
      	check_allocation_function, find_sites_in_func,
      	record_all_accesses_in_func, transform_access_sites,
      	transform_allocation_sites): Likewise.
      	* omp-low.c (new_omp_region, create_omp_child_function_name,
      	check_omp_nesting_restrictions, check_combined_parallel,
      	lower_omp_2, diagnose_sb_1, diagnose_sb_2): Likewise.
      	* optabs.c (no_conflict_move_test, gen_libfunc, gen_fp_libfunc,
      	gen_intv_fp_libfunc, gen_interclass_conv_libfunc,
      	gen_intraclass_conv_libfunc, set_optab_libfunc, set_conv_libfunc):
      	Likewise.
      	* opts-common.c (prune_options): Likewise.
      	* opts.c (add_input_filename, print_filtered_help,
      	get_option_state): Likewise.
      	* params.c (add_params): Likewise.
      	* passes.c (set_pass_for_id, next_pass_1,
      	do_per_function_toporder, pass_fini_dump_file): Likewise.
      	* postreload.c (reload_cse_simplify_operands): Likewise.
      	* predict.c (tree_predicted_by_p, tree_predict_edge,
      	clear_bb_predictions, combine_predictions_for_bb): Likewise.
      
      From-SVN: r137134
      Kaveh R. Ghazi committed
  21. 26 Jul, 2007 1 commit
  22. 21 May, 2007 1 commit
    • gengtype.c (adjust_field_rtx_def): Use NOTE_KIND instead of NOTE_LINE_NUMBER... · a38e7aa5
      	* gengtype.c (adjust_field_rtx_def): Use NOTE_KIND instead of
      	NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P when possible.
      	* ddg.c (create_ddg): LIkewise.
      	* final.c (final): Remove hunk moving line numbernotes around since
      	they are no longer present at this stage.
      	(final_scan_insn): Use NOTE_KIND instead of
      	NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P when possible.
      	(output_asm_label): Likewise.
      	* reorg.c (dbr_schedule): Likewise.
      	* haifa-sched.c (unlink_other_notes): Likewise.
      	* mode-switching.c (optimize_mode_switching): Likewise.
      	* graph.c (start_bb): Likewise.
      	* rtl.def (NOTE): Update description.
      	* jump.c (squeeze_notes): Delete.
      	(mark_jump_label): Use NOTE_KIND instead of NOTE_LINE_NUMBER; use
      	NOTE_INSN_BASIC_BLOCK_P when possible.
      	* ifcvt.c (dead_or_predicable): Remove call of squeeze_notes.
      	* dwarf2out.c (gen_label_die): Use NOTE_KIND instead of
              NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P when possible.
      	(dwarf2out_var_location): Likewise.
      	* cfgbuild.c (make_edges): Likewise.
      	(find_basic_blocks_1): Likewise.
      	* function.c (reorder_blocks_1): Likewise.
      	(epilogue_done): Likewise.
      	(reposition_prologue_and_epilogue_notes): Likewise.
      	* print-rtl.c (print_rtx): Likewise; drop code for printing line number
      	notes.
      	(print_rtl): Likewise.
      	(print_rtl_single): Likewise.
      	* gcse.c (insert_insn_start_bb): Likewise.
      	* alias.c (init_alias_analysis): Likewise.
      	* calls.c (fixup_tail_calls): Likewise.
      	* except.c (sjlj_emit_function_enter): Likewise.
      	* emit-rtl.c (add_insn_after): Likeiwse.
      	(emit_label_before): Likewise.
      	(emit_label_after): Likewise.
      	(emit_note_before, emit_note_after, emit_note): Update
      	parameter to be enum insn_note; do not deal with source
      	files.
      	* cfgcleanup.c (merge_blocks_move_predecessor_nojumps):
      	Use NOTE_KIND instead of NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P
      	when possible.
      	(merge_blocks_move_successor_nojumps): Simplify now when
      	we don't have BLOCK notes.
      	(try_optimize_cfg): Likewise.
      	* cfglayout.c (skip_insns_after_block): Likewise.
      	(record_effective_endpoints): Likewise.
      	(duplicate_insn_chain): Likewise.
      	* varasm.c (output_constant_pool_1): Likewise.
      	* sched-deps.c (sched_analyze): Likewise.
      	* rtl.c (NOTE_INSN_MAX_isnt_negative_adjust_NOTE_INSN_BIAS):
      	Exterminate.
      	(note_insn_name): Simplify now when NOTE_INSN_BIAS is gone.
      	* rtl.h (NOTE_SOURCE_LOCATION, NOTE_EXPANDED_LOCATION): Exterminate.
      	(SET_INSN_DELETED): Simplify.
      	(NOTE_LINE_NUMBER): Exterminate.
      	(NOTE_LINE_KIND): New.
      	(NOTE_INSN_BASIC_BLOCK_P): Update.
      	(enum insn_note): Simplify.
      	(GET_NOTE_INSN_NAME) Simplify.
      	(emit_note_before, emit_note_after, emit_note): Update prototype.
      	(squeeze_notes): Remove.
      	* sched-int.h (NOTE_NOT_BB_P): Update.
      	* resource.c (mark_target_live_regs): Update.
      	* sched-rgn.c (debug_dependencies): Update.
      	* sched-vis.c (print_insn): Update.
      	* config/alpha/alpha.c (alpha_handle_trap_shadows): Update.
      	* config/i386/i386.c (ix86_output_function_epilogue): Update.
      	* config/sh/sh.c (sh_adjust_unroll_max): Function dead since gcc 4.0.0.
      	(TARGET_ADJUST_UNROLL_MAX): Likewise.
      	(split_branches): Update.
      	(sh_optimize_target_register_callee_saved): Remove hunk dead since gcc
      	4.0.0.
      	(sh_adjust_unroll_max): Exterminate.
      	* config/c4x/c4x.c (c4x_reorg): Use SET_INSN_DELETED.
      	* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Likewise.
      	(m68hc11_reorg): Likewise.
      	* config/ia64/ia64.c (emit_insn_group_barriers): Update.
      	(emit_predicate_relation_info): Update.
      	(process_for_unwind_directive): Update.
      	* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Update.
      	(output_call): Update.
      	* config/pa/pa.c (output_lbranch): Update.
      	(output_millicode_call): Update.
      	(output_call): Update.
      	(pa_combine_instructions): Update.
      	* config/mips/mips.c (mips16_gp_pseudo_reg): Update.
      	* config/bfin/bfin.c (gen_one_bundle): Update.
      	* cfgrtl.c (can_delete_note_p): Update.
      	(delete_insn): Update.
      	(rtl_merge_blocks): Update.
      	(commit_one_edge_insertion): Update.
      	(rtl_verify_flow_info): Update.
      	* stmt.c (expand_case): Do not call squeeze_notes.
      
      From-SVN: r124895
      Jan Hubicka committed
  23. 31 Jan, 2006 1 commit
    • tree-vrp.c: Use XNEW/XCNEW allocation wrappers. · 5ed6ace5
      2006-01-31  Marcin Dalecki  <martin@dalecki.de>
      
      	* tree-vrp.c: Use XNEW/XCNEW allocation wrappers.
      	* regrename.c: Ditto.
      	* tree-ssa-loop-im.c: Ditto.
      	* tree-dump.c: Ditto.
      	* tree-complex.c: Ditto.
      	* genrecog.c: Ditto.
      	* tree-ssa-threadupdate.c: Ditto.
      	* tracer.c: Ditto.
      	* java/class.c: Ditto.
      	* java/jcf-parse.c: Ditto.
      	* java/resource.c: Ditto.
      	* java/except.c: Ditto.
      	* java/jvspec.c: Ditto.
      	* java/jcf-write.c: Ditto.
      	* java/jcf-path.c: Ditto.
      	* java/gjavah.c: Ditto.
      	* java/zextract.c: Ditto.
      	* java/jcf-io.c: Ditto.
      	* java/jcf.h: Ditto.
      	* java/buffer.c: Ditto.
      	* java/lang.c: Ditto.
      	* java/parse-scan.y: Ditto.
      	* java/lex.c: Ditto.
      	* java/lex.h: Ditto.
      	* cfgloopmanip.c: Ditto.
      	* postreload-gcse.c: Ditto.
      	* tree-ssa-loop-manip.c: Ditto.
      	* postreload.c: Ditto.
      	* tree-ssa-loop-ch.c: Ditto.
      	* loop.c: Ditto.
      	* ipa-cp.c: Ditto.
      	* cppspec.c: Ditto.
      	* diagnostic.c: Ditto.
      	* final.c: Ditto.
      	* genoutput.c: Ditto.
      	* gcc.c: Ditto.
      	* cfghooks.c: Ditto.
      	* cfgloopanal.c: Ditto.
      	* objc/objc-act.c: Ditto.
      	* gcov.c: Ditto.
      	* genextract.c: Ditto.
      	* genautomata.c: Ditto.
      	* pretty-print.c: Ditto.
      	* genemit.c: Ditto.
      	* cgraphunit.c: Ditto.
      	* flow.c: Ditto.
      	* df-scan.c: Ditto.
      	* haifa-sched.c: Ditto.
      	* dominance.c: Ditto.
      	* dbxout.c: Ditto.
      	* tree-ssa-loop-ivopts.c: Ditto.
      	* df-core.c: Ditto.
      	* mode-switching.c: Ditto.
      	* modulo-sched.c: Ditto.
      	* graph.c: Ditto.
      	* ipa-pure-const.c: Ditto.
      	* cse.c: Ditto.
      	* fix-header.c: Ditto.
      	* web.c: Ditto.
      	* tree-stdarg.c: Ditto.
      	* ipa-utils.c: Ditto.
      	* loop-init.c: Ditto.
      	* ipa-inline.c: Ditto.
      	* cfganal.c: Ditto.
      	* global.c: Ditto.
      	* alloc-pool.c: Ditto.
      	* dwarf2out.c: Ditto.
      	* opts.c: Ditto.
      	* genattrtab.c: Ditto.
      	* tree-ssa-loop-ivcanon.c: Ditto.
      	* predict.c: Ditto.
      	* timevar.c: Ditto.
      	* lcm.c: Ditto.
      	* fortran/gfortranspec.c: Ditto.
      	* regmove.c: Ditto.
      	* local-alloc.c: Ditto.
      	* langhooks.c: Ditto.
      	* function.c: Ditto.
      	* tree-vectorizer.c: Ditto.
      	* gcse.c: Ditto.
      	* ipa-type-escape.c: Ditto.
      	* alias.c: Ditto.
      	* tree-if-conv.c: Ditto.
      	* profile.c: Ditto.
      	* ipa.c: Ditto.
      	* tree-data-ref.c: Ditto.
      	* loop-unroll.c: Ditto.
      	* treelang/treetree.c: Ditto.
      	* calls.c: Ditto.
      	* bt-load.c: Ditto.
      	* ggc-common.c: Ditto.
      	* except.c: Ditto.
      	* coverage.c: Ditto.
      	* cselib.c: Ditto.
      	* tree-cfgcleanup.c: Ditto.
      	* tree-ssa-pre.c: Ditto.
      	* cfgcleanup.c: Ditto.
      	* loop-invariant.c: Ditto.
      	* loop-iv.c: Ditto.
      	* ipa-prop.c: Ditto.
      	* print-tree.c: Ditto.
      	* conflict.c: Ditto.
      	* ggc-page.c: Ditto.
      	* sched-deps.c: Ditto.
      	* regclass.c: Ditto.
      	* tree-object-size.c: Ditto.
      	* combine.c: Ditto.
      	* bb-reorder.c: Ditto.
      	* resource.c: Ditto.
      	* var-tracking.c: Ditto.
      	* cfgloop.c: Ditto.
      	* df-problems.c: Ditto.
      	* reg-stack.c: Ditto.
      	* tlink.c: Ditto.
      	* gccspec.c: Ditto.
      	* sched-rgn.c: Ditto.
      	* tree-ssa-structalias.c: Ditto.
      	* tree-ssa-reassoc.c: Ditto.
      	* config/darwin-c.c: Ditto.
      	* config/darwin.c: Ditto.
      	* config/arm/arm.c: Ditto.
      	* cfgrtl.c: Ditto.
      	* collect2.c: Ditto.
      	* reload1.c: Ditto.
      
      From-SVN: r110446
      Marcin Dalecki committed
  24. 25 Jun, 2005 1 commit
  25. 22 Nov, 2004 1 commit
    • bitmap.h (struct bitmap_obstack): New obstack type. · 7932a3db
      	* bitmap.h (struct bitmap_obstack): New obstack type.
      	(struct bitmap_head_def): Replace using_obstack with obstack
      	pointer.
      	(bitmap_default_obstack): New.
      	(bitmap_initialize): Make inline, does not do allocation.
      	(bitmap_release_memory): Remove.
      	(bitmap_obstack_initialize, bitmap_obstack_release): Declare.
      	(bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
      	bitmap_obstack_free, bitmap_malloc_free): Declare.
      	(BITMAP_OBSTACK_ALLOC, BITMAP_GGC_ALLOC, BITMAP_XMALLOC): Adjust.
      	(BITMAP_FREE): Replace with ...
      	(BITMAP_OBSTACK_FREE): ... this.
      	(BITMAP_XFREE): Adjust.
      	(BITMAP_INIT_ONCE): Remove.
      	* bitmap.c (bitmap_obstack, bitmap_obstack_init, bitmap_free: Remove.
      	(bitmap_default_obstack): New.
      	(bitmap_elem_to_freelist): Adjust.
      	(bitmap_element_allocate): Adjust. Break initialization into ...
      	(bitmap_obstack_initialize): ... here.
      	(bitmap_release_memory): Replace with ...
      	(bitmap_obstack_release): ... this.
      	(bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
      	bitmap_obstack_free, bitmap_malloc_free): New.
      	(bitmap_ior_and_compl, bitmap_ior_and_compl_into): Use
      	bitmap_initialize.
      	(bitmap_initialize): Move to bitmap.h.
      	* gengtype.c (open_base_files): Add obstack.h to ifiles.
      	* Makefile.in (BASIC_BLOCK_H, REGS_H): Add obstack.h.
      	* basic-block.h (INIT_REG_SET): Allocate from reg_obstack.
      	(INITIALIZE_REG_SET): Remove.
      	(FREE_REG_SET): Use BITMAP_OBSTACK_FREE.
      	(INIT_ONCE_REG_SET, MAX_REGNO_REG_SET): Remove.
      	(flow_obstack): Do not declare.
      	(reg_obstack): Declare.
      	* regs.h: Include obstack.h.
      	* tree-optimize.c (tree_rest_of_compilation): Initialize and
      	release bitmap obstack here.
      	* bb-reorder.c: #include regs, not basic-block.
      	(fix_crossing_conditional_branches): Allocate regsets from
      	reg_obstack.
      	* bt-load.c: Do not inlude bitmap.h, sbitmap.h, basic-block.h or
      	obstack.h.
      	* caller-save.c: Include regs.h earlier.
      	* cfg.c: Do not include basic-block.h or obstack.h.
      	(reg_obstack): Define.
      	* cfganal.c: Include obstack.h
      	* cfgcleanyp.c: Do not include basic-block.h. Include regs.h
      	earlier.
      	* cfglayout.c: Do not include obstack.h.
      	(flow_obstack): Remove declaration.
      	(cfg_layout_duplicate_bb): Use reg_obstack.
      	* cfgloop.c, cfgloopanal.c, cfgloopmanip.c: Include obstack.h.
      	* cfgrtl.c (rtl_split_block): Use reg_obstack.
      	(force_nonfallthru_and_redirect, rtl_split_edge): Likewise.
      	(safe_insert_insn_on_edge): Use OBSTACK_ALLOC_REG_SET, adjust.
      	(cfg_layout_split_edge): Use reg_obstack.
      	* cse.c: Include regs.h earlier.
      	* ddg.c: Do not include basic-block.h.
      	* dominance.c: Inlude obstack.h.
      	* flow.c (update_life_info): Use OBSTACK_ALLOC_REG_SET, adjust.
      	(calculate_global_regs_live): Likewise.
      	(allocate_bb_life_data): Use reg_obstack.
      	(init_propagate_block_info): Use OBSTACK_ALLOC_REGSET.
      	* global.c: Do not include basic-block.h.
      	(build_insn_chain): Use OBSTACK_ALLOC_REG_SET, adjust.
      	* graph.c: Include obstack.h.
      	* haifa-sched.c: Do not include basic-block.h.
      	* ifcvt.c: Use OBSTACK_ALLOC_REG_SET, adjust.
      	* local-alloc.c: Do not include basic-block.h.
      	* loop-init.c, loop-invariant.c: Include obstack.h.
      	* loop-iv.c: Likewise.
      	(simplify_using_initial_values): Use OBSTACK_ALLOC_REG_SET,
      	adjust.
      	* loop-unroll.c, loop-unswitch.c: Inlude obstack.h.
      	* modulo-sched.c: Do not include basic-block.h.
      	* passes.c (rest_of_handle_final): Do not call
      	regset_release_memory.
      	* ra-debug.c: Include regs.h earlier. Do not include
      	basic-block.h.
      	* recog.c (peephole2_optimize): Use OBSTACK_ALLOC_REG_SET, adjust.
      	* regclass.c (init_reg_sets): Do not call INIT_ONCE_REG_SET.
      	(allocate_reg_info): Do not call MAX_REGNO_REG_SET.
      	(regset_release_memory): Remove.
      	* resource.c: Do not include basic-block.h.
      	* rtlanal.c: Do not include basic-block.h.
      	* sbitmap.c: Include obstack.h.
      	* sched-deps.c: Do not include basic-block.h.
      	(reg_pending_sets_head, reg_pending_clobbers_head,
      	reg_pending_uses_head): Remove.
      	(init_deps_global): Use OBSTACK_ALLOC_REG_SET.
      	* sched-ebb.c: Do not include basic-block.h.
      	* sched-rgn.c: Likewise.
      	* tree-if-conv.c (get_loop_body_in_if_conv_order): Use
      	BITMAP_XFREE.
      	* tree-outof-ssa.c (perform_edge_inserts): Use BITMAP_XFREE.
      	* tree-sra.c (decide_instantiations): Adjust bitmap
      	initialization.
      	* tree-ssa-dce.c: Include obstack.h.
      	* tree-ssa-pre.c (grand_bitmap_obstack): Make a bitmap_obstack.
      	(value_insert_into_set_bitmap): Remove useless bitmap_clear.
      	(bitmap_set_new): Likewise.
      	(init_pre): Initialize bitmap obstack.
      	(fini_pre): Release bitmap obstack.
      	* tree-ssanames.c (ssa_names_to_rewrite): Make static.
      	(marked_for_rewrite_p): ssa_names_to_rewrite is never NULL.
      	(mark_for_rewrite, unmark_for_rewrite): Likewise.
      	(marked_ssa_names): Likewise.
      	(init_ssanames): Use BITMAP_XMALLOC.
      	(fini_ssanames): Use BITMAP_XFREE.
      	* web.c: Include obstack.h
      
      From-SVN: r91009
      Nathan Sidwell committed
  26. 18 Oct, 2004 1 commit
    • basic-block.h (reg_set_iterator): New. · a2041967
      	* basic-block.h (reg_set_iterator): New.
      	(EXECUTE_IF_SET_IN_REG_SET): Make it iterator style.
      	(EXECUTE_IF_AND_COMPL_IN_REG_SET): Likewise.
      	(EXECUTE_IF_AND_IN_REG_SET): Likewise.
      	* caller-save.c (save_call_clobbered_regs): Adjust to the new
      	style.
      	* cfgcleanup.c (thread_jump): Likewise.
      	* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
      	* conflict.c (conflict_graph_compute): Likewise.
      	* flow.c (verify_local_live_at_start, update_life_info,
      	initialize_uninitialized_subregs, propagate_one_insn,
      	init_propagate_block_info, free_propagate_block_info,
      	propagate_block, dump_regset): Likewise.
      	* global.c (global_conflicts): Likewise.
      	* graph.c (start_bb): Likewise.
      	* local-alloc.c (update_equiv_regs): Likewise.
      	* loop.c (load_mems): Likewise.
      	* reload1.c (compute_use_by_pseudos, order_regs_for_reload,
      	find_reg, finish_spills): Likewise.
      	* resource.c (mark_target_live_regs): Likewise.
      	* sched-deps.c (sched_analyze_insn): Likewise.
      	* sched-rgn.c (sched-rgn.c): Likewise.
      	* config/frv/frv.c (frv_ifcvt_modify_tests): Likewise.
      
      From-SVN: r89226
      Kazu Hirata committed
  27. 28 Sep, 2004 1 commit
    • backport: basic-block.h: Include vec.h, errors.h. · 628f6a4e
      2004-09-24  Ben Elliston  <bje@au.ibm.com>
      	    Steven Bosscher  <stevenb@suse.de>
      	    Andrew Pinski  <pinskia@physics.uc.edu>
      
      	Merge from edge-vector-branch:
      	* basic-block.h: Include vec.h, errors.h. Instantiate a VEC(edge).
      	(struct edge_def): Remove pred_next, succ_next members.
      	(struct basic_block_def): Remove pred, succ members.  Add preds
      	and succs members of type VEC(edge).
      	(FALLTHRU_EDGE): Redefine using EDGE_SUCC.
      	(BRANCH_EDGE): Likewise.
      	(EDGE_CRITICAL_P): Redefine using EDGE_COUNT.
      	(EDGE_COUNT, EDGE_I, EDGE_PRED, EDGE_SUCC): New.
      	(edge_iterator): New.
      	(ei_start, ei_last, ei_end_p, ei_one_before_end_p): New.
      	(ei_next, ei_prev, ei_edge, ei_safe_edge): Likewise.
      	(FOR_EACH_EDGE): New.
      	* bb-reorder.c (find_traces): Use FOR_EACH_EDGE and EDGE_* macros
      	where applicable.
      	(rotate_loop): Likewise.
      	(find_traces_1_route): Likewise.
      	(bb_to_key): Likewise.
      	(connect_traces): Likewise.
      	(copy_bb_p): Likewise.
      	(find_rarely_executed_basic_blocks_and_crossing_edges): Likewise.
      	(add_labels_and_missing_jumps): Likewise.
      	(fix_up_fall_thru_edges): Likewise.
      	(find_jump_block): Likewise.
      	(fix_crossing_conditional_branches): Likewise.
      	(fix_crossing_unconditional_branches): Likewise.
      	(add_reg_crossing_jump_notes): Likewise.
      	* bt-load.c (augment_live_range): Likewise.
      	* cfg.c (clear_edges): Likewise.
      	(unchecked_make_edge): Likewise.
      	(cached_make_edge): Likewise.
      	(make_single_succ_edge): Likewise.
      	(remove_edge): Likewise.
      	(redirect_edge_succ_nodup): Likewise.
      	(check_bb_profile): Likewise.
      	(dump_flow_info): Likewise.
      	(alloc_aux_for_edges): Likewise.
      	(clear_aux_for_edges): Likewise.
      	(dump_cfg_bb_info): Likewise.
      	* cfganal.c (forwarder_block_p): Likewise.
      	(can_fallthru): Likewise.
      	(could_fall_through): Likewise.
      	(mark_dfs_back_edges): Likewise.
      	(set_edge_can_fallthru_flag): Likewise.
      	(find_unreachable_blocks): Likewise.
      	(create_edge_list): Likewise.
      	(verify_edge_list): Likewise.
      	(add_noreturn_fake_exit_edges): Likewise.
      	(connect_infinite_loops_to_exit): Likewise.
      	(flow_reverse_top_sort_order_compute): Likewise.
      	(flow_depth_first_order_compute): Likewise.
      	(flow_preorder_transversal_compute): Likewise.
      	(flow_dfs_compute_reverse_execute): Likewise.
      	(dfs_enumerate_from): Likewise.
      	(compute_dominance_frontiers_1): Likewise.
      	* cfgbuild.c (make_edges): Likewise.
      	(compute_outgoing_frequencies): Likewise.
      	(find_many_sub_basic_blocks): Likewise.
      	(find_sub_basic_blocks): Likewise.
      	* cfgcleanup.c (try_simplify_condjump): Likewise.
      	(thread_jump): Likewise.
      	(try_forward_edges): Likewise.
      	(merge_blocks_move): Likewise.
      	(outgoing_edges_match): Likewise.
      	(try_crossjump_to_edge): Likewise.
      	(try_crossjump_bb): Likewise.
      	(try_optimize_cfg): Likewise.
      	(merge_seq_blocks): Likewise.
      	* cfgexpand.c (expand_gimple_tailcall): Likewise.
      	(expand_gimple_basic_block): Likewise.
      	(construct_init_block): Likewise.
      	(construct_exit_block): Likewise.
      	* cfghooks.c (verify_flow_info): Likewise.
      	(dump_bb): Likewise.
      	(delete_basic_block): Likewise.
      	(split_edge): Likewise.
      	(merge_blocks): Likewise.
      	(make_forwarder_block): Likewise.
      	(tidy_fallthru_edges): Likewise.
      	(can_duplicate_block_p): Likewise.
      	(duplicate_block): Likewise.
      	* cfglayout.c (fixup_reorder_chain): Likewise.
      	(fixup_fallthru_exit_predecessor): Likewise.
      	(can_copy_bbs_p): Likewise.
      	(copy_bbs): Likewise.
      	* cfgloop.c (flow_loops_cfg_dump): Likewise.
      	(flow_loop_entry_edges_find): Likewise.
      	(flow_loop_exit_edges_find): Likewise.
      	(flow_loop_nodes_find): Likewise.
      	(mark_single_exit_loops): Likewise.
      	(flow_loop_pre_header_scan): Likewise.
      	(flow_loop_pre_header_find): Likewise.
      	(update_latch_info): Likewise.
      	(canonicalize_loop_headers): Likewise.
      	(flow_loops_find): Likewise.
      	(get_loop_body_in_bfs_order): Likewise.
      	(get_loop_exit_edges): Likewise.
      	(num_loop_branches): Likewise.
      	(verify_loop_structure): Likewise.
      	(loop_latch_edge): Likewise.
      	(loop_preheader_edge): Likewise.
      	* cfgloopanal.c (mark_irreducible_loops): Likewise.
      	(expected_loop_iterations): Likewise.
      	* cfgloopmanip.c (remove_bbs): Likewise.
      	(fix_bb_placement): Likewise.
      	(fix_irreducible_loops): Likewise.
      	(remove_path): Likewise.
      	(scale_bbs_frequencies): Likewise.
      	(loopify): Likewise.
      	(unloop): Likewise.
      	(fix_loop_placement): Likewise.
      	(loop_delete_branch_edge): Likewise.
      	(duplicate_loop_to_header_edge): Likewise.
      	(mfb_keep_just): Likewise.
      	(create_preheader): Likewise.
      	(force_single_succ_latches): Likewise.
      	(loop_split_edge_with): Likewise.
      	(create_loop_notes): Likewise.
      	* cfgrtl.c (rtl_split_block): Likewise.
      	(rtl_merge_blocks): Likewise.
      	(rtl_can_merge_blocks): Likewise.
      	(try_redirect_by_replacing_jump): Likewise.
      	(force_nonfallthru_and_redirect): Likewise.
      	(rtl_tidy_fallthru_edge): Likewise.
      	(commit_one_edge_insertion): Likewise.
      	(commit_edge_insertions): Likewise.
      	(commit_edge_insertions_watch_calls): Likewise.
      	(rtl_verify_flow_info_1): Likewise.
      	(rtl_verify_flow_info): Likewise.
      	(purge_dead_edges): Likewise.
      	(cfg_layout_redirect_edge_and_branch): Likewise.
      	(cfg_layout_can_merge_blocks_p): Likewise.
      	(rtl_flow_call_edges_add): Likewise.
      	* cse.c (cse_cc_succs): Likewise.
      	* df.c (hybrid_search): Likewise.
      	* dominance.c (calc_dfs_tree_nonrec): Likewise.
      	(calc_dfs_tree): Likewise.
      	(calc_idoms): Likewise.
      	(recount_dominator): Likewise.
      	* domwalk.c (walk_dominator_tree): Likewise.
      	* except.c (emit_to_new_bb_before): Likewise.
      	(connect_post_landing_pads): Likewise.
      	(sjlj_emit_function_enter): Likewise.
      	(sjlj_emit_function_exit): Likewise.
      	(finish_eh_generation): Likewise.
      	* final.c (compute_alignments): Likewise.
      	* flow.c (calculate_global_regs_live): Likewise.
      	(initialize_uninitialized_subregs): Likewise.
      	(init_propagate_block_info): Likewise.
      	* function.c (thread_prologue_and_epilogue_insns): Likewise.
      	* gcse.c (find_implicit_sets): Likewise.
      	(bypass_block): Likewise.
      	(bypass_conditional_jumps): Likewise.
      	(compute_pre_data): Likewise.
      	(insert_insn_end_bb): Likewise.
      	(insert_store): Likewise.
      	(remove_reachable_equiv_notes): Likewise.
      	* global.c (global_conflicts): Likewise.
      	(calculate_reg_pav): Likewise.
      	* graph.c (print_rtl_graph_with_bb): Likewise.
      	* ifcvt.c (mark_loop_exit_edges): Likewise.
      	(merge_if_block): Likewise.
      	(find_if_header): Likewise.
      	(block_jumps_and_fallthru_p): Likewise.
      	(find_if_block): Likewise.
      	(find_cond_trap): Likewise.
      	(block_has_only_trap): Likewise.
      	(find_if_case1): Likewise.
      	(find_if_case_2): Likewise.
      	* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
      	(perfect_nestify): Likewise.
      	* lcm.c (compute_antinout_edge): Likewise.
      	(compute_laterin): Likewise.
      	(compute_available): Likewise.
      	(compute_nearerout): Likewise.
      	* loop-doloop.c (doloop_modify): Likewise.
      	* loop-init.c (loop_optimizer_init): Likewise.
      	* loop-invariant.c (find_exits): Likewise.
      	* loop-iv.c (simplify_using_initial_values): Likewise.
      	(check_simple_exit): Likewise.
      	(find_simple_exit): Likewise.
      	* loop-unroll.c (peel_loop_completely): Likewise.
      	(unroll_loop_constant_iterations): Likewise.
      	(unroll_loop_runtime_iterations): Likewise.
      	* loop-unswitch.c (may_unswitch_on): Likewise.
      	(unswitch_loop): Likewise.
      	* modulo-sched.c (generate_prolog_epilog): Likewise.
      	(sms_schedule): Likewise.
      	* postreload-gcse.c (eliminate_partially_redundant_load):
      	Likewise.
      	* predict.c (can_predict_insn_p): Likewise.
      	(set_even_probabilities): Likewise.
      	(combine_predictions_for_bb): Likewise.
      	(predict_loops): Likewise.
      	(estimate_probability): Likewise.
      	(tree_predict_by_opcode): Likewise.
      	(tree_estimate_probability): Likewise.
      	(last_basic_block_p): Likewise.
      	(propagate_freq): Likewise.
      	(estimate_loops_at_level): Likewise.
      	(estimate_bb_frequencies): Likewise.
      	* profile.c (instrument_edges): Likewise.
      	(get_exec_counts): Likewise.
      	(compute_branch_probabilities): Likewise.
      	(branch_prob): Likewise.
      	* ra-build.c (live_in): Likewise.
      	* ra-rewrite.c (rewrite_program2): Likewise.
      	* ra.c (reg_alloc): Likewise.
      	* reg-stack.c (reg_to_stack): Likewise.
      	(convert_regs_entry): Likewise.
      	(compensate_edge): Likewise.
      	(convert_regs_1): Likewise,
      	(convert_regs_2): Likewise.
      	(convert_regs): Likewise.
      	* regrename.c (copyprop_hardreg_forward): Likewise.
      	* reload1.c (fixup_abnormal_edges): Likewise.
      	* sbitmap.c (sbitmap_intersection_of_succs): Likewise.
      	(sbitmap_insersection_of_preds): Likewise.
      	(sbitmap_union_of_succs): Likewise.
      	(sbitmap_union_of_preds): Likewise.
      	* sched-ebb.c (compute_jump_reg_dependencies): Likewise.
      	(fix_basic_block_boundaries): Likewise.
      	(sched_ebbs): Likewise.
      	* sched-rgn.c (build_control_flow): Likewise.
      	(find_rgns): Likewise.
      	* tracer.c (find_best_successor): Likewise.
      	(find_best_predecessor): Likewise.
      	(tail_duplicate): Likewise.
      	* tree-cfg.c (make_edges): Likewise.
      	(make_ctrl_stmt_edges): Likewise.
      	(make_goto_expr_edges): Likewise.
      	(tree_can_merge_blocks_p): Likewise.
      	(tree_merge_blocks): Likewise.
      	(cfg_remove_useless_stmts_bb): Likewise.
      	(remove_phi_nodes_and_edges_for_unreachable_block): Likewise.
      	(tree_block_forwards_to): Likewise.
      	(cleanup_control_expr_graph): Likewise.
      	(find_taken_edge): Likewise.
      	(dump_cfg_stats): Likewise.
      	(tree_cfg2vcg): Likewise.
      	(disband_implicit_edges): Likewise.
      	(tree_find_edge_insert_loc): Likewise.
      	(bsi_commit_edge_inserts): Likewise.
      	(tree_split_edge): Likewise.
      	(tree_verify_flow_info): Likewise.
      	(tree_make_forwarder_block): Likewise.
      	(tree_forwarder_block_p): Likewise.
      	(thread_jumps): Likewise.
      	(tree_try_redirect_by_replacing_jump): Likewise.
      	(tree_split_block): Likewise.
      	(add_phi_args_after_copy_bb): Likewise.
      	(rewrite_to_new_ssa_names_bb): Likewise.
      	(dump_function_to_file): Likewise.
      	(print_pred_bbs): Likewise.
      	(print_loop): Likewise.
      	(tree_flow_call_edges_add): Likewise.
      	(split_critical_edges): Likewise.
      	(execute_warn_function_return): Likewise.
      	(extract_true_false_edges_from_block): Likewise.
      	* tree-if-conv.c (tree_if_conversion): Likewise.
      	(if_convertable_bb_p): Likewise.
      	(find_phi_replacement_condition): Likewise.
      	(combine_blocks): Likewise.
      	* tree-into-ssa.c (compute_global_livein): Likewise.
      	(ssa_mark_phi_uses): Likewise.
      	(ssa_rewrite_initialize_block): Likewise.
      	(rewrite_add_phi_arguments): Likewise.
      	(ssa_rewrite_phi_arguments): Likewise.
      	(insert_phi_nodes_for): Likewise.
      	(rewrite_into_ssa): Likewise.
      	(rewrite_ssa_into_ssa): Likewise.
      	* tree-mudflap.c (mf_build_check_statement_for): Likewise.
      	* tree-outof-ssa.c (coalesce_abnormal_edges): Likewise.
      	(rewrite_trees): Likewise.
      	* tree-pretty-print.c (dump_bb_header): Likewise.
      	(dump_implicit_edges): Likewise.
      	* tree-sra.c (insert_edge_copies): Likewise.
      	(find_obviously_necessary_stmts): Likewise.
      	(remove_data_stmt): Likewise.
      	* tree-ssa-dom.c (thread_across_edge): Likewise.
      	(dom_opt_finalize_block): Likewise.
      	(single_incoming_edge_ignoring_loop_edges): Likewise.
      	(record_equivalences_from_incoming_edges): Likewise.
      	(cprop_into_successor_phis): Likewise.
      	* tree-ssa-live.c (live_worklist): Likewise.
      	(calculate_live_on_entry): Likewise.
      	(calculate_live_on_exit): Likewise.
      	* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise.
      	(copy_loop_headers): Likewise.
      	* tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
      	(fill_always_executed_in): Likewise.
      	* tree-ssa-loop-ivcanon.c (create_canonical_iv): Likewise.
      	* tree-ssa-loop-ivopts.c (find_interesting_uses): Likewise.
      	(compute_phi_arg_on_exit): Likewise.
      	* tree-ssa-loop-manip.c (add_exit_phis_edge): Likewise.
      	(get_loops_exit): Likewise.
      	(split_loop_exit_edge): Likewise.
      	(ip_normal_pos): Likewise.
      	* tree-ssa-loop-niter.c (simplify_using_initial_conditions):
      	Likewise.
      	* tree-ssa-phiopt.c (candidate_bb_for_phi_optimization): Likewise.
      	(replace_phi_with_stmt): Likewise.
      	(value_replacement): Likewise.
      	* tree-ssa-pre.c (compute_antic_aux): Likewise.
      	(insert_aux): Likewise.
      	(init_pre): Likewise.
      	* tree-ssa-propagate.c (simulate_stmt): Likewise.
      	(simulate_block): Likewise.
      	(ssa_prop_init): Likewise.
      	* tree-ssa-threadupdate.c (thread_block): Likewise.
      	(create_block_for_threading): Likewise.
      	(remove_last_stmt_and_useless_edges): Likewise.
      	* tree-ssa.c (verify_phi_args): Likewise.
      	(verify_ssa): Likewise.
      	* tree_tailcall.c (independent_of_stmt_p): Likewise.
      	(find_tail_calls): Likewise.
      	(eliminate_tail_call): Likewise.
      	(tree_optimize_tail_calls_1): Likewise.
      	* tree-vectorizer.c (vect_transform_loop): Likewise.
      	* var-tracking.c (prologue_stack_adjust): Likewise.
      	(vt_stack_adjustments): Likewise.
      	(vt_find_locations): Likewise.
      	* config/frv/frv.c (frv_ifcvt_modify_tests): Likewise.
      	* config/i386/i386.c (ix86_pad_returns): Likewise.
      	* config/ia64/ia64.c (ia64_expand_prologue): Likewise.
      	* config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise.
      
      Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
      Co-Authored-By: Steven Bosscher <stevenb@suse.de>
      
      From-SVN: r88222
      Ben Elliston committed
  28. 09 Sep, 2004 1 commit
    • gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. · 282899df
      	* gcse.c (INSN_CUID, insert_set_in_table, find_avail_set,
      	cprop_insn, do_local_cprop, local_cprop_pass, find_bypass_set,
      	process_insert_insn, insert_insn_end_bb, pre_insert_copy_insn,
      	hoist_code, extract_mentioned_regs_helper, compute_store_table,
      	insert_store): Use gcc_assert and gcc_unreachable.
      	* ggc-common.c (ggc_splay_alloc, ggc_splay_dont_free,
      	gt_pch_note_object, gt_pch_note_reorder, relocate_ptrs,
      	ggc_record_overhead): Likewise.
      	* ggc-page.c (alloc_page, free_page, ggc_set_mark, ggc_marked_p,
      	init_ggc, ggc_push_context, ggc_recalculate_in_use_p,
      	ggc_pop_context, clear_marks, validate_free_objects,
      	ggc_pch_read): Likewise.
      	* ggc-zone.c (ggc_allocated_p, free_chunk, ggc_set_mark,
      	ggc_marked_p, ggc_get_size, init_ggc, destroy_ggc_zone,
      	ggc_push_context, check_cookies, ggc_collect,
      	ggc_print_statistics): Likewise.
      	* gimple-low.c (lower_function_body, lower_stmt,
      	lower_bind_expr): Likewise.
      	* gimplify.c (gimple_tree_eq, push_gimplify_context,
      	pop_gimplify_context, gimple_pop_condition, create_tmp_var,
      	declare_tmp_vars, gimple_add_tmp_var, annotate_all_with_locus,
      	mostly_copy_tree_r, gimplify_return_expr, gimplify_switch_expr,
      	gimplify_case_label_expr, gimplify_exit_block_expr,
      	canonicalize_component_ref, gimplify_compound_lval,
      	gimplify_self_mod_expr, gimplify_call_expr,
      	gimplify_init_ctor_eval, gimplify_init_constructor,
      	gimplify_modify_expr, gimplify_save_expr, gimplify_target_expr,
      	gimplify_expr, check_pointer_types_r,
      	force_gimple_operand): Likewise.
      	* global.c (global_alloc, build_insn_chain): Likewise.
      	* graph.c (clean_graph_dump_file,
      	finish_graph_dump_file): Likewise.
      	gcov-io.c (gcov_open): Use GCOV_CHECK.
      
      From-SVN: r87240
      Nathan Sidwell committed
  29. 06 Sep, 2004 1 commit
    • Unify the management of RTL and tree-level dump files. · 9f8628ba
      2004-09-06  Paolo Bonzini  <bonzini@gnu.org>
      
      	Unify the management of RTL and tree-level dump files.
      
      	* cfgexpand.c (tree_expand_cfg): Fix incorrect comment.
      	Don't print function name to the dump file, the pass manager
      	would do this for us. Add code from the top of
      	rest_of_compilation, up to the initial RTL dump.
      	* passes.c (rest_of_handle_jump): Call fixup_tail_calls and
      	close the DFI_sibling dump file.
      	(rest_of_compilation): Don't do that here.  Remove code up to the
      	initial RTL dump.
      	(init_optimization_passes): Remove.
      	(pass_rest_of_compilation): Change pass name to NULL.
      	* toplev.c (lang_dependent_init): Do not use an empty dump file prefix.
      	Do not call init_optimization_passes.
      	* toplev.h (init_optimization_passes): Remove.
      
      	* graph.c (print_rtl_graph_with_bb, clean_graph_dump_file,
      	finish_graph_dump_file): Remove SUFFIX parameter.
      	* graph.h (print_rtl_graph_with_bb, clean_graph_dump_file,
      	finish_graph_dump_file): Likewise.
      
      	* tree-pass.h (struct tree_opt_pass): Add `letter' field.
      	* cfgexpand.c (pass_expand): Adjust.
      	* gimple-low.c (pass_lower_cf, pass_remove_useless_vars): Adjust.
      	* passes.c (pass_rest_of_compilation): Adjust.
      	* predict.c (pass_profile): Adjust.
      	* tree-alias-common.c (pass_build_pta, pass_del_pta): Adjust.
      	* tree-cfg.c (pass_build_cfg, pass_remove_useless_stmts,
      	pass_split_crit_edges, pass_warn_function_return): Adjust.
      	* tree-complex.c (pass_lower_vector_ssa, pass_pre_expand): Adjust.
      	* tree-dfa.c (pass_referenced_vars): Adjust.
      	* tree-eh.c (pass_lower_eh): Adjust.
      	* tree-if-conv.c (pass_build_ssa): Adjust.
      	* tree-into-ssa.c (pass_build_ssa): Adjust.
      	* tree-mudflap.c (pass_mudflap_1, pass_mudflap_2): Adjust.
      	* tree-nomudflap.c (pass_mudflap_1, pass_mudflap_2): Adjust.
      	* tree-nrv.c (pass_nrv): Adjust.
      	* tree-optimize.c (pass_gimple, pass_all_optimizations,
      	pass_cleanup_cfg_post_optimizing, pass_free_datastructures,
      	pass_init_datastructures): Adjust.
      	* tree-outof-ssa.c (pass_del_ssa): Adjust.
      	* tree-profile.c (pass_tree_profile): Adjust.
      	* tree-sra.c (pass_sra): Adjust.
      	* tree-ssa-alias.c (pass_may_alias): Adjust.
      	* tree-ssa-ccp.c (pass_ccp, pass_fold_builtins): Adjust.
      	* tree-ssa-copyrename.c (pass_rename_ssa_copies): Adjust.
      	* tree-ssa-dce.c (pass_dce, pass_cd_dce): Adjust.
      	* tree-ssa-dom.c (pass_dominator): Adjust.
      	* tree-ssa-dse.c (pass_dse): Adjust.
      	* tree-ssa-forwprop.c (pass_forwprop): Adjust.
      	* tree-ssa-if-conv.c (pass_if_conversion): Adjust.
      	* tree-ssa-loop-ch.c (pass_ch): Adjust.
      	* tree-ssa-loop.c (pass_loop, pass_loop_init, pass_lim,
      	pass_loop_done, pass_complete_unroll, pass_iv_canon,
      	pass_iv_optimize, pass_vectorize): Adjust.
      	* tree-ssa-phiopt.c (pass_phiopt): Adjust.
      	* tree-ssa-pre.c (pass_pre, pass_fre): Adjust.
      	* tree-ssa.c (pass_redundant_phi, pass_early_warn_uninitialized,
      	pass_late_warn_uninnitialized): Adjust.
      	* tree-tailcall.c (pass_tail_recursion, pass_tail_calls): Adjust.
      
      	* Makefile.in (tree-dump.o): Add new dependencies.
      	* cgraph.c (cgraph_remove_node): TDF_all -> TDF_tree_all.
      	* cgraphunit.c (cgraph_preserve_function_body_p, cgraph_optimize):
      	Likewise.
      	* toplev.c (dump_file_name): New.
      	* tree-dump.c (dump_enable_all): Add LETTER parameter.
      	(struct dump_file_info): Add NUM and LETTER fields.
      	(dump_files): Adjust and add RTL dump files.
      	(dump_register): Add NUM and LETTER fields.
      	(get_dump_file_name, dump_initialized_p, enable_rtl_dump_file): New.
      	(dump_begin): Use get_dump_file_name.
      	(dump_switch_p_1): Adjust call to dump_enable_all.
      	* tree-dump.h (dump_register): Adjust prototype.
      	* tree-optimize.c (register_one_dump_file): Take dump file index.
      	Support flags for RTL dumps.
      	(register_dump_files): Fill in NUM field of struct dump_file_info.
      	Track properties both when the gate is executed and when it is not.
      	(execute_todo): Dump RTL.  Add PROPERTIES parameter.
      	(execute_one_pass): Pass properties to execute_todo.  Handle VCG
      	dumps of RTL.
      	* tree-pass.h (dump_file_name): New.
      	* tree.h (TDF_TREE, TDF_RTL, get_dump_file_name, dump_initialized_p):
      	New.
      
      	* Makefile.in (passes.o): Add new dependencies.
      	* passes.c (struct dump_file_info, enum dump_file_index,
      	dump_file_tbl, init_optimization_passes): Remove.
      	(open_dump_file, close_dump_file): Use tree-dumping infrastructure.
      	(rest_of_handle_new_regalloc, rest_of_handle_old_regalloc): Use
      	dump_enabled_p.
      	(finish_optimization_passes): Update finish_graph_dump_file loop.
      	(enable_rtl_dump_file): Remove.
      	* tree-dump.c (dump_files): Adjust and add RTL dump files.
      	(enable_rtl_dump_file): Add here.
      	* tree.h (enum tree_dump_index): Add RTL dump file indices.
      	* doc/invoke.texi (Debugging options): Document new RTL debugging
      	options.  Update.
      
      From-SVN: r87113
      Paolo Bonzini committed
  30. 09 Jul, 2004 1 commit
    • alias.c (nonlocal_mentioned_p, [...]): Use, LABEL_P, JUMP_P, CALL_P,… · 4b4bf941
      alias.c (nonlocal_mentioned_p, [...]): Use, LABEL_P, JUMP_P, CALL_P, NONJUMP_INSN_P, INSN_P, NOTE_P, BARRIER_P.
      
      2004-07-08  Jerry Quinn  <jlquinn@optonline.net>
      
      	* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p,
      	nonlocal_set_p, init_alias_analysis): Use, LABEL_P, JUMP_P, CALL_P,
      	NONJUMP_INSN_P, INSN_P, NOTE_P, BARRIER_P.
      	* bb-reorder.c (mark_bb_for_unlikely_executed_section,
      	add_labels_and_missing_jumps, find_jump_block,
      	fix_crossing_unconditional_branches, add_reg_crossing_jump_notes):
      	Likewise.
      	* bt-load.c (btr_referenced_p, compute_defs_uses_and_gen,
      	link_btr_uses, move_btr_def): Likewise.
      	* builtins.c (expand_builtin_longjmp, expand_builtin_nonlocal_goto,
      	expand_builtin_expect_jump): Likewise.
      	* caller-save.c (save_call_clobbered_regs, insert_one_insn): Likewise.
      	* calls.c (expand_call, emit_library_call_value_1): Likewise.
      	* cfganal.c (forwarder_block_p): Likewise.
      	* cfgbuild.c (inside_basic_block_p, count_basic_blocks,
      	make_label_edge, rtl_make_eh_edge, make_edges, find_basic_blocks_1,
      	find_bb_boundaries): Likewise.
      	* cfgcleanup.c (try_simplify_condjump, try_forward_edges,
      	merge_blocks_move_predecessor_nojumps,
      	merge_blocks_move_successor_nojumps, insns_match_p,
      	flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
      	try_optimize_cfg): Likewise.
      	* cfgexpand.c (expand_block, construct_exit_block): Likewise.
      	* cfglayout.c (skip_insns_after_block, label_for_bb,
      	record_effective_endpoints, insn_locators_initialize,
      	fixup_reorder_chain, update_unlikely_executed_notes): Likewise.
      	* cfgmainloop.c (create_loop_notes): Likewise.
      	* cfgrtl.c (delete_insn, delete_insn_chain,
      	create_basic_block_structure, rtl_delete_block, free_bb_for_insn,
      	update_bb_for_insn, rtl_merge_blocks, rtl_can_merge_blocks,
      	block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
      	redirect_branch_edge, force_nonfallthru_and_redirect,
      	rtl_tidy_fallthru_edge, back_edge_of_syntactic_loop_p,
      	rtl_split_edge, commit_one_edge_insertion, print_rtl_with_bb,
      	update_br_prob_note, rtl_verify_flow_info_1, rtl_verify_flow_info,
      	purge_dead_edges, cfg_layout_redirect_edge_and_branch,
      	cfg_layout_delete_block, cfg_layout_can_merge_blocks_p,
      	cfg_layout_merge_blocks, rtl_block_ends_with_call_p,
      	need_fake_edge_p, rtl_flow_call_edges_add): Likewise.
      	* combine.c (combine_instructions, can_combine_p, try_combine,
      	find_split_point, record_dead_and_set_regs, reg_dead_at_p,
      	distribute_notes, distribute_links, insn_cuid): Likewise.
      	* cse.c (fold_rtx, cse_insn, cse_around_loop,
      	invalidate_skipped_block, cse_set_around_loop,
      	cse_end_of_basic_block, cse_main, cse_basic_block,
      	cse_condition_code_reg): Likewise.
      	* cselib.c (cselib_process_insn): Likewise.
      	* ddg.c (create_ddg): Likewise.
      	* df.c (df_insn_refs_record, df_bb_rd_local_compute, df_insns_modify):
      	Likewise.
      	* dwarf2out.c (dwarf2out_stack_adjust, dwarf2out_frame_debug,
      	gen_label_die, dwarf2out_var_location): Likewise.
      	* emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn,
      	next_insn, previous_insn, next_nonnote_insn, prev_nonnote_insn,
      	last_call_insn, active_insn_p, next_label, prev_label,
      	link_cc0_insns, next_cc0_user, try_split, add_insn_after,
      	add_insn_before, remove_insn, add_function_usage_to,
      	reorder_insns, find_line_note, remove_unnecessary_notes,
      	emit_insn_after_1, classify_insn): Likewise.
      	* except.c (convert_from_eh_region_ranges_1, emit_to_new_bb_before,
      	connect_post_landing_pads, sjlj_mark_call_sites,
      	sjlj_emit_function_enter, sjlj_emit_function_exit, reachable_handlers,
      	can_throw_internal, can_throw_external, set_nothrow_function_flags,
      	convert_to_eh_region_ranges): Likewise.
      	* explow.c (optimize_save_area_alloca): Likewise.
      	* expr.c (expand_expr_real): Likewise.
      	* final.c (insn_current_reference_address, compute_alignments,
      	shorten_branches, final, scan_ahead_for_unlikely_executed_note,
      	final_scan_insn, output_asm_label, leaf_function_p): Likewise.
      	* flow.c (first_insn_after_basic_block_note, delete_dead_jumptables,
      	propagate_block_delete_insn, propagate_one_insn,
      	init_propagate_block_info, propagate_block, libcall_dead_p,
      	mark_set_1, attempt_auto_inc, find_auto_inc, try_pre_increment):
      	Likewise.
      	* function.c (instantiate_virtual_regs,	reorder_blocks_1,
      	expand_function_start, expand_function_end, contains,
      	thread_prologue_and_epilogue_insns,
      	reposition_prologue_and_epilogue_notes): Likewise.
      	* gcse.c (constprop_register, bypass_conditional_jumps,
      	insert_insn_end_bb, gcse_after_reload): Likewise.
      	* genemit.c (gen_expand, gen_split): Likewise.
      	* genpeep.c (gen_peephole, main): Likewise.
      	* global.c (build_insn_chain): Likewise.
      	* graph.c (node_data, print_rtl_graph_with_bb): Likewise.
      	* haifa-sched.c (unlink_other_notes, unlink_line_notes,
      	get_block_head_tail, no_real_insns_p, rm_line_notes, save_line_notes,
      	restore_line_notes, rm_redundant_line_notes, rm_other_notes,
      	ok_for_early_queue_removal, set_priorities, sched_init): Likewise.
      	* ifcvt.c (count_bb_insns, first_active_insn, last_active_insn,
      	cond_exec_process_insns, end_ifcvt_sequence, noce_process_if_block,
      	merge_if_block, block_jumps_and_fallthru_p, find_if_block,
      	dead_or_predicable): Likewise.
      	* integrate.c (try_constants): Likewise.
      	* jump.c (rebuild_jump_labels, cleanup_barriers,
      	purge_line_number_notes, init_label_info, mark_all_labels,
      	squeeze_notes, get_label_before, get_label_after,
      	reversed_comparison_code_parts, simplejump_p, pc_set,
      	returnjump_p, onlyjump_p, follow_jumps, mark_jump_label,
      	delete_barrier, delete_prior_computation, delete_computation,
      	delete_related_insns, delete_for_peephole, redirect_jump):
      	Likewise.
      	* lcm.c (optimize_mode_switching): Likewise.
      	* local-alloc.c (validate_equiv_mem, update_equiv_regs, block_alloc):
      	Likewise.
      	* loop-doloop.c (doloop_valid_p, doloop_optimize): Likewise.
      	* loop-invariant.c (find_exits, find_invariants_bb): Likewise.
      	* loop-iv.c (simplify_using_assignment): Likewise.
      	* loop.c (compute_luids, loop_optimize, scan_loop, libcall_other_reg,
      	libcall_benefit, skip_consec_insns, move_movables, prescan_loop,
      	find_and_verify_loops, labels_in_range_p, for_each_insn_in_loop,
      	loop_bivs_init_find, strength_reduce, check_insn_for_bivs,
      	check_insn_for_givs, check_final_value, update_giv_derive,
      	basic_induction_var, product_cheap_p, check_dbra_loop,
      	loop_insn_first_p, last_use_this_basic_block,
      	canonicalize_condition, get_condition, loop_regs_scan, load_mems,
      	try_copy_prop, LOOP_BLOCK_NUM, loop_dump_aux): Likewise.
      	* modulo-sched.c (doloop_register_get, find_line_note, sms_schedule,
      	sms_schedule_by_order): Likewise.
      	* optabs.c (emit_no_conflict_block, emit_libcall_block): Likewise.
      	* postreload.c (reload_cse_simplify_operands, reload_combine,
      	reload_cse_move2add): Likewise.
      	* predict.c (can_predict_insn_p, estimate_probability,
      	expected_value_to_br_prob, process_note_predictions): Likewise.
      	* print-rtl.c (print_rtx, print_rtl, print_rtl_single): Likewise.
      	* profile.c (branch_prob): Likewise.
      	* ra-build.c (live_out_1, livethrough_conflicts_bb,
      	detect_webs_set_in_cond_jump): Likewise.
      	* ra-debug.c (ra_print_rtx_object, ra_debug_insns,
      	ra_print_rtl_with_bb): Likewise.
      	* ra-rewrite.c (insert_stores, rewrite_program2): Likewise.
      	* recog.c (next_insn_tests_no_inequality, find_single_use,
      	split_all_insns, peephole2_optimize, if_test_bypass_p): Likewise.
      	* reg-stack.c (next_flags_user, record_label_references,
      	emit_swap_insn, swap_rtx_condition, subst_stack_regs,
      	compensate_edge, convert_regs_1): Likewise.
      	* regclass.c (scan_one_insn): Likewise.
      	* regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
      	regmove_optimize, fixup_match_1, single_set_for_csa,
      	combine_stack_adjustments_for_block): Likewise.
      	* regrename.c (build_def_use, copyprop_hardreg_forward_1): Likewise.
      	* reload.c (find_reloads, find_reloads_address_1, subst_reloads,
      	find_equiv_reg): Likewise.
      	* reload1.c (reload, calculate_needs_all_insns, set_label_offsets,
      	reload_as_needed, emit_input_reload_insns, do_output_reload,
      	delete_output_reload, delete_address_reloads_1, fixup_abnormal_edges):
      	Likewise.
      	* reorg.c (find_end_label, emit_delay_sequence,
      	delete_from_delay_slot, delete_scheduled_jump, optimize_skip,
      	get_jump_flags, rare_destination, mostly_true_jump,
      	try_merge_delay_insns, redundant_insn, own_thread_p,
      	fill_simple_delay_slots, fill_slots_from_thread,
      	fill_eager_delay_slots, relax_delay_slots, make_return_insns,
      	dbr_schedule): Likewise.
      	* resource.c (find_basic_block, next_insn_no_annul,
      	find_dead_or_set_registers, mark_target_live_regs): Likewise.
      	* rtl.h (RTX_PREV): Likewise.
      	* rtlanal.c (global_reg_mentioned_p, no_labels_between_p,
      	no_jumps_between_p, reg_used_between_p, reg_referenced_between_p,
      	reg_set_p, find_last_value, dead_or_set_regno_p, find_reg_fusage,
      	find_regno_fusage, pure_call_p, replace_label, rtx_referenced_p_1,
      	tablejump_p, computed_jump_p, insns_safe_to_move_p,
      	find_first_parameter_load, can_hoist_insn_p): Likewise.
      	* sched-deps.c (get_condition, add_dependence, sched_analyze_2,
      	sched_analyze_insn, sched_analyze, add_forward_dependence): Likewise.
      	* sched-ebb.c (fix_basic_block_boundaries, add_deps_for_risky_insns,
      	schedule_ebbs): Likewise.
      	* sched-rgn.c (is_cfg_nonregular, find_conditional_protection,
      	is_conditionally_protected, can_schedule_ready_p,
      	add_branch_dependences, debug_dependencies): Likewise.
      	* stmt.c (emit_nop, expand_start_case, emit_jump_if_reachable):
      	Likewise.
      	* unroll.c (unroll_loop, copy_loop_body, back_branch_in_range_p,
      	reg_dead_after_loop, loop_find_equiv_value, loop_iterations,
      	set_dominates_use, ujump_to_loop_cont): Likewise.
      	* var-tracking.c (prologue_stack_adjust, vt_initialize): Likewise.
      	* varasm.c (output_constant_pool_1): Likewise.
      
      From-SVN: r84341
      Jerry Quinn committed
  31. 21 Jan, 2004 1 commit
    • alias.c, [...]: Update copyright. · d9221e01
      	* alias.c, basic-block.h, c-common.c, c-common.h,
      	c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c,
      	calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
      	combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c,
      	cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h,
      	defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
      	expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c,
      	genautomata.c, genconditions.c, genemit.c, genflags.c,
      	gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c,
      	ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c,
      	langhooks-def.h, langhooks.c, langhooks.h, line-map.c,
      	line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
      	ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
      	rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
      	target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h,
      	unwind.h, varray.c, varray.h: Update copyright.
      
      From-SVN: r76302
      Kazu Hirata committed
  32. 13 Jan, 2004 1 commit
    • re PR c++/13376 (Incorrect dumps of RTL for passes that use current_function_name) · faed5cc3
      	PR c++/13376
      	* function.h (struct function): Kill `name' field.
      	(current_function_name): Make it an extern function.
      	* function.c (current_function_name): New function.
      	* graph.c: Update all uses of current_function_name.
      	* gcse.c: Likewise.
      	* config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
      	config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
      	* config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
      	instead of a strcmp with "main".
      
      From-SVN: r75784
      Steven Bosscher committed
  33. 03 Jan, 2004 1 commit
  34. 30 Dec, 2003 1 commit
    • backport: et-forest.h (et_forest_create, [...]): Declarations removed. · d47cc544
      	Backport from tree-ssa (relevant changes only):
      	2003-12-18  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
      
      	* et-forest.h (et_forest_create, et_forest_delete,
      	et_forest_add_node, et_forest_add_edge, et_forest_remove_node,
      	et_forest_remove_edge, et_forest_parent,
      	et_forest_common_ancestor, et_forest_node_value,
      	et_forest_enumerate_sons): Declarations removed.
      	(struct et_node): New.
      	(et_new_tree, et_free_tree, et_set_father, et_split, et_nca,
      	et_below): Declare.
      	* et-forest.c (struct et_forest_occurrence, struct et_forest,
      	struct et_forest_node): Removed.
      	(et_forest_create, et_forest_delete,
      	et_forest_add_node, et_forest_add_edge, et_forest_remove_node,
      	et_forest_remove_edge, et_forest_parent,
      	et_forest_common_ancestor, et_forest_node_value,
      	et_forest_enumerate_sons, splay, remove_all_occurrences,
      	find_leftmost_node, find_rightmost_node, calculate_value): Removed.
      	(struct et_occ): New.
      	(et_nodes, et_occurences): New.
      	(set_depth, set_depth_add, set_prev, set_next, et_recomp_min,
      	et_check_occ_sanity, et_check_sanity, et_check_tree_sanity,
      	record_path_before_1, record_path_before, check_path_after_1,
      	check_path_after, et_splay, et_new_occ, et_new_tree,
      	et_free_tree, et_set_father, et_split, et_nca, et_below): New.
      	* basic-block.h (struct basic_block_def): New field dom.
      	(struct dominance_info): Type removed.
      	(calculate_dominance_info, free_dominance_info,
      	nearest_common_dominator, set_immediate_dominator,
      	get_immediate_dominator, dominated_by_p, get_dominated_by,
      	add_to_dominance_info, delete_from_dominance_info,
      	recount_dominator, redirect_immediate_dominators,
      	iterate_fix_dominators, verify_dominators): Declarations
      	changed.
      	(enum dom_state): New.
      	(dom_computed): New variable.
      	(first_dom_son, next_dom_son): Declare.
      	* dominance.c (struct dominance_info): Removed.
      	(BB_NODE, SET_BB_NODE): Removed.
      	(calculate_dominance_info, free_dominance_info,
      	nearest_common_dominator, set_immediate_dominator,
      	get_immediate_dominator, dominated_by_p, get_dominated_by,
      	add_to_dominance_info, delete_from_dominance_info,
      	recount_dominator, redirect_immediate_dominators,
      	iterate_fix_dominators, verify_dominators,
      	debug_dominance_info): Work over new datastructure.  Access
      	dominance datastructures through CFG.
      	(assign_dfs_numbers, compute_dom_fast_query, first_dom_son,
      	next_dom_son): New.
      	* bt-load.c (dom): Variable removed.
      	(augment_live_range, combine_btr_defs, migrate_btr_def,
      	migrate_btr_defs, branch_target_load_optimize): Updated for the
      	new interface for dominance information.
      	* cfg.c {exit_entry_blocks): Update initializer.
      	* cfglayout.c (copy_bbs): Removed loops argument. Updated for
      	the new interface for dominance information.
      	* cfglayout.h (copy_bbs): Declaration changed.
      	* cfgloop.c (flow_loop_pre_header_find, flow_loops_cfg_dump,
      	flow_loop_scan, canonicalize_loop_headers, flow_loops_find): Updated
      	for the new interface for dominance information.
      	(flow_loop_scan): Loops argument removed.
      	(flow_loops_free): Don't release dominators.
      	* cfgloop.h (struct cfg): Dom field removed.
      	(flow_loop_scan, loop_split_edge_with, simple_loop_p,
      	just_once_each_iteration_p, split_loop_bb): Declaration changed.
      	* cfgloopanal.c (simple_loop_exit_p, simple_increment,
      	just_once_each_iteration_p, simple_loop_p): Remove loops argument.
      	Updated for the new interface for dominance information.
      	* cfgloopmanip.c (remove_bbs, find_path, create_preheader,
      	split_loop_bb, loopify, duplicate_loop_to_header_edge,
      	force_single_succ_latches, loop_split_edge_with): Ditto.
      	* gcse.c (dominators): Variable removed.
      	(free_code_hoist_mem, compute_code_hoist_data, hoist_code):
      	Updated for the new interface for dominance information.
      	* ifcvt.c (post_dominators): Variable removed.
      	(mark_loop_exit_edges, merge_if_block, find_if_header,
      	find_cond_trap, find_if_case_1, find_if_case_2, if_convert):
      	Updated for the new interface for dominance information.
      	* loop-init.c (rtl_loop_optimizer_init,
      	rtl_loop_optimizer_finalize): Ditto.
      	* loop-unroll.c (decide_peel_simple, decide_peel_once_rolling,
      	decide_peel_completely, decide_unroll_stupid,
      	decide_unroll_constant_iterations,
      	decide_unroll_runtime_iterations): Loops argument removed.
      	Updated for the new interface for dominance information.
      	(unroll_and_peel_loops, peel_loops_completely,
      	unroll_loop_runtime_iterations): Updated for the new interface for
      	dominance information.
      	* loop-unswitch.c (may_unswitch_on_p, unswitch_loops,
      	unswitch_single_loop, unswitch_loop): Updated for the new
      	interface for dominance information.
      	* predict.c (process_note_predictions, process_note_prediction,
      	estimate_probability, note_prediction_to_br_prob): Ditto.
      	* sched-rgn.c (find_rgns, init_regions): Ditto.
      	* toplev.c (rest_of_handle_branch_prob): Free the dominators.
      
      From-SVN: r75226
      Steven Bosscher committed
  35. 11 Dec, 2003 1 commit
    • basic-block.h (BLOCK_HEAD, BLOCK_END): Remove. · a813c111
      2003-12-11  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* basic-block.h (BLOCK_HEAD, BLOCK_END): Remove.
      	(BLOCK_HEAD_TREE, BLOCK_END_TREE): Remove.
      	(basic_block_def): Rename `head' to `head_' and `end' to `end_'.
      	(BB_HEAD, BB_END): New accessor macros for the `head_' and `end_'
      	fields of a basic block.
      	* bb-reorder.c, bt-load.c, caller-save.c, cfg.c, cfganal.c,
      	cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgloopanal.c,
      	cfgloopmanip.c, cfgrtl.c, combine.c, conflict.c, df.c, emit-rtl.c,
      	final.c, flow.c, function.c, gcse.c, global.c, graph.c,
      	haifa-sched.c, ifcvt.c, lcm.c, local-alloc.c, loop-unswitch.c,
      	loop.c, postreload.c, predict.c, profile.c, ra-build.c, ra-debug.c,
      	ra-rewrite.c, ra.c, recog.c, reg-stack.c, regclass.c, regmove.c,
      	regrename.c, reload1.c, resource.c, sched-ebb.c, sched-rgn.c,
      	sibcall.c, tracer.c, config/frv/frv.c, config/i386/i386.c,
      	config/ia64/ia64.c: Use the BB_HEAD and BB_END macros instead of
      	accessing the `head' and `end' fields of a basic block directly.
      
      	* gengtype.c: Add missing piece from earlier patch.  Dunno what
      	I was thinking...
      
      From-SVN: r74520
      Steven Bosscher committed
  36. 19 Jul, 2003 1 commit
    • alias.c [...]: Remove unnecessary casts. · 703ad42b
      	* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
      	c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
      	c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
      	collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
      	cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
      	cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
      	dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
      	fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
      	gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
      	genemit.c genextract.c genoutput.c genrecog.c gensupport.c
      	ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
      	integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
      	loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
      	postreload.c prefix.c print-tree.c protoize.c ra-build.c
      	ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
      	regmove.c regrename.c reload.c reload1.c reorg.c resource.c
      	sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
      	simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
      	tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
      	varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
      	casts.
      
      From-SVN: r69587
      Kaveh R. Ghazi committed
  37. 06 Jul, 2003 1 commit
    • gcc.c: Convert prototypes to ISO C90. · 1d088dee
      	* gcc.c: Convert prototypes to ISO C90.
      	* gcc.h: Likewise.
      	* gcov-dump.c: Likewise.
      	* gcov-iov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.h: Likewise.
      	* ggc.h: Likewise.
      	* global.c: Likewise.
      	* graph.c: Likewise.
      	* graph.h: Likewise.
      	* hosthooks.h: Likewise.
      	* hooks.h: Likewise.
      	* hooks.c: Likewise.
      	* hashtable.h: Likewise.
      	* hashtable.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* integrate.h: Likewise.
      	* integrate.c: Likewise.
      	* input.h: Likewise.
      	* ifcvt.c: Likewise.
      
      From-SVN: r68995
      Andreas Jaeger committed
  38. 20 May, 2003 1 commit
    • * alias.c (nonlocal_mentioned_p, nonlocal_referenced_p) · 07b7c979
      	(nonlocal_set_p): Remove initial blank line.
      	* dwarf2out.c (simple_type_size_in_bits): Likewise.
      	* et-forest.c (et_forest_create): Likewise.
      	* explow.c (stabilize): Likewise.
      	* fix-header.c (write_lbrac): Likewise.
      	* graph.c (start_fct, node_data): Likewise.
      	* jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
      	* rtlanal.c (global_reg_mentioned_p): Likewise.
      	* tree.c (bit_position): Likewise.
      
      From-SVN: r66984
      Matt Kraai committed
  39. 13 May, 2003 1 commit
    • diagnostic.c (output_format): Add support for %m. · fa6ef813
      	* diagnostic.c (output_format): Add support for %m.
      	(output_printf, output_verbatim, diagnostic_set_info,
      	verbatim): Set err_no field of the text_info structure being
      	initialized.
      	(fatal_io_error): Delete function.
      	* diagnostic.h (text_info): Add err_no field.
      	* toplev.h (fatal_io_error): Delete prototype.
      
      	* c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
      	* toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
      	* f/com.c, java/jcf-parse.c, java/jcf-write.c, java/lex.c
      	* objc/objc-act.c: Replace all calls to fatal_io_error with
      	calls to fatal_error; add ": %m" to the end of all the affected
      	error messages.
      
      From-SVN: r66769
      Zack Weinberg committed
  40. 16 Dec, 2002 1 commit