1. 31 Mar, 2005 1 commit
  2. 14 Mar, 2005 1 commit
  3. 11 Mar, 2005 1 commit
    • basic-block.h (single_succ_p, [...]): New inline functions. · c5cbcccf
      	* basic-block.h (single_succ_p, single_pred_p, single_succ_edge,
      	single_pred_edge, single_succ, single_pred): New inline functions.
      	* bb-reorder.c (rotate_loop, find_traces_1_round,
      	add_labels_and_missing_jumps, fix_up_fall_thru_edges,
      	duplicate_computed_gotos): Use the single_succ/pred functions.
      	* cfganal.c (forwarder_block_p): Ditto.
      	* cfgbuild.c (compute_outgoing_frequencies): Ditto.
      	* cfgcleanup.c (try_simplify_condjump, try_forward_edges,
      	outgoing_edges_match, try_crossjump_to_edge, try_optimize_cfg,
      	merge_seq_blocks): Ditto.
      	* cfghooks.c (split_edge, tidy_fallthru_edges): Ditto.
      	* cfglayout.c (fixup_reorder_chain): Ditto.
      	* cfgloop.c (mark_single_exit_loops, update_latch_info,
      	canonicalize_loop_headers, verify_loop_structure): Ditto.
      	* cfgloopmanip.c (remove_path, unloop, loop_delete_branch_edge,
      	mfb_update_loops, create_preheader, force_single_succ_latches,
      	create_loop_notes): Ditto.
      	* cfgrtl.c (rtl_can_merge_blocks, try_redirect_by_replacing_jump,
      	force_nonfallthru_and_redirect, rtl_tidy_fallthru_edge,
      	commit_one_edge_insertion, purge_dead_edges,
      	cfg_layout_can_merge_blocks_p): Ditto.
      	* except.c (sjlj_emit_function_enter): Ditto.
      	* flow.c (init_propagate_block_info): Ditto.
      	* function.c (thread_prologue_and_epilogue_insns): Ditto.
      	* gcse.c (find_implicit_sets, bypass_conditional_jumps,
      	insert_insn_end_bb): Ditto.
      	* ifcvt.c (merge_if_block, find_if_block, find_if_case_1,
      	find_if_case_2): Ditto.
      	* lambda-code.c (perfect_nestify): Ditto.
      	* lcm.c (optimize_mode_switching): Ditto.
      	* loop-doloop.c (doloop_modify): Ditto.
      	* loop-init.c (loop_optimizer_init): Ditto.
      	* loop-iv.c (simplify_using_initial_values): Ditto.
      	* loop-unroll.c (unroll_loop_runtime_iterations): Ditto.
      	* loop-unswitch.c (unswitch_loop): Ditto.
      	* modulo-sched.c (generate_prolog_epilog): Ditto.
      	* predict.c (combine_predictions_for_insn, estimate_probability,
      	tree_estimate_probability, last_basic_block_p,
      	estimate_bb_frequencies): Ditto.
      	* profile.c (branch_prob): Ditto.
      	* regrename.c (copyprop_hardreg_forward): Ditto.
      	* sched-rgn.c (is_cfg_nonregular, find_rgns, update_live): Ditto.
      	* tracer.c (layout_superblocks): Ditto.
      	* tree-cfg.c (tree_can_merge_blocks_p, tree_merge_blocks,
      	cfg_remove_useless_stmts_bb, cleanup_control_flow,
      	cleanup_control_expr_graph, disband_implicit_edges,
      	tree_find_edge_insert_loc, bsi_commit_edge_inserts,
      	tree_verify_flow_info, tree_make_forwarder_block,
      	tree_forwarder_block_p, remove_forwarder_block,
      	remove_forwarder_block_with_phi, merge_phi_nodes): Ditto.
      	* tree-if-conv.c (tree_if_conversion): Ditto.
      	* tree-mudflap.c (mf_build_check_statement_for): Ditto.
      	* tree-ssa-dce.c (remove_dead_stmt): Ditto.
      	* tree-ssa-dom.c (dom_opt_finalize_block): Ditto.
      	* tree-ssa-loop-ch.c (should_duplicate_loop_header_p,
      	copy_loop_headers): Ditto.
      	* tree-ssa-loop-im.c (loop_commit_inserts): Ditto.
      	* tree-ssa-loop-ivopts.c (compute_phi_arg_on_exit): Ditto.
      	* tree-ssa-loop-manip.c (split_loop_exit_edge, ip_normal_pos,
      	lv_adjust_loop_entry_edge, tree_ssa_loop_version): Ditto.
      	* tree-ssa-loop-niter.c (simplify_using_initial_conditions): Ditto.
      	* tree-ssa-loop-unswitch.c (simplify_using_entry_checks): Ditto.
      	* tree-ssa-phiopt.c (tree_ssa_phiopt, value_replacement): Ditto.
      	* tree-ssa-pre.c (compute_antic_aux, insert_aux, init_pre): Ditto.
      	* tree-ssa-threadupdate.c (redirect_edges): Ditto.
      	* tree-tailcall.c (independent_of_stmt_p, find_tail_calls,
      	eliminate_tail_call, tree_optimize_tail_calls_1): Ditto.
      	* tree-vect-analyze.c (vect_analyze_loop_form): Ditto.
      	* tree-vect-transform.c (vect_update_ivs_after_vectorizer): Ditto.
      	* tree-vectorizer.c (slpeel_update_phi_nodes_for_guard,
      	slpeel_add_loop_guard): Ditto.
      
      From-SVN: r96292
      Zdenek Dvorak committed
  4. 21 Feb, 2005 1 commit
  5. 18 Feb, 2005 1 commit
  6. 24 Nov, 2004 2 commits
    • crtstuff.c (IN_LIBGCC2): Define it. · 1a35e62d
      2004-11-24  Mark Mitchell  <mark@codesourcery.com>
                  Joseph Myers  <joseph@codesourcery.com>
      
      	* crtstuff.c (IN_LIBGCC2): Define it.
      	(EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY
      	instead of HAVE_LD_RO_RW_SECTION_MIXING.
      	* defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro.
      	* dwarf2out.c (named_section_eh_frame_section): Check
      	EH_TABLES_CAN_BE_READ_ONLY.
      	* except.c (default_exception_section): Likewise.
      	* config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define.
      	* doc/tm.texi (EH_TABLES_CAN_BE_READ_ONLY): Document.
      
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      
      From-SVN: r91160
      Mark Mitchell committed
    • cfgrtl.c (rtl_delete_block): Fix comment. · f39e46ba
      	* cfgrtl.c (rtl_delete_block): Fix comment.
      	* emit-rtl.c (remove_unnecessary_notes): Die if we see BLOCK_BEG
      	or BLOCK_END insn notes.
      	* jump.c (squeeze_notes): Likewise.
      	* haifa-sched.c (reemit_notes): Don't "re-emit" EH_REGION_BEG and
      	EH_REGION_END notes, we never have them to begin with.
      	* sched-deps.c (sched_analyze_insn): When updating loop notes,
      	verify that we have indeed only recorded loop notes.
      	(sched_analyze): Die if we see EH_REGION_BEG or EH_REGION_END notes.
      	Only record loop notes.
      
      	* cfgexpand.c (tree_expand_cfg): Fix comment.
      
      	* passes.c (rest_of_compilation): Don't do a second call to
      	convert_from_eh_region_ranges from here, it's already called
      	from cfgexpand.c.
      	* except.c (resolve_fixup_regions): Remove.
      	(remove_fixup_regions): Remove.
      	(convert_from_eh_region_ranges_1): Remove.
      	(convert_from_eh_region_ranges): Remove the case where EH is
      	not already lowered at the tree level.  We always lower there.
      
      From-SVN: r91148
      Steven Bosscher committed
  7. 13 Nov, 2004 2 commits
    • c-cppbuiltin.c, [...]: Fix comment typos. · 1f838355
      	* c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c,
      	lambda-code.c, postreload.c, predict.c, tree-sra.c,
      	tree-ssa-loop-manip.c, tree.c: Fix comment typos.
      
      From-SVN: r90596
      Kazu Hirata committed
    • cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and HARD_REGISTER_NUM_P. · d67fb775
      	* cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and
      	HARD_REGISTER_NUM_P.
      
      	* cselib.c (new_cselib_val): Make comment correct and more detailed.
      	* flow.c (mark_set_1): Likewise.
      
      	* except.c (duplicate_eh_region_1, duplicate_eh_region_2,
      	duplicate_eh_regions): Remove.
      	* except.h (duplicate_eh_regions): Remove prototype.
      	* integrate.c (get_label_from_map, copy_rtx_and_substitute,
      	global_const_equiv_varray): Remove.
      	* integrate.h (get_label_from_map, copy_rtx_and_substitute,
      	global_const_equiv_varray, set_label_in_map): Remove prototypes,
      	extern declaration, and #define.
      	(MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
      	(struct inline_remap): Remove.
      	* varray.c (struct element): Remove entry for const_equiv_data.
      	* varray.h (struct const_equiv_data): Remove.
      	(enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
      	(union varray_data_tag) <const_equiv>: Remove.
      	(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
      	VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.
      
      	* regstack.c (record_label_references): Remove unused function.
      
      	* rtl.def (VALUE): Update comment.
      	(LABEL_REF): Remove unused operand 2.
      	* rtl.h (struct rtx_def): Update for removed accessor macros.
      	(XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN,
      	REG_LOOP_TEST_P): Remove.
      	(ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments.
      	* web.c (entry_register): Don't copy REG_LOOP_TEST_P.
      	* doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove.
      
      From-SVN: r90580
      Steven Bosscher committed
  8. 04 Nov, 2004 2 commits
    • bitmap.h (bitmap_a_or_b, [...]): Remove. · 67299d91
      	* bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.
      	* df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior,
      	bitmap_and_into, bitmap_ior_into as appropriate.
      	* except.c (remove_eh_handler):	Likewise.
      	* global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise.
      	* tree-dfa.c (mark_new_vars_to_rename): Likewise.
      	* tree-ssa-alias.c (merge_pointed_to_info): Likewise.
      	* tree-ssa-live.h (live_merge_and_clear): Likewise.
      	* tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for):
      	Likewise.
      
      From-SVN: r90054
      Nathan Sidwell committed
    • bitmap.c (bitmap_print): Make bitno unsigned. · 3cd8c58a
      	* bitmap.c (bitmap_print): Make bitno unsigned.
      	* bt-load.c (clear_btr_from_live_range,
      	btr_def_live_range): Likewise.
      	* caller-save.c (save_call_clobbered_regs): Likewise.
      	* cfganal.c (compute_dominance_frontiers_1): Likewise.
      	* cfgcleanup.c (thread_jump): Likewise.
      	* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
      	* conflict.c (conflict_graph_compute): Likewise.
      	* ddg.c (add_deps_for_use): Likewise.
      	* df.c (df_refs_update): Likewise.
      	* except.c (remove_eh_handler): Likewise.
      	* flow.c (verify_local_live_at_start, update_life_info,
      	initialize_uninitialized_subregs, propagate_one_insn,
      	free_propagate_block_info, propagate_block, find_use_as_address,
      	reg_set_to_hard_reg_set): Likewise.
      	* gcse.c (clear_modify_mem_tables): Likewise.
      	* global.c (global_conflicts, build_insn_chain): Likewise.
      	* ifcvt.c (dead_or_predicable): Likewise.
      	* local-alloc.c (update_equiv_regs): Likewise.
      	* loop.c (load_mems): Likewise.
      	* ra-build.c (livethrough_conflicts_bb, conflicts_between_webs):
      	Likewise.
      	* ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill):
      	Likewise.
      	* reload1.c (order_regs_for_reload, finish_spills): Likewise.
      	* sched-deps.c (sched_analyze_insn, free_deps): Likewise.
      	* sched-rgn.c (propagate_deps
      	* tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise.
      	* tree-dfa.c (dump_dfa_stats
      	tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
      	insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags):
      	Likewise.
      	* tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars,
      	free_temp_expr_table, find_replaceable_exprs): Likewise.
      	* tree-sra.c (scan_function, scalarize_parms): Likewise.
      	* tree-ssa-alias.c (init_alias_info,
      	compute_points_to_and_addr_escape,
      	compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise.
      	* tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise.
      	* tree-ssa-live.c (new_tree_live_info, live_worklist,
      	calculate_live_on_entry, calculate_live_on_exit, compare_pairs,
      	sort_coalesce_list, build_tree_conflict_graph, dump_live_info
      	tree-ssa-loop-manip.c (add_exit_phis_var): Likewise.
      	tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
      	add_call_read_ops): Likewise.
      	* tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise.
      	* tree-ssa-live.h (num_var_partitions): Return unsigned.
      
      From-SVN: r90053
      Nathan Sidwell committed
  9. 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
  10. 26 Sep, 2004 1 commit
    • bitmap.h (EXECUTE_IF_SET_IN_BITMAP, [...]): Changed to iterator style. · 87c476a2
      	* bitmap.h (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP,
      	EXECUTE_IF_AND_IN_BITMAP): Changed to iterator style.
      	(bitmap_iterator): New type.
      	(bmp_iter_common_next_1, bmp_iter_single_next_1, bmp_iter_single_init,
      	bmp_iter_end_p, bmp_iter_single_next, bmp_iter_and_not_next_1,
      	bmp_iter_and_not_init, bmp_iter_and_not_next, bmp_iter_and_next_1,
      	bmp_iter_and_init, bmp_iter_and_next): New functions.
      	* basic-block.h (EXECUTE_IF_SET_IN_REG_SET,
      	EXECUTE_IF_AND_COMPL_IN_REG_SET, EXECUTE_IF_AND_IN_REG_SET): Changed to
      	use iterator-style EXECUTE_IF_IN_BITMAP macros.
      	* bitmap.c (bitmap_print): Ditto.
      	* bt-load.c (clear_btr_from_live_range, add_btr_to_live_range,
      	btr_def_live_range): Ditto.
      	* cfganal.c (compute_dominance_frontiers_1) Ditto.
      	* cgraphunit.c (convert_UIDs_in_bitmap, cgraph_characterize_statics):
      	Ditto.
      	* ddg.c (build_inter_loop_deps): Ditto.
      	* df.c (FOR_EACH_BB_IN_BITMAP, df_bb_reg_info_compute, df_refs_update):
      	Ditto.
      	* except.c (remove_eh_handler): Ditto.
      	* flow.c (reg_set_to_hard_reg_set): Ditto.
      	* gcse.c (clear_modify_mem_tables): Ditto.
      	* global.c (build_insn_chain): Ditto.
      	* ifcvt.c (dead_or_predicable): Ditto.
      	* loop-invariant.c (get_inv_cost, set_move_mark, move_invariant_reg):
      	Ditto.
      	* ra-build.c (livethrough_conflicts_bb, conflicts_between_webs): Ditto.
      	* ra-rewrite.c (reloads_to_loads, rewrite_program2,
      	detect_web_parts_to_rebuild, delete_useless_defs, actual_spill): Ditto.
      	* tree-cfg.c (allocate_ssa_names, tree_duplicate_sese_region,
      	tree_purge_all_dead_eh_edges): Ditto.
      	* tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
      	insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags,
      	rewrite_ssa_into_ssa): Ditto.
      	* tree-outof-ssa.c (find_replaceable_exprs): Ditto.
      	* tree-sra.c (scan_function, decide_instantiations, scalarize_parms):
      	Ditto.
      	* tree-ssa-alias.c (init_alias_info, compute_points_to_and_addr_escape,
      	compute_flow_sensitive_aliasing, maybe_create_global_var,
      	dump_points_to_info_for): Ditto.
      	* tree-ssa-dce.c (EXECUTE_IF_CONTROL_DEPENDENT): Ditto.
      	* tree-ssa-dse.c (dse_finalize_block): Ditto.
      	* tree-ssa-live.c (live_worklist, calculate_live_on_entry,
      	calculate_live_on_exit, build_tree_conflict_graph, dump_live_info):
      	Ditto.
      	* tree-ssa-loop-ivopts.c (find_induction_variables,
      	find_interesting_uses, add_old_ivs_candidates, alloc_use_cost_map,
      	determine_use_iv_costs, determine_set_costs, find_best_candidate,
      	set_cost_up_to, create_new_ivs, remove_unused_ivs, free_loop_data):
      	Ditto.
      	* tree-ssa-loop-manip.c (add_exit_phis_var, add_exit_phis): Ditto.
      	* tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
      	add_call_read_ops): Ditto.
      	* tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Ditto.
      
      From-SVN: r88145
      Zdenek Dvorak committed
  11. 15 Sep, 2004 1 commit
    • attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. · 971801ff
      gcc:
      	* attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c,
      	except.c, fold-const.c, function.c, langhooks.c, params.c,
      	reload.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
      	tree-dump.c, tree-mudflap.c, tree.c, varasm.c: Use %<, %> and %q
      	for quoting in diagnostics going through pretty-print.c.  Use ''
      	for quoting in other diagnostic text.
      	* langhooks.c: Include intl.h.  Mark text locating diagnostics for
      	translation.
      	* Makefile.in (langhooks.o): Update dependencies.
      	* pretty-print.h (pp_printf): Mark as accepting GCC diagnostic
      	formats.
      
      gcc/testsuite:
      	* g++.dg/ext/member-attr.C, g++.dg/warn/deprecated.C,
      	gcc.dg/deprecated.c, gcc.dg/noreturn-1.c, gcc.dg/noreturn-4.c:
      	Update expected messages.
      
      libmudflap:
      	* testsuite/libmudflap.c/pass35-frag.c: Update expected message.
      
      From-SVN: r87563
      Joseph Myers committed
  12. 12 Sep, 2004 1 commit
  13. 10 Sep, 2004 1 commit
  14. 08 Sep, 2004 1 commit
    • emit-rtl.c (immed_double_const): Use gcc_assert and gcc_unreachable. · 5b0264cb
      	* emit-rtl.c (immed_double_const): Use gcc_assert and gcc_unreachable.
      	(gen_rtx_SUBREG, gen_reg_rtx, mark_user_reg, subreg_hard_regno,
      	gen_lowpart_common, gen_highpart, gen_highpart_mode,
      	subreg_highpart_offset, operand_subword, operand_subword_force,
      	mem_expr_equal_p, set_mem_attributes_minus_bitpos,
      	set_mem_alias_set, change_address_1, verify_rtx_sharing,
      	copy_most_rtx, set_first_insn, set_last_insn, prev_cc0_setter,
      	try_split, add_insn_after, add_insn_before, remove_insn,
      	remove_unnecessary_notes, emit_insn_before, emit_jump_insn_before,
      	emit_call_insn_before, emit_insn_after, emit_jump_insn_after,
      	emit_call_insn_after, emit_insn, emit_jump_insn, emit_call_insn,
      	set_unique_reg_note, emit, push_to_full_sequence, copy_insn_1,
      	gen_const_vector_0, emit_copy_of_insn_after): Likewise.
      	* et-forest.c (set_prev, set_next, et_check_occ_sanity,
      	record_path_before_1, check_path_after_1, check_path_after): Likewise.
      	* except.c (gen_eh_region, resolve_one_fixup_region,
      	remove_unreachable_regions, convert_from_eh_region_ranges_1,
      	add_ehl_entry, duplicate_eh_region_1, build_post_landing_pads,
      	connect_post_landing_pads, sjlj_emit_function_exit,
      	remove_exception_handler_label, remove_eh_handler,
      	reachable_next_level, collect_one_action_chain,
      	output_function_exception_table): Likewise.
      	* explow.c (trunc_int_for_mode, copy_to_mode_reg,
      	optimize_save_area_alloca, allocate_dynamic_stack_space,
      	probe_stack_range, hard_function_value): Likewise.
      	* expmed.c (mode_for_extraction, store_bit_field,
      	store_fixed_bit_field, extract_bit_field, expand_shift,
      	expand_mult_const, expand_mult, choose_multiplier,
      	expand_mult_highpart, expand_divmod, emit_store_flag,
      	do_cmp_and_jump): Likewise.
      	* expr.c (convert_move, convert_modes, move_by_pieces,
      	move_by_pieces_ninsns, move_by_pieces_1, emit_block_move,
      	move_block_from_reg, gen_group_rtx, emit_group_load,
      	emit_group_move, emit_group_store, use_reg, use_regs,
      	can_store_by_pieces, store_by_pieces, store_by_pieces_1,
      	emit_move_insn, emit_move_insn_1, emit_push_insn,
      	expand_assignment, store_expr, count_type_elements,
      	store_constructor, store_field, safe_from_p, expand_var,
      	expand_expr_addr_expr, expand_expr_real_1, do_store_flag): Likewise.
      
      From-SVN: r87178
      Nathan Sidwell committed
  15. 25 Aug, 2004 1 commit
    • tree.h (build_int_cst): New, sign extended constant. · 7d60be94
      	* tree.h  (build_int_cst): New, sign extended constant.
      	(build_int_cstu): New, zero extended constant.
      	(build_int_cst_wide): Renamed from build_int_cst.
      	* tree.c (build_int_cst, build_int_cstu): New.
      	(build_int_cst_wide): Renamed from build_int_cst.
      	(make_vector_type, build_common_tree_nodes,
      	build_common_tree_nodes_2): Adjust build_int_cst calls.
      	* builtins.c (expand_builtin_prefetch, expand_builtin_strstr,
      	expand_builtin_strpbrk, expand_builtin_fputs,
      	build_string_literal, expand_builtin_printf,
      	expand_builtin_sprintf, fold_builtin_classify_type,
      	fold_builtin_lround, fold_builtin_bitop, fold_builtin_isascii,
      	fold_builtin_toascii, fold_builtin_isdigit,
      	simplify_builtin_strstr, simplify_builtin_strpbrk,
      	fold_builtin_fputs, simplify_builtin_sprintf): Likewise.
      	* c-common.c (start_fname_decls, fix_string_type, shorten_compare,
      	DEF_ATTR_INT): Likewise.
      	* c-decl.c (complete_array_type, check_bitfield_type_and_width):
      	Likewise.
      	* c-lex.c (interpret_integer, lex_charconst): Likewise.
      	* c-parse.in (primary) <TYPES_COMPATIBLE_P> Likewise.
      	* c-pretty-print.c (pp_c_integer_constant): Likewise.
      	* c-typeck.c (really_start_incremental_init, push_init_level,
      	set_nonincremental_init_from_string): Likewise.
      	* calls.c (load_register_parameters): Likewise.
      	convert.c (convert_to_pointer): Likewise.
      	coverage.c (coverage_counter_alloc, tree_coverage_counter_ref,
      	build_fn_info_type, build_fn_info_value, build_ctr_info_value,
      	build_gcov_info): Likewise.
      	* except.c (init_eh, assign_filter_values): Likewise.
      	* expmed.c (store_fixed_bit_field, extract_bit_field,
      	extract_fixed_bit_field, extract_split_bit_field, expand_shift,
      	expand_mult_const, expand_mult_highpart_adjust, extract_high_half,
      	expand_sdiv_pow2, expand_divmod, make_tree): Likewise.
      	* expr.c (convert_move, emit_group_load, emit_group_store,
      	expand_assignment, store_constructor, store_field,
      	expand_expr_real_1, reduce_to_bit_field_precision): Likewise.
      	fold-const.c (force_fit_type, int_const_binop, fold_convert_const,
      	invert_truthvalue, optimize_bit_field_compare,
      	decode_field_reference, all_ones_mask_p, constant_boolean_node,
      	fold_div_compare, fold, fold_read_from_constant_string,
      	fold_negate_const, fold_abs_const, fold_not_const, round_up,
      	round_down): Likewise.
      	* function.c (assign_parm_setup_block): Likewise.
      	* stmt.c (shift_return_value, expand_case, estimate_case_costs):
      	Likewise.
      	* stor-layout.c (layout_type, initialize_sizetypes,
      	set_min_and_max_values_for_integral_type): Likewise.
      	* tree-chrec.c (chrec_fold_multiply_poly_poly,
      	reset_evolution_in_loop): Likewise.
      	* tree-chrec.h (build_polynomial_chrec): Likewise.
      	* tree-complex.c (build_replicated_const): Likewise.
      	* tree-eh.c (honor_protect_cleanup_actions,
      	lower_try_finally_onedest, lower_try_finally_copy,
      	lower_try_finally_switch): Likewise.
      	* tree-mudflap.c (mf_build_string, mx_register_decls,
      	mudflap_register_call, mudflap_enqueue_constant): Likewise.
      	* tree-nested.c (get_trampoline_type, get_nl_goto_field): Likewise.
      	* tree-pretty-print.c (dump_generic_node): Likewise.
      	* tree-ssa-ccp.c (widen_bitfield, maybe_fold_offset_to_array_ref):
      	Likewise.
      	* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
      	* tree-ssa-loop-niter.c (number_of_iterations_cond,
      	loop_niter_by_eval, upper_bound_in_type, lower_bound_in_type):
      	Likewise.
      	* tree-ssa-loop-ivcanon.c (create_canonical_iv,
      	canonicalize_loop_induction_variables): Likewise.
      	* tree-vectorizer.c (vect_create_index_for_array_ref,
      	vect_transform_loop_bound, vect_compute_data_ref_alignment):
      	Likewise.
      
      	* config/alpha/alpha.c (alpha_initialize_trampoline, alpha_va_start,
      	alpha_gimplify_va_arg_1): Likewise.
      	* config/arm/arm.c (arm_get_cookie_size): Likewise.
      	* config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise.
      	* config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise.
      	* config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise.
      	* config/mips/mips.c (mips_build_builtin_va_list, mips_va_start,
      	mips_gimplify_va_arg_expr): Likewise.
      	* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
      	* config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg,
      	add_compiler_branch_island): Likewise.
      	* config/s390/s390.c (s390_va_start): Likewise.
      	* config/sh/sh.c (sh_va_start): Likewise.
      	* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start):
      	Likewise.
      	* config/xtensa/xtensa.c (xtensa_va_start,
      	xtensa_gimplify_va_arg_expr): Likewise.
      
      	* objc/objc-act.c (build_objc_string_object,
      	build_objc_symtab_template, init_def_list, init_objc_symtab,
      	init_module_descriptor, generate_static_references,
      	build_selector_translation_table, get_proto_encoding,
      	build_typed_selector_reference, build_selector_reference,
      	build_next_objc_exception_stuff,
      	build_method_prototype_list_template, generate_descriptor_table,
      	generate_protocols, build_protocol_initializer,
      	build_ivar_list_template, build_method_list_template,
      	build_ivar_list_initializer, generate_ivars_list,
      	generate_dispatch_table, generate_protocol_list,
      	build_category_initializer, build_shared_structure_initializer,
      	generate_shared_structures, handle_impent,
      	generate_objc_image_info): Likewise.
      
      2004-04-25  Paolo Bonzini  <bonzini@gnu.org>
      
      	* cfglayout.c (duplicate_insn_chain): Remove references to
      	NOTE_INSN_LOOP_VTOP and NOTE_INSN_LOOP_CONT.
      	* cfgloop.h (struct loop): Remove fields vtop, cont and cont_dominator.
      	* cfgrtl.c (rtl_delete_block): Remove handling of NOTE_INSN_LOOP_CONT.
      	* final.c (final_scan_insn): Remove references to NOTE_INSN_LOOP_VTOP
      	and NOTE_INSN_LOOP_CONT.
      	* insn-notes.def (NOTE_INSN_LOOP_VTOP, NOTE_INSN_LOOP_CONT): Remove.
      	* jump.c (squeeze_notes): Remove references to NOTE_INSN_LOOP_VTOP
      	and NOTE_INSN_LOOP_CONT.
      	* loop.c (scan_loops, find_and_verify_loops, for_each_insn_in_loop,
      	check_dbra_loop, loop_dump_aux): Remove references to removed notes
      	and fields.
      	* reorg.c (mostly_true_jump): Do not rely on NOTE_INSN_LOOP_VTOPs.
      	* unroll.c (unroll_loop, copy_loop_body, loop_iterations): Remove
      	references to removed notes and fields.
      	(subtract_reg_term, ujump_to_loop_cont): Remove.
      
      From-SVN: r86544
      Nathan Sidwell committed
  16. 16 Aug, 2004 1 commit
  17. 15 Aug, 2004 1 commit
    • tree.h (build_int_cst): New. · 4a90aeeb
      .:	* tree.h (build_int_cst): New.
      	(build_int_2): Remove.
      	* tree.c (build_int_2): Remove.
      	(build_int_cst): New.
      	(make_vector_type, build_common_tree_nodes,
      	build_common_tree_nodes_2): Use build_int_cst.
      	* builtins.c (expand_builtin_prefetch, expand_builtin_strstr,
      	expand_builtin_strpbrk, expand_builtin_fputs,
      	build_string_literal, expand_builtin_printf,
      	expand_builtin_sprintf, fold_builtin_lround, fold_builtin_bitop,
      	fold_builtin_bitop, fold_builtin_isascii, fold_builtin_toascii,
      	fold_builtin_isdigit, simplify_builtin_strstr,
      	simplify_builtin_strpbrk, fold_builtin_fputs,
      	simplify_builtin_sprintf): Use build_int_cst.
      	* c-common.c (start_fname_decls, fix_string_type,
      	c_common_nodes_and_builtins, c_init_attributes,
      	shorten_compare): Likewise.
      	* c-decl.c (complete_array_type,
      	check_bitfield_type_and_width): Likewise.
      	* c-lex.c (interpret_integer, lex_charconst): Likewise.
      	* c-parse.in (primary): <TYPES_COMPATIBLE_P> Likewise.
      	* c-pretty-print.c (pp_c_integer_constant): Likewise.
      	* c-typeck.c (really_start_incremental_init, push_init_level,
      	set_nonincremental_init_from_string): Likewise.
      	* calls.c (load_register_parameters): Likewise.
      	* convert.c (convert_to_pointer): Likewise.
      	* coverage.c (coverage_counter_alloc, tree_coverage_counter_ref,
      	build_fn_info_type, build_ctr_info_value, build_gcov_info):
      	Likewise.
      	* except.c (init_eh, assign_filter_values, assign_filter_values):
      	Likewise.
      	* expmed.c (store_fixed_bit_field, extract_bit_field,
      	extract_fixed_bit_field, extract_split_bit_field, expand_shift,
      	expand_mult_const, expand_mult_highpart_adjust, extract_high_half,
      	expand_sdiv_pow2, expand_divmod, make_tree): Likewise.
      	* expr.c (convert_move, emit_group_load, emit_group_store,
      	expand_assignment, store_constructor, store_field,
      	expand_expr_real_1, reduce_to_bit_field_precision): Likewise.
      	* fold-const.c (force_fit_type, int_const_binop, fold_convert_const,
      	invert_truthvalue, optimize_bit_field_compare,
      	decode_field_reference, all_ones_mask_p, constant_boolean_node,
      	fold_div_compare, fold, fold_read_from_constant_string,
      	fold_negate_const, fold_abs_const, fold_not_const): Likewise.
      	* function.c (assign_parm_setup_block): Likewise.
      	* stmt.c (shift_return_value, expand_end_case_type,
      	estimate_case_costs): Likewise.
      	* stor-layout.c (layout_type, initialize_sizetypes,
      	set_min_and_max_values_for_integral_type): Likewise.
      	* tree-chrec.c (chrec_fold_multiply_poly_poly,
      	reset_evolution_in_loop): Likewise.
      	* tree-chrec.h (build_polynomial_chrec): Likewise.
      	* tree-complex.c (build_replicated_const): Likewise.
      	* tree-eh.c (honor_protect_cleanup_actions,
      	lower_try_finally_onedest, lower_try_finally_copy,
      	lower_try_finally_switch): Likewise.
      	* tree-mudflap.c (mf_build_string, mx_register_decls,
      	mudflap_register_call, mudflap_enqueue_constant): Likewise.
      	* tree-nested.c (get_trampoline_type, get_nl_goto_field): Likewise.
      	* tree-pretty-print.c (dump_generic_node): Likewise.
      	* tree-ssa-ccp.c (widen_bitfield, maybe_fold_offset_to_array_ref):
      	Likewise.
      	* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
      	* tree-ssa-loop-niter.c (number_of_iterations_cond,
      	loop_niter_by_eval, upper_bound_in_type, lower_bound_in_type):
      	Likewise.
      
      	* config/alpha/alpha.c (alpha_initialize_trampoline,
      	alpha_va_start, alpha_gimplify_va_arg_1): Use build_int_cst.
      	* config/arm/arm.c (arm_get_cookie_size): Likewise.
      	* config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise.
      	* config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise.
      	* config/i860/i860.c (i860_va_start): Likewise.
      	* config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise.
      	* config/mips/mips.c (mips_build_builtin_va_list, mips_va_start,
      	mips_gimplify_va_arg_expr): Likewise.
      	* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
      	* config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg,
      	add_compiler_branch_island): Likewise.
      	* config/s390/s390.c (s390_va_start): Likewise.
      	* config/sh/sh.c (sh_va_start): Likewise.
      	* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start):
      	Likewise.
      	* config/xtensa/xtensa.c (xtensa_va_start,
      	xtensa_gimplify_va_arg_expr): Likewise.
      
      	* objc/objc-act.c (build_objc_string_object,
      	build_objc_symtab_template, init_def_list, init_objc_symtab,
      	init_module_descriptor, generate_static_references,
      	build_selector_translation_table, get_proto_encoding,
      	build_typed_selector_reference, build_selector_reference,
      	build_next_objc_exception_stuff,
      	build_method_prototype_list_template, generate_descriptor_table,
      	generate_protocols, build_protocol_initializer,
      	build_ivar_list_template, build_method_list_template,
      	build_ivar_list_initializer, generate_ivars_list,
      	generate_dispatch_table, generate_protocol_list,
      	build_category_initializer, build_shared_structure_initializer,
      	generate_shared_structures, handle_impent,
      	generate_objc_image_info): Use build_int_cst.
      ada:
      	* cuintp.c (UI_To_gnu): Use build_int_cst..
      	* trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise.
      	* utils.c (init_gigi_decls): Likewise.
      	* utils2.c (build_call_raise): Likewise.
      cp:
      	* call.c (convert_class_to_reference,
      	build_user_type_conversion_1, convert_like_real,
      	build_java_interface_fn_ref, build_special_member_call): Use
      	build_int_cst.
      	* class.c (build_vtbl_initializer): Likewise.
      	* cp-gimplify.c (cp_gimplify_expr): Likewise.
      	* cvt.c (cp_convert_to_pointer): Likewise.
      	* decl.c (cxx_init_decl_processing, complete_array_type): Likewise.
      	* decl2.c (start_static_initialization_or_destruction,
      	generate_ctor_or_dtor_function): Likewise.
      	* except.c (build_throw): Likewise.
      	* lex.c (cxx_init): Likewise.
      	* mangle.c (write_integer_cst): Likewise.
      	* rtti.c (build_headof, get_tinfo_decl_dynamic,
      	build_dynamic_cast_1, ptr_initializer, ptm_initializer,
      	get_pseudo_ti_init): Likewise.
      	* search.c (get_dynamic_cast_base_type): Likewise.
      	* tree.c (build_shared_int_cst): Likewise.
      fortran:
      	* trans-array.c (gfc_trans_array_constructor_value): Use
      	build_int_cst.
      	* trans-const.c (gfc_build_string_const,
      	gfc_init_constants, gfc_conv_mpz_to_tree,
      	gfc_conv_constant_to_tree): Likewise.
      	* trans-decl.c (gfc_get_symbol_decl): Likewise.
      	* trans-intrinsic.c (gfc_conv_intrinsic_ibits,
      	gfc_conv_intrinsic_len, prepare_arg_info): Likewise.
      	* trans-io.c (add_case, set_error_locus, build_dt,
      	transfer_expr): Likewise.
      	* trans-stmt.c (gfc_trans_label_assign, gfc_trans_pause,
      	gfc_trans_stop, gfc_trans_character_select): Likewise.
      	* trans-types.c (gfc_init_types, gfc_get_dtype): Likewise.
      	* trans.c (gfc_trans_runtime_check): Likewise.
      java:
      	* boehm.c (get_boehm_type_descriptor): Use build_int_cst.
      	* class.c (build_utf8_ref, build_static_field_ref,
      	make_field_value, make_method_value, get_dispatch_table,
      	make_class_data, emit_symbol_table, emit_catch_table): Likewise.
      	* constants.c (get_tag_node,  build_ref_from_constant_pool,
      	build_constants_constructor): Likewise.
      	* decl.c (java_init_decl_processing): Likewise.
      	* expr.c (build_java_array_length_access, build_newarray,
      	expand_java_multianewarray, expand_java_pushc, expand_iinc,
      	build_java_binop, build_field_ref, expand_java_add_case,
      	expand_java_call, build_known_method_ref, build_invokevirtual,
      	build_invokeinterface, build_jni_stub): Likewise.
      	* java-gimplify.c (java_gimplify_new_array_init): Likewise.
      	* jcf-parse.c (get_constant): Likewise.
      	* lex.c (do_java_lex): Likewise.
      	* parse.y (patch_binop, patch_unaryop, patch_cast,
      	build_null_of_type, patch_newarray): Likewise.
      	* resource.c (compile_resource_data): Likewise.
      	* typeck.c (build_prim_array_type): Likewise.
      
      From-SVN: r86022
      Nathan Sidwell committed
  18. 27 Jul, 2004 1 commit
    • cfgexpand.c (tree_expand_cfg): Fix comment. · 3fbd86b1
      	* cfgexpand.c (tree_expand_cfg): Fix comment.
      
      	* calls.c (expand_call): Ignore rtx_equal_function_value_matters.
      	* function.c (purge_single_hard_subreg_set, purge_hard_subreg_sets):
      	Remove.
      	(prepare_function_start): Don't set rtx_equal_function_value_matters.
      	* integrate.c (copy_rtx_and_substitute): Don't test for it.
      	* passes.c (rest_of_compilation): Don't call purge_hard_subreg_sets.
      	Don't set rtx_equal_function_value_matters.  Don't register RTL hooks
      	here again.  Update leading comment.
      	* rtl.c (rtx_equal_function_value_matters): Remove.
      	(rtx_equal_p): Don't test for it.
      	* simplify-rtx.c (simplify_binary_operation, simplify_subreg):
      	Likewise.
      
      	* rtl.h (enum insn_note): Remove NOTE_INSN_LOOP_END_TOP_COND.
      	* rtl.c (note_insn_name): Likewise.
      	* emit-rtl.c (remove_unnecessary_notes): Don't handle it.
      	* final.c (final_scan_insn): Likewise.
      
      	* except.c (finish_eh_generation): Don't call cfg_cleanup from here.
      	* passes.c (rest_of_handle_eh): Do it here.
      
      	* stmt.c (struct nesting): Remove struct nesting block member.
      	(struct stmt_status): Remove x_block_start_count field.
      	(current_block_start_count): Remove.
      
      From-SVN: r85228
      Steven Bosscher committed
  19. 15 Jul, 2004 1 commit
    • dwarf2out.c (dwarf2out_begin_prologue): Rename IA64_UNWIND_INFO to TARGET_UNWIND_INFO. · 951120ea
      	* dwarf2out.c (dwarf2out_begin_prologue): Rename IA64_UNWIND_INFO
      	to TARGET_UNWIND_INFO.
      	* except.c (output_function_exception_table): Ditto.
      	* except.h: Ditto.
      	* opts.c (decode_options): Ditto.
      	* passes.c (rest_of_handle_final): Ditto.
      	* final.c (final_start_function): Ditto.
      	(final_scan_insn, final_scan_insn): Replace IA64_UNWIND_EMIT with
      	target hook.
      	* targhooks.h (default_unwind_emit): Declare.
      	* targhooks.c (default_unwind_emit): New function.
      	* target-def.h: Define and use TARGET_UNWIND_EMIT.
      	* target.h (struct gcc_target): Add unwind_emit.
      	* config/ia64/ia64.c (TARGET_UNWIND_EMIT): Define.
      	* config/ia64/ia64.h: Rename IA64_UNWIND_INFO to TARGET_UNWIND_INFO.
      	Remove IA64_UNWIND_EMIT.
      	* doc/tm.texi: Document TARGET_UNWIND_EMIT and TARGET_UNWIND_INFO.
      
      From-SVN: r84734
      Paul Brook committed
  20. 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
  21. 08 Jul, 2004 2 commits
    • except.c (expand_eh_region_start, [...]): Remove. · ac45df5d
      	* except.c (expand_eh_region_start, expand_eh_region_end,
      	expand_eh_handler, expand_eh_region_end_cleanup,
      	expand_start_all_catch, expand_start_catch, expand_end_catch,
      	expand_end_all_catch, expand_eh_region_end_allowed,
      	expand_eh_region_end_must_not_throw, expand_eh_region_end_throw,
      	expand_eh_region_end_fixup): Remove.
      	* stmt.c (struct nesting): Remove stack_level, innermost_stack_block,
      	cleanups, outer_cleanups, label_chain, exception_region.
      	(struct goto_fixup): Remove stack_level, cleanup_list_list.
      	(struct label_chain): Remove.
      	(struct stmt_status): Remove x_stack_block_stack.
      	(stack_block_stack, expand_goto_internal, expand_fixup, expand_fixups,
      	fixup_gotos, save_stack_pointer, expand_decl_cleanup,
      	expand_decl_cleanup_eh, expand_cleanups, start_cleanup_deferral,
      	end_cleanup_deferral, last_cleanup_this_contour,
      	containing_blocks_have_cleanups_or_stack_level,
      	any_pending_cleanups): Remove.
      	(expand_null_return_1): Take no arguments.
      	(expand_label, expand_naked_return, expand_return,
      	expand_start_bindings_and_block, expand_end_bindings, expand_decl,
      	expand_anon_union_decl, expand_start_case, pushcase, pushcase_range,
      	expand_end_case_type): Don't use any of them.
      	* calls.c (expand_call): Likewise.
      	* dojump.c (do_jump): Likewise.
      	* function.c (expand_function_end): Likewise.
      	* expr.c (store_expr, expand_expr_real_1): Likewise.
      	(safe_from_p): Don't handle WITH_CLEANUP_EXPR, CLEANUP_POINT_EXPR.
      	(expand_expr_real_1): Don't handle WITH_CLEANUP_EXPR,
      	CLEANUP_POINT_EXPR, TARGET_EXPR, TRY_CATCH_EXPR, CATCH_EXPR,
      	EH_FILTER_EXPR, TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR.
      	* fold-const.c (fold_checksum_tree): Use first_rtl_op.
      	* gengtype.c (adjust_field_tree_exp): Remove rtl op handling.
      	* gimplify.c (gimplify_cleanup_point_expr): Renumber operands
      	for WITH_CLEANUP_EXPR.
      	(gimple_push_cleanup): Likewise.
      	* integrate.c (copy_decl_for_inlining): Don't DECL_TOO_LATE.
      	* print-tree.c (print_node): Likewise.
      	* tree-pretty-print.c (dump_generic_node): Remove GOTO_SUBROUTINE_EXPR.
      	* tree.c (first_rtl_op): Always just TREE_CODE_LENGTH.
      	(has_cleanups): Remove GOTO_SUBROUTINE_EXPR.
      	* tree.def (WITH_CLEANUP_EXPR): Remove op1 and op2.
      	(GOTO_SUBROUTINE_EXPR): Remove.
      	* tree.h (WITH_CLEANUP_EXPR_RTL): Remove.
      	(DECL_TOO_LATE): Remove.
      	* except.h, tree.h: Update decls.
      ada/
      	* trans.c (gnat_to_gnu <N_Handled_Sequence_Of_Statements>): Update
      	commentary.
      cp/
      	* cp-tree.h (expand_eh_spec_block): Remove.
      java/
      	* expr.c (case_identity, get_primitive_array_vtable,
      	java_expand_expr, emit_init_test_initialization): Remove.
      	* java-tree.h (java_expand_expr): Remove.
      	* lang.c (LANG_HOOKS_EXPAND_EXPR): Remove.
      
      From-SVN: r84275
      Richard Henderson committed
    • explow.c (optimize_save_area_alloca): Do not accept parameters. · 97b0ade3
      2004-07-08  Paolo Bonzini  <bonzini@gnu.org>
      
      	* explow.c (optimize_save_area_alloca): Do not accept parameters.
      	* passes.c (rest_of_handle_final): Handle symout.
      	(rest_of_handle_new_regalloc, rest_of_handle_old_regalloc):
      	Push timevar here.
      	(rest_of_handle_sched): Break out SMS.  Remove ifs for
      	flag_schedule_insns and flag_modulo_sched.
      	(rest_of_handle_addressof, rest_of_handle_cse2): Garbage
      	collect at the end.
      	(rest_of_handle_gcse2): Put under timevar TV_RELOAD_CSE_REGS.
      	(rest_of_handle_partition_blocks, rest_of_handle_sms,
      	rest_of_handle_if_after_reload, rest_of_handle_peephole2,
      	rest_of_handle_mode_switching, rest_of_handle_jump,
      	rest_of_handle_guess_branch_prob, rest_of_handle_eh,
      	rest_of_handle_jump2, rest_of_handle_postreload,
      	rest_of_handle_flow2, rest_of_clean_state,
      	rest_of_handle_shorten_branches,
      	rest_of_handle_prologue_epilogue,
      	rest_of_handle_branch_target_load_optimize): New.
      	(rest_of_compilation): Call the above.  Remove ggc_collect
      	calls moved to rest_of_handle_*.
      	* rtl.h (optimize_save_area_alloca): Do not accept parameters.
      
      	* dwarf2out.c (dwarf2out_begin_prologue): Use TREE_NOTHROW.
      	* except.c (set_nothrow_function_flags): Set TREE_NOTHROW.
      	* except.h (set_nothrow_function_flags): Update comment.
      	* function.c (current_function_nothrow): Remove.
      	* output.h (current_function_nothrow): Remove.
      	* passes.c (rest_of_compilation): Do not set TREE_NOTHROW.
      	* config/arm/arm.c (arm_compute_func_type): Use TREE_NOTHROW.
      
      From-SVN: r84274
      Paolo Bonzini committed
  22. 18 Jun, 2004 1 commit
    • c-common.c (flag_objc_sjlj_exceptions): New. · 093c7153
      	* c-common.c (flag_objc_sjlj_exceptions): New.
      	* c-common.h (flag_objc_sjlj_exceptions): Declare.
      	* c-opts.c (c_common_handle_option): Set it.
      	(c_common_post_options): Handle interation of different
      	objective-c exception and runtime switches.
      	* c-decl.c (c_eh_initialized_p): New.
      	(finish_decl): Use it instead of local eh_initialized_p.
      	* c-parse.in (nested_function, notype_nested_function): Record
      	the result of compstmt.
      	(compstmt_or_error): Likewise.
      	(compstmt): Don't add_stmt the result.
      	(stmt): Don't return anything.  Rewrite objc try and sync rules.
      	(objc_try_stmt, objc_catch_list): Remove.
      	(objc_catch_block, objc_finally_block): Remove.
      	(objc_catch_prefix, objc_catch_clause, objc_opt_catch_list): New.
      	(objc_try_catch_clause, objc_finally_clause): New.
      	(objc_try_catch_stmt): Rewrite.
      	* c-tree.h (c_eh_initialized_p): Declare.
      	* c-opt (fobjc-sjlj-exceptions): New.
      	* except.c (output_function_exception_table): Don't call cgraph
      	on non-decls.
      	* objc/objc-act.c (UTAG_EXCDATA_VAR, UTAG_CAUGHTEXC_VAR,
      	UTAG_RETHROWEXC_VAR, UTAG_EVALONCE_VAR, struct val_stack,
      	catch_count_stack, exc_binding_stack, if_nesting_count,
      	blk_nesting_count, objc_enter_block, objc_exit_block,
      	objc_declare_variable, val_stack_push, val_stack_pop,
      	objc_build_try_enter_fragment, objc_build_extract_expr,
      	objc_build_try_exit_fragment, objc_build_extract_fragment,
      	objc_build_try_prologue, objc_build_try_epilogue,
      	objc_build_catch_stmt, objc_build_catch_epilogue,
      	objc_build_finally_prologue, objc_build_finally_epilogue,
      	objc_build_try_catch_finally_stmt, objc_build_synchronized_prologue,
      	objc_build_synchronized_epilogue): Remove.
      	(objc_create_temporary_var, struct objc_try_context, cur_try_context,
      	objc_eh_runtime_type, objc_init_exceptions, objc_build_exc_ptr,
      	next_sjlj_build_try_exit, next_sjlj_build_enter_and_setjmp,
      	next_sjlj_build_exc_extract, next_sjlj_build_catch_list,
      	next_sjlj_build_try_catch_finally, objc_begin_try_stmt,
      	objc_begin_catch_clause, objc_finish_catch_clause,
      	objc_build_finally_clause, objc_finish_try_stmt,
      	objc_build_synchronized): New.
      	(objc_is_object_id, objc_is_class_id): New.
      	(objc_comptypes): Use them.
      	(build_next_objc_exception_stuff): Break NeXT sjlj out from
      	build_objc_exception_stuff.
      	(synth_module_prologue): Update to match.
      	(objc_build_throw_stmt): Use cur_try_context to decide if
      	we're in a @catch.
      	* objc/objc-act.h: Update prototypes.
      	(OCTI_EXCEPTION_BLK_STACK, objc_exception_block_stack): Remove.
      testsuite/
              * objc.dg/sync-1.m: New.
              * objc.dg/try-catch-1.m: Don't force next runtime.
              * objc.dg/try-catch-3.m, objc.dg/try-catch-4.m: Likewise.
              * objc.dg/try-catch-2.m: Likewise.  Enable everywhere.  Remove
              shadowed catch clause.
              * objc.dg/try-catch-5.m: New.
      
      From-SVN: r83332
      Richard Henderson committed
  23. 17 Jun, 2004 1 commit
  24. 14 Jun, 2004 1 commit
    • Makefile.in (FLAGS_H): New. · 50431bc4
      	* Makefile.in (FLAGS_H): New.
      	(flags.h): Replace by FLAGS_H.
      	* c.opt: Document Var, VarExists, Init and Report attributes.
      	* common.opt: Fill the values of the attributes.
      	* diagnostic.c (flag_fatal_errors): Do not define.
      	* except.c (flag_non_call_exceptions): Do not define.
      	* flags.h: Include options.h.  Remove declarations conflicting with
      	the automatically defined ones.
      	* opts.c: Remove automatically defined variables.
      	(handle_option): Perform default initialization.
      	(common_handle_option): Do not handle options covered by the
      	default initialization.
      	* opts.h (struct cl_option): Add flag_var, has_set_value and set_value
      	fields.
      	(CL_REPORT): New.
      	* opts.sh: Generate variable declarations, handle CL_REPORT.
      	* toplev.c: Remove automatically defined variables.
      	(f_options): Removed.
      	(print_switch_values): Use cl_options instead of f_options.
      	* toplev.h (version_flag): Declaration removed.
      
      From-SVN: r83105
      Zdenek Dvorak committed
  25. 04 Jun, 2004 1 commit
    • except.c (for_each_eh_region): New function. · f698d217
      	* except.c (for_each_eh_region): New function.
      	* except.h (for_each_eh_region): Add a prototype for it.
      	* tree-cfg.c (update_eh_labels): New function, callback for
      	for_each_eh_region.
      	(label_for_bb): Make global static, unfortunately.
      	(cleanup_dead_labels): Also update label references for
      	exception regions.
      
      From-SVN: r82622
      Steven Bosscher committed
  26. 03 Jun, 2004 1 commit
    • basic-block.c (tail_recursion_label_list): Don't declare. · 6ce2bcb7
      	* basic-block.c (tail_recursion_label_list): Don't declare.
      	(CLEANUP_PRE_SIBCALL): Remove.  Renumber the other CLEANUP_*
      	accordingly.
      	* cfgbuild.c (find_label_refs): Remove.
      	(find_basic_blocks_1): Don't handle CALL_PLACEHOLDER insns.
      	* cfgcleanup.c (tail_recursion_label_p): Remove.
      	(merge_blocks_move): Do not check for tail recursion.
      	(try_optimize_cfg): Likewise.
      	(cleanup_cfg): Never handle CLEANUP_PRE_SIBCALL.
      	* cfgrtl.c (tail_recursion_label_list): Remove.
      	* except.c (remove_unreachable_regions): Don't handle
      	CALL_PLACEHOLDER insns.
      	(convert_from_eh_region_ranges_1, can_throw_internal,
      	can_throw_external): Likewise.
      	* function.c (free_after_compilation): Don't clear
      	x_tail_recursion_label.
      	(fixup_var_refs_insns): Don't handle CALL_PLACEHOLDER insns.
      	(identify_blocks_1): Don't recurse for CALL_PLACEHOLDER insns.
      	(reorder_blocks_1): Likewise.
      	* function.h (struct function): Remove x_tail_recursion_label
      	member.  Don't define tail_recursion_label.
      	* jump.c (mark_all_labels): Don't handle CALL_PLACEHOLDER insns.
      	* print-rtl.c (print_rtx): Likewise.
      	* rtl.def (CALL_PLACEHOLDER): Remove.
      	* rtl.h (sibcall_use_t): Remove enum.
      	(optimize_sibling_and_tail_recursive_calls,
      	replace_call_placeholder): Remove function prototypes.
      	* stmt.c (tail_recursion_args): Remove.
      	(optimize_tail_recursion): Remove.
      	(expand_return): Don't check for possible tail recursion.
      	* tree.h (optimize_tail_recursion): Remove prototype.
      
      From-SVN: r82597
      Steven Bosscher committed
  27. 30 May, 2004 1 commit
    • c-common.c, [...]: Fix comment typos. · 1ea7e6ad
      	* c-common.c, calls.c, cfgcleanup.c, cgraph.c, cgraphunit.c,
      	ddg.c, ddg.h, df.c, df.h, except.c, expr.c, flags.h,
      	fold-const.c, gcc.c, gimplify.c, haifa-sched.c,
      	modulo-sched.c, tree-inline.c, tree-into-ssa.c, tree-nested.c,
      	tree-nrv.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-live.c,
      	tree-ssa-loop.c, tree-ssa-pre.c, tree-tailcall.c, tree.h: Fix
      	comment typos.  Follow spelling conventions.
      
      From-SVN: r82439
      Kazu Hirata committed
  28. 28 May, 2004 1 commit
  29. 26 May, 2004 1 commit
  30. 13 May, 2004 1 commit
  31. 26 Apr, 2004 1 commit
  32. 20 Mar, 2004 1 commit
    • alias.c, [...]: Replace calls via (*targetm.foo) () with targetm.foo (). · 5fd9b178
      	* alias.c, attribs.c, bt-load.c, builtins.c, c-common.c,
      	c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c,
      	cse.c, dbxout.c, dwarf2out.c, except.c, final.c,
      	haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c,
      	sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c,
      	vmsdbgout.c: Replace calls via (*targetm.foo) () with
      	targetm.foo ().
      
      From-SVN: r79729
      Kazu Hirata committed
  33. 16 Mar, 2004 1 commit
  34. 14 Mar, 2004 1 commit
    • alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) () with lang_hooks.foo (). · ae2bcd98
      	* alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) ()
      	with lang_hooks.foo ().
      	* builtins.c (expand_builtin_va_arg): Likewise.
      	* c-common.c (fname_as_string, c_common_truthvalue_conversion,
      	c_common_type_for_mode, c_common_nodes_and_builtins,
      	handle_mode_attribute, handle_vector_size_attribute): Likewise.
      	* c-convert.c (convert): Likewise.
      	* c-format.c (check_format_types): Likewise.
      	* c-objc-common.c (c_tree_printer): Likewise.
      	* c-typeck.c (build_unary_op, build_conditional_expr,
      	build_binary_op): Likewise.
      	* calls.c (try_to_integrate, expand_call,
      	emit_library_call_value_1): Likewise.
      	* cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p):
      	Likewise.
      	* cgraphunit.c (record_call_1, cgraph_analyze_function,
      	cgraph_expand_function): Likewise.
      	* convert.c (convert_to_pointer, convert_to_integer): Likewise.
      	* coverage.c (build_fn_info_type, build_ctr_info_type,
      	build_gcov_info, create_coverage): Likewise.
      	* dbxout.c (dbxout_init): Likewise.
      	* diagnostic.c (diagnostic_report_current_function): Likewise.
      	* dojump.c (do_jump): Likewise.
      	* dwarf2out.c (dwarf2_name): Likewise.
      	* except.c (init_eh): Likewise.
      	* explow.c (expr_size, int_expr_size): Likewise.
      	* expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add):
      	Likewise.
      	* expr.c (store_expr, store_constructor, safe_from_p,
      	expand_expr_real, do_store_flag, try_casesi): Likewise.
      	* function.c (push_function_context_to, pop_function_context_from,
      	free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type,
      	put_var_into_stack, allocate_struct_function, current_function_name):
      	Likewise.
      	* integrate.c (copy_decl_for_inlining, expand_inline_function):
      	Likewise.
      	* langhooks.c (lhd_clear_binding_stack, write_global_declarations,
      	lhd_print_error_function): Likewise.
      	* opts.c (handle_option, decode_options): Likewise.
      	* passes.c (open_dump_file): Likewise.
      	* print-tree.c (print_node): Likewise.
      	* stmt.c (expand_fixup, fixup_gotos, expand_asm_operands,
      	expand_decl_cleanup, emit_case_nodes): Likewise.
      	* stor-layout.c (variable_size): Likewise.
      	* toplev.c (announce_function, wrapup_global_declarations,
      	check_global_declarations, compile_file, default_tree_printer,
      	process_options, lang_dependent_init, finalize): Likewise.
      	* tree-dump.c (dequeue_and_dump): Likewise.
      	* tree-inline.c (remap_decl, remap_block, copy_body_r,
      	initialize_inlined_parameters, declare_return_variable,
      	inlinable_function_p, expand_call_inline, optimize_inline_calls,
      	walk_tree, copy_tree_r): Likewise.
      	* tree-optimize.c (tree_rest_of_compilation): Likewise.
      	* tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp,
      	unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl,
      	variably_modified_type_p, dump_tree_statistics): Likewise.
      	* varasm.c (assemble_variable, compare_constant, copy_constant,
      	force_const_mem, compute_reloc_for_constant, output_constant,
      	output_addressed_constants, initializer_constant_valid_p): Likewise.
      
      From-SVN: r79481
      Roger Sayle committed
  35. 11 Mar, 2004 1 commit
  36. 10 Mar, 2004 1 commit