1. 10 Apr, 2013 1 commit
    • passes.c (execute_todo): Do not call ggc_collect conditional here. · bb313b93
      2013-04-10  Richard Biener  <rguenther@suse.de>
      
      	* passes.c (execute_todo): Do not call ggc_collect conditional here.
      	(execute_one_ipa_transform_pass): But unconditionally here.
      	(execute_one_pass): And here.
      	(init_optimization_passes): Remove reload pass.
      	* tree-pass.h (TODO_ggc_collect): Remove.
      	(pass_reload): Likewise.
      	* ira.c (do_reload): Merge into ...
      	(ira): ... this.
      	(rest_of_handle_reload): Remove.
      	(pass_reload): Likewise.
      	* config/i386/i386.c (ix86_option_override): Refer to ira instead
      	of reload for vzeroupper pass placement.
      	* <everywhere>: Remove TODO_ggc_collect from todo_flags_start
      	and todo_flags_finish of all passes.
      
      	* g++.dg/pr55604.C: Use -fdump-rtl-ira.
      
      From-SVN: r197671
      Richard Biener committed
  2. 02 Apr, 2013 1 commit
  3. 30 Mar, 2013 1 commit
    • cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. · 39718607
      	* cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER.
      
      	* postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test
      	for table jump at the end of a basic block using tablejump_p.
      	* targhooks.c (default_invalid_within_doloop): Likewise.
      	* config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove
      	target hook implementation that is identical to the default hook.
      	(rs6000_invalid_within_doloop): Remove.
      
      	* bb-reorder.c (fix_crossing_unconditional_branches): Remove set but
      	unused variable from tablejump_p call.
      
      	* rtl.def (JUMP_TABLE_DATA): New RTX_INSN object.
      	* rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA.
      	(INSN_DELETED_P): Likewise.
      	(emit_jump_table_data): New prototype.
      	* gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields
      	after 4th as unused.
      	* print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA.
      	* sched-vis.c (print_insn): Likewise.
      	* emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active
      	insn for compatibility with back ends that use next_active_insn to
      	identify jump table data.
      	(set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check.
      	(remove_insn): Likewise.
      	(emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains
      	to be emitted.
      	(emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem.
      	(emit_jump_table_data): New function.
      
      	* cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a
      	basic block, a JUMP_TABLE_DATA never is.
      	(control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn.
      	* cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA
      	off from code handling real insns.
      	* final.c (get_attr_length_1): Simplify for JUMP_INSNs.
      	* function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P
      	test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn.
      	* gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P
      	is not a NONDEBUG_INSN_P.
      	* ira-costs.c (scan_one_insn): Likewise.
      	* jump.c (mark_all_labels): Likewise.
      	(mark_jump_label_1): Likewise.
      	* lra-eliminations.c (eliminate_regs_in_insn): Likewise.
      	* lra.c (get_insn_freq): Expect all insns reaching here to be in
      	a basic block.
      	(check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn.
      	* predict.c (expensive_function_p): Use FOR_BB_INSNS.
      	* reload1.c (calculate_needs_all_insns): Call set_label_offsets for
      	JUMP_TABLE_DATA_P insns.
      	(calculate_elim_costs_all_insns): Likewise.
      	(set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns.
      	(elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test.
      	(delete_output_reload): Code style fixups.
      	* reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting
      	insn flags on this non-insn.
      	* sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns
      	as scheduling barriers, for pre-change compatibility.
      	* stmt.c (emit_case_dispatch_table): Emit jump table data not as
      	JUMP_INSN objects but instead as JUMP_TABLE_DATA objects.
      
      	* config/alpha/alpha.c (alpha_does_function_need_gp): Remove
      	redundant JUMP_TABLE_DATA_P test.
      	* config/arm/arm.c (thumb_far_jump_used_p): Likewise.
      	* config/frv/frv.c (frv_function_contains_far_jump): Likewise.
      	(frv_for_each_packet): Likewise.
      	* config/i386/i386.c (min_insn_size): Likewise.
      	(ix86_avoid_jump_mispredicts): Likewise.
      	* config/m32r/m32r.c (m32r_is_insn): Likewise.
      	* config/mep/mep.c (mep_reorg_erepeat): Likewise.
      	* config/mips/mips.c (USEFUL_INSN_P): Likewise.
      	(mips16_insn_length): Robustify.
      	(mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test.
      	(mips16_split_long_branches): Likewise.
      	* config/pa/pa.c (pa_combine_instructions): Likewise.
      	* config/rs6000/rs6000.c (get_next_active_insn): Treat
      	JUMP_TABLE_DATA objects as active insns, like in active_insn_p.
      	* config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA
      	as contributing to pool range lengths.
      	* config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC.
      	Remove redundant JUMP_TABLE_DATA_P test.
      	(sh_loop_align): Likewise.
      	(split_branches): Likewise.
      	(sh_insn_length_adjustment): Likewise.
      	* config/spu/spu.c (get_branch_target): Likewise.
      
      From-SVN: r197266
      Steven Bosscher committed
  4. 29 Mar, 2013 1 commit
    • cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu of tests for… · 34f0d87a
      cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu of tests for JUMP_P and a ADDR_DIFF_VEC or...
      
      
      	* cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu
      	of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern.
      	(control_flow_insn_p): Likewise.
      	* cfgrtl.c (duplicate_insn_chain): Likewise.
      	* final.c (get_attr_length_1): Likewise.
      	(shorten_branches): Likewise.
      	(final_scan_insn): Likewise.
      	* function.c (instantiate_virtual_regs): Likewise.
      	* gcse.c (insert_insn_end_basic_block): Likewise.
      	* ira-costs.c (scan_one_insn): Likewise.
      	* lra-eliminations.c (eliminate_regs_in_insn): Likewise.
      	* lra.c (check_rtl): Likewise.
      	* reload1.c (elimination_costs_in_insn): Likewise.
      	* reorg.c (follow_jumps): Likewise.
      
      	* config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu
      	of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern.
      	(thumb_far_jump_used_p): Likewise.
      	* config/bfin/bfin.c (workaround_rts_anomaly): Likewise.
      	(workaround_speculation): Likewise.
      	(add_sched_insns_for_speculation): Likewise.
      	* config/c6x/c6x.c (reorg_emit_nops): Likewise.
      	* config/frv/frv.c (frv_function_contains_far_jump): Likewise.
      	(frv_for_each_packet): Likewise.
      	* config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise.
      	* config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise.
      	(final_emit_insn_group_barriers): Likewise.
      	* config/m32r/m32r.c (m32r_is_insn): Likewise.
      	* config/mips/mips.c (USEFUL_INSN_P): Likewise.
      	(mips16_insn_length): Likewise.
      	* config/pa/pa.c (pa_reorg): Likewise.
      	(pa_combine_instructions): Likewise.
      	* config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise.
      	* config/sh/sh.c (fixup_addr_diff_vecs): Likewise.
      	(sh_reorg): Likewise.
      	(split_branches): Likewise.
      	* config/spu/spu.c (get_branch_target): Likewise.
      
      	* config/s390/s390.c (s390_chunkify_start): Simplify logic using
      	JUMP_TABLE_DATA_P.
      
      From-SVN: r197234
      Steven Bosscher committed
  5. 10 Jan, 2013 1 commit
  6. 04 Jan, 2013 1 commit
  7. 02 Dec, 2012 2 commits
  8. 27 Nov, 2012 1 commit
  9. 26 Nov, 2012 1 commit
  10. 25 Nov, 2012 1 commit
    • tm.texi.in (DELAY_SLOTS_FOR_EPILOGUE): Remove documentation. · 97049e83
      gcc/
      	* doc/tm.texi.in (DELAY_SLOTS_FOR_EPILOGUE): Remove documentation.
      	(ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
      	* doc/tm.texi: Regenerate.
      	* reorg.c (fill_simple_delay_slots): Remove code conditional on
      	DELAY_SLOTS_FOR_EPILOGUE being defined.
      	(make_return_insns, dbr_schedule): Likewise.
      	* system.h (DELAY_SLOTS_FOR_EPILOGUE): Poison.
      	(ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
      
      From-SVN: r193787
      Steven Bosscher committed
  11. 05 Nov, 2012 1 commit
  12. 01 Nov, 2012 1 commit
    • invoke.texi: Update -fopt-info documentation. · 2b4e6bf1
      2012-11-01  Sharad Singhai  <singhai@google.com>
      
          * doc/invoke.texi: Update -fopt-info documentation.
          * dumpfile.c: Move dump_flags here from passes.c.
          Rename opt_info_options to optinfo_verbosity_options.
          Add optgroup_options.
          (dump_files): Add field for optinfo_flags in the static initializer.
          (dump_register): Handle additional parameter for optgroup_flags.
          (opt_info_enable_passes): Renamed opt_info_enable_all. Handle
          optgroup_flags. Fix documentation.
          (opt_info_switch_p_1): Handle optgroup options.
          (opt_info_switch_p): Handle optgroup_flags. Warn on multiple files.
          * dumpfile.h (dump_register): Additional argument for optgroup_flags.
          All callers updated.
          (struct dump_file_info): Add field for optgroup_flags.
          Define OPTGROUP_* flags.
          * tree-pass.h (struct opt_pass): Add addtional field for optinfo_flags.
          All opt_pass static initializers updated.
          * opts-global.c (dump_remap_tree_vectorizer_verbose): Use 'all'
          instead of 'optall'.
          (handle_common_deferred_options): Fix typo in error message.
          * passes.c (register_one_dump_file): Add argument for optgroup_flags.
          Turn on OPTGROUP_IPA for IPA passes.
          Move dump_flags from here to dumpfile.c.
          * statistics.c (statistics_early_init): Use OPTGROUP_NONE in call to
          dump_register.
      
      testsuite/ChangeLog
      
          * testsuite/gcc.dg/plugin/selfassign.c: Add opgtroup_flags initializer.
          * testsuite/gcc.dg/plugin/one_time_plugin.c: Likewise.
          * testsuite/g++.dg/plugin/selfassign.c: Likewise.
          * testsuite/g++.dg/plugin/dumb_plugin.c: Likewise.
      
      From-SVN: r193061
      Sharad Singhai committed
  13. 20 Oct, 2012 1 commit
    • emit-rtl.c (copy_delay_slot_insn): New function. · 8e383849
      2012-10-20  Joern Rennecke  <joern.rennecke@embecosm.com>
                  Richard Sandiford  <rdsandiford@googlemail.com>
      
              * emit-rtl.c (copy_delay_slot_insn): New function.
              * emit-rtl.h (copy_delay_slot_insn): Declare.
              * reorg.c: Include "emit-rtl.h".
              (steal_delay_list_from_target): Use copy_delay_slot_insn.
              (fill_slots_from_thread, fill_simple_delay_slots): Likewise.
      
      Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
      
      From-SVN: r192633
      Joern Rennecke committed
  14. 30 Sep, 2012 2 commits
    • re PR rtl-optimization/38449 (delay branch scheduling follows REG_CROSSING_JUMP… · 4b4de898
      re PR rtl-optimization/38449 (delay branch scheduling follows REG_CROSSING_JUMP jumps indiscriminately)
      
              PR rtl-optimization/38449:
              * hooks.c (hook_bool_const_rtx_const_rtx_true): New function.
              * hooks.h (hook_bool_const_rtx_const_rtx_true): Declare.
              * target.def: Merge in definitions and documentation for
              TARGET_CAN_FOLLOW_JUMP.
              * doc/tm.texi.in: Add documentation locations for the above.
              * doc/tm.texi: Regenerate.
              * reorg.c (follow_jumps): New parameters jump and crossing.
              Changed all callers.
      
      From-SVN: r191878
      Joern Rennecke committed
    • reorg.c (relax_delay_slots): Use delay_insn consistently. · b7dcf38f
      	* reorg.c (relax_delay_slots): Use delay_insn consistently.
      
      	* config/sparc/sparc.c (gen_stack_pointer_dec): Delete.
      	(sparc_expand_epilogue): Use gen_stack_pointer_inc and adjust.
      	(sparc_flat_expand_epilogue): Likewise.
      	(emit_and_preserve): Likewise.
      	(sparc_fold_builtin): Fix thinko in latest change.
      
      From-SVN: r191875
      Eric Botcazou committed
  15. 19 Sep, 2012 1 commit
    • Integrate lexical block into source_location. · 5368224f
      gcc:
      	2012-09-19  Dehao Chen  <dehao@google.com>
      
      	* toplev.c (general_init): Init block_locations.
      	* tree.c (tree_set_block): New.
      	(tree_block): Change to use LOCATION_BLOCK.
      	* tree.h (TREE_SET_BLOCK): New.
      	* final.c (reemit_insn_block_notes): Change to use LOCATION_BLOCK.
      	(final_start_function): Likewise.
      	* input.c (expand_location_1): Likewise.
      	* input.h (LOCATION_LOCUS): New.
      	(LOCATION_BLOCK): New.
      	(IS_UNKNOWN_LOCATION): New.
      	* fold-const.c (expr_location_or): Change to use new location.
      	* reorg.c (emit_delay_sequence): Likewise.
      	(try_merge_delay_insns): Likewise.
      	* modulo-sched.c (dump_insn_location): Likewise.
      	* lto-streamer-out.c (lto_output_location_bitpack): Likewise.
      	* lto-cgraph.c (output_node_opt_summary): Likewise.
      	* jump.c (rtx_renumbered_equal_p): Likewise.
      	* ifcvt.c (noce_try_move): Likewise.
      	(noce_try_store_flag): Likewise.
      	(noce_try_store_flag_constants): Likewise.
      	(noce_try_addcc): Likewise.
      	(noce_try_store_flag_mask): Likewise.
      	(noce_try_cmove): Likewise.
      	(noce_try_cmove_arith): Likewise.
      	(noce_try_minmax): Likewise.
      	(noce_try_abs): Likewise.
      	(noce_try_sign_mask): Likewise.
      	(noce_try_bitop): Likewise.
      	(noce_process_if_block): Likewise.
      	(cond_move_process_if_block): Likewise.
      	(find_cond_trap): Likewise.
      	* ipa-prop.c (ipa_set_jf_constant): Likewise.
      	(ipa_write_jump_function): Likewise.
      	* dwarf2out.c (add_src_coords_attributes): Likewise.
      	* expr.c (expand_expr_real): Likewise.
      	* tree-parloops.c (create_loop_fn): Likewise.
      	* recog.c (peep2_attempt): Likewise.
      	* function.c (free_after_compilation): Likewise.
      	(expand_function_end): Likewise.
      	(set_insn_locations): Likewise.
      	(thread_prologue_and_epilogue_insns): Likewise.
      	* print-rtl.c (print_rtx): Likewise.
      	* profile.c (branch_prob): Likewise.
      	* trans-mem.c (ipa_tm_scan_irr_block): Likewise.
      	* gimplify.c (gimplify_call_expr): Likewise.
      	* except.c (duplicate_eh_regions_1): Likewise.
      	* emit-rtl.c (try_split): Likewise.
      	(make_insn_raw): Likewise.
      	(make_debug_insn_raw): Likewise.
      	(make_jump_insn_raw): Likewise.
      	(make_call_insn_raw): Likewise.
      	(emit_pattern_after_setloc): Likewise.
      	(emit_pattern_after): Likewise.
      	(emit_debug_insn_after): Likewise.
      	(emit_pattern_before): Likewise.
      	(emit_insn_before_setloc): Likewise.
      	(emit_jump_insn_before): Likewise.
      	(emit_call_insn_before_setloc): Likewise.
      	(emit_call_insn_before): Likeise.
      	(emit_debug_insn_before_setloc): Likewise.
      	(emit_copy_of_insn_after): Likewise.
      	(insn_locators_alloc): Remove.
      	(insn_locators_finalize): Remove.
      	(insn_locators_free): Remove.
      	(set_curr_insn_source_location): Remove.
      	(get_curr_insn_source_location): Remove.
      	(set_curr_insn_block): Remove.
      	(get_curr_insn_block): Remove.
      	(locator_scope): Remove.
      	(insn_scope): Change to use new location.
      	(locator_location): Remove.
      	(insn_line): Change to use new location.
      	(locator_file): Remove.
      	(insn_file): Change to use new location.
      	(locator_eq): Remove.
      	(insn_locations_init): New.
      	(insn_locations_finalize): New.
      	(set_curr_insn_location): New.
      	(curr_insn_location): New.
      	* cfgexpand.c (gimple_assign_rhs_to_tree): Change to use new location.
      	(expand_gimple_cond): Likewise.
      	(expand_call_stmt): Likewise.
      	(expand_gimple_stmt_1): Likewise.
      	(expand_gimple_basic_block): Likewise.
      	(construct_exit_block): Likewise.
      	(gimple_expand_cfg): Likewise.
      	* cfgcleanup.c (try_forward_edges): Likewise.
      	* tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
      	(dump_scope_block): Likewise.
      	(remove_unused_locals): Likewise.
      	* rtl.c (rtx_equal_p_cb): Likewise.
      	(rtx_equal_p): Likewise.
      	* rtl.h (XUINT): New.
      	(INSN_LOCATOR): Remove.
      	(CURR_INSN_LOCATION): Remove.
      	(INSN_LOCATION): New.
      	(INSN_HAS_LOCATION): New.
      	* tree-inline.c (remap_gimple_op_r): Change to use new location.
      	(copy_tree_body_r): Likewise.
      	(copy_phis_for_bb): Likewise.
      	(expand_call_inline): Likewise.
      	* tree-streamer-in.c (lto_input_ts_exp_tree_pointers): Likewise.
      	* tree-streamer-out.c (write_ts_decl_minimal_tree_pointers): Likewise.
      	* gimple-streamer-out.c (output_gimple_stmt): Likewise.
      	* combine.c (try_combine): Likewise.
      	* tree-outof-ssa.c (set_location_for_edge): Likewise.
      	(insert_partition_copy_on_edge): Likewise.
      	(insert_value_copy_on_edge): Likewise.
      	(insert_rtx_to_part_on_edge): Likewise.
      	(insert_part_to_rtx_on_edge): Likewise.
      	* basic-block.h (edge_def): Remove field.
      	* gimple.h (gimple_statement_base): Remove field.
      	(gimple_bb): Change to use new location.
      	(gimple_set_block): Likewise.
      	(gimple_has_location): Likewise.
      	* tree-cfg.c (make_cond_expr_edges): Likewise.
      	(make_goto_expr_edges): Likewise.
      	(gimple_can_merge_blocks_p): Likewise.
      	(move_stmt_op): Likewise.
      	(move_block_to_fn): Likewise.
      	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
      	* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
      	* config/i386/i386.c (x86_output_mi_thunk): Likewise.
      	* config/tilegx/tilegx.c (tilegx_output_mi_thunk): Likewise.
      	* config/sh/sh.c (sh_output_mi_thunk): Likewise.
      	* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
      	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
      	* config/score/score.c (score_output_mi_thunk): Likewise.
      	* config/tilepro/tilepro.c (tilepro_asm_output_mi_thunk): Likewise.
      	* config/mips/mips.c (mips_output_mi_thunk): Likewise.
      	* cfgrtl.c (unique_locus_on_edge_between_p): Likewise.
      	(unique_locus_on_edge_between_p): Likewise.
      	(emit_nop_for_unique_locus_between): Likewise.
      	(force_nonfallthru_and_redirect): Likewise.
      	(fixup_reorder_chain): Likewise.
      	(cfg_layout_merge_blocks): Likewise.
      	* stmt.c (emit_case_nodes): Likewise.
      
      gcc/lto:
      	2012-09-19  Dehao Chen  <dehao@google.com>
      
      	* lto/lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field.
      
      libcpp:
      	2012-09-19  Dehao Chen  <dehao@google.com>
      
      	* include/line-map.h (MAX_SOURCE_LOCATION): New value.
      	(location_adhoc_data_fini): New.
      	(get_combined_adhoc_loc): New.
      	(get_data_from_adhoc_loc): New.
      	(get_location_from_adhoc_loc): New.
      	(location_adhoc_data_map): New.
      	(COMBINE_LOCATION_DATA): New.
      	(IS_ADHOC_LOC): New.
      	(expanded_location): New field.
      	(line_maps): New field.
      	* line-map.c (location_adhoc_data): New.
      	(location_adhoc_data_hash): New.
      	(location_adhoc_data_eq): New.
      	(location_adhoc_data_update): New.
      	(get_combined_adhoc_loc): New.
      	(get_data_from_adhoc_loc): New.
      	(get_location_from_adhoc_loc): New.
      	(location_adhoc_data_init): New.
      	(location_adhoc_data_fini): New.
      	(linemap_init): Initialize location_adhoc_data.
      	(linemap_lookup): Change to use new location.
      	(linemap_ordinary_map_lookup): Likewise.
      	(linemap_macro_map_lookup): Likewise.
      	(linemap_macro_map_loc_to_def_point): Likewise.
      	(linemap_macro_map_loc_unwind_toward_spel): Likewise.
      	(linemap_get_expansion_line): Likewise.
      	(linemap_get_expansion_filename): Likewise.
      	(linemap_location_in_system_header_p): Likewise.
      	(linemap_location_from_macro_expansion_p): Likewise.
      	(linemap_macro_loc_to_spelling_point): Likewise.
      	(linemap_macro_loc_to_def_point): Likewise.
      	(linemap_macro_loc_to_exp_point): Likewise.
      	(linemap_resolve_location): Likewise.
      	(linemap_unwind_toward_expansion): Likewise.
      	(linemap_unwind_to_first_non_reserved_loc): Likewise.
      	(linemap_expand_location): Likewise.
      	(linemap_dump_location): Likewise.
      	(linemap_line_start): Likewise.
      
      From-SVN: r191494
      Dehao Chen committed
  16. 02 Aug, 2012 1 commit
  17. 16 Jul, 2012 1 commit
    • system.h (dump_file): Do not define. · 7ee2468b
      gcc/
      	* system.h (dump_file): Do not define.
      	* tree-pass.h: Include dumpfile.h, which is a new file containing...
      	(enum tree_dump_index, TDF_*, get_dump_file_name, dump_enabled_p,
      	dump_initialized_p, dump_begin, dump_end, dump_node, dump_switch_p,
      	dump_flag_name, dump_file, dump_flags, dump_file_name,
      	get_dump_file_info, struct dump_file_info): all of this, moved to...
      	* dumpfile.h: Here, new file.
      	* tree-dump.h: Include dumpfile.h, but not tree-pass.h.
      	(dump_stmt): Remove prototype for C++ specific function.
      	(dump_enumerated_decls): Move prototype from here...
      	* tree-flow.h (dump_enumerated_decls): ... to here.
      	(get_ref_base_and_extent) Move prototype from here ...
      	* tree.h (get_ref_base_and_extent) ... to here.
      	* tree-ssa-live.c: Do not inclde tree-pretty-print.h, because
      	gimple-pretty-print.h is enough.  Do not include tree-dump.h,
      	include timevar.h and dumpfile.h instead.
      	(struct numbered_tree_d, compare_decls_by_uid,
      	dump_enumerated_decls_push, dump_enumerated_decls): Move from here ...
      	* tree-dfa.c:(struct numbered_tree_d, compare_decls_by_uid,
      	dump_enumerated_decls_push, dump_enumerated_decls):... to here.
      	Do not include timevar.h.
      	* tree.c: Do not include timevar.h.
      	* tree-cfg.c: Do not include langhooks.h, tree-pretty-print.h, and
      	timevar.h.
      	(dump_cfg_stats): Use current_function_name.
      	(gimple_cfg2vcg): Likewise.
      	(dump_function_to_file): Likewise.
      	* df-scan.c: Do not include tree-pass.h and timevar.h.
      	Include dumpfile.h.
      	(df_entry_block_bitmap_verify, df_exit_block_bitmap_verify): Do not
      	use print_current_pass.
      	* df-problems.c: Include dumpfile.h.
      	Always define REG_DEAD_DEBUGGING, avoid #ifdef code, because it
      	leads to errors in the code not selected.
      	(df_note_compute): Do not print_rtl_with_bb here.  Fix compilation
      	bug if REG_DEAD_DEBUGGING is not 0, get_insns is not available here.
      	* lcm.c: Include dumpfile.h.
      	Remove obsolete include of insn-attr.h.
      	* dojump.c (do_compare_rtx_and_jump): Remove failure printing for
      	missing probability notes.
      	* stmt.c: Include dumpfile.h.
      	(emit_case_decision_tree): Re-enable printing expand details only
      	if TDF_DETAILS.
      	* alias.c, auto-inc-dec.c, bb-reorder.c, caller-save.c, cfg.c, 
      	cfgcleanup.c, cfgexpand.c, cfgloop.c, cfgloopmanip.c, cgraph.c, 
      	cgraphclones.c, cgraphunit.c, combine.c, combine-stack-adj.c, 
      	coverage.c, cprop.c, cse.c, cselib.c, dbgcnt.c, dce.c, df-core.c, 
      	dse.c, dwarf2out.c, emit-rtl.c, except.c, expr.c, final.c, 
      	function.c, fwprop.c, gcse.c, gimple-fold.c, 
      	gimple-pretty-print.c, gimple-ssa-strength-reduction.c, 
      	gimplify.c, graphite-blocking.c, graphite-clast-to-gimple.c, 
      	graphite-dependences.c, graphite-interchange.c, 
      	graphite-optimize-isl.c, graphite-poly.c, 
      	graphite-sese-to-poly.c, haifa-sched.c, hw-doloop.c, ifcvt.c, 
      	ipa.c, ipa-cp.c, ipa-inline-analysis.c, ipa-inline.c, 
      	ipa-inline-transform.c, ipa-prop.c, ipa-pure-const.c, 
      	ipa-reference.c, ipa-split.c, ipa-utils.c, ira.c, ira-emit.c, 
      	jump.c, loop-doloop.c, loop-init.c, loop-invariant.c, loop-iv.c, 
      	loop-unroll.c, loop-unswitch.c, lower-subreg.c, 
      	lto-section-out.c, lto-streamer-in.c, matrix-reorg.c, mcf.c, 
      	mode-switching.c, modulo-sched.c, omega.c, omp-low.c, passes.c, 
      	plugin.c, postreload.c, postreload-gcse.c, predict.c, print-rtl.c, 
      	print-tree.c, profile.c, recog.c, ree.c, regcprop.c, reginfo.c, 
      	regmove.c, regrename.c, reg-stack.c, reload1.c, reorg.c, 
      	sched-rgn.c, sched-vis.c, sel-sched.c, sel-sched-ir.c, 
      	store-motion.c, tracer.c, trans-mem.c, tree-affine.c, 
      	tree-call-cdce.c, tree-cfgcleanup.c, tree-chrec.c, 
      	tree-data-ref.c, tree-diagnostic.c, tree-dump.c,
      	tree-eh.c, tree-flow-inline.h, tree-if-conv.c, tree-into-ssa.c, 
      	tree-mudflap.c, tree-nrv.c, tree-object-size.c, 
      	tree-optimize.c, tree-outof-ssa.c, tree-predcom.c, 
      	tree-pretty-print.c, tree-profile.c, tree-scalar-evolution.c, 
      	tree-sra.c, tree-ssa-address.c, tree-ssa-alias.c, tree-ssa.c, 
      	tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-copy.c, 
      	tree-ssa-copyrename.c,, tree-ssa-dce.c, tree-ssa-dom.c, 
      	tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c, 
      	tree-ssa-loop.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, 
      	tree-ssa-loop-ivcanon.c, tree-ssa-loop-ivopts.c, 
      	tree-ssa-loop-manip.c, tree-ssa-loop-niter.c, 
      	tree-ssa-loop-prefetch.c, tree-ssa-loop-unswitch.c, 
      	tree-ssa-math-opts.c, tree-ssa-operands.c, tree-ssa-phiopt.c, 
      	tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-propagate.c, 
      	tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-sink.c, 
      	tree-ssa-structalias.c, tree-ssa-tail-merge.c, tree-ssa-ter.c, 
      	tree-ssa-threadedge.c, tree-ssa-threadupdate.c, 
      	tree-ssa-uncprop.c, tree-ssa-uninit.c, 
      	tree-switch-conversion.c, tree-tailcall.c, 
      	tree-vect-data-refs.c, tree-vect-loop.c, 
      	tree-vect-loop-manip.c, tree-vectorizer.c, 
      	tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c, 
      	tree-vrp.c, value-prof.c, var-tracking.c, web.c: Include tree-pass.h
      	only if needed.  If tree-pass.h is included, do not include timevar.h
      	and dumpfile.h.  If tree-pass.h is not included but dump_file, or
      	dump_flags, or the TDF_* flags are used, include dumpfile.h.
      	If gimple-pretty-print.h is included, don't include tree-pretty-print.h.
      	Remove assorted unnecessary includes.
      
      	* config/mn10300/mn10300.c, config/c6x/c6x.c, config/ia64/ia64.c,
      	config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c,
      	config/spu/spu.c, config/mep/mep.c, config/i386/i386.c:
      	Include dumpfile.h.
      	* config/rl78/rl78.c: Include dumpfile.h instead of tree-pass.h.
      	* arm/t-arm, avr/t-avr, i386/t-i386, ia64/t-ia64, mep/t-mep,
      	spu/t-spu-elf: Fix dependencies.
      
      c-family/
      	* c-gimplify.c: Include dumpfile.h instead of tree-dump.h.
      	* c-ada-spec.c: Likewise.
      	* c-dump.c (dump_stmt): Move to cp/dump.c, the only user.
      
      c/
      	* c-decl.c: Include dumpfile.h instead of tree-dump.h.
      	* Make-lang.in: Fix dependencies.
      
      cp/
      	* dump.c (dump_stmt): Moved here from c-dump.c.
      	* optimize.c: Include dumpfile.h instead of tree-dump.h.
      	* class.c: Likewise.
      	* decl2.c: Likewise.
      	* Make-lang.in: Fix dependencies.
      
      fortran/
      	* f95-lang.c: Include dumpfile.h instead of tree-dump.h.
      	* Make-lang.in: Fix dependencies.
      
      java/
      	* java-gimplify.c Include dumpfile.h instead of tree-dump.h
      	* Make-lang.in: Fix dependencies.
      
      lto/
      	* lto.c: Do not include timevar.h.
      	* Make-lang.in: Fix dependencies.
      
      ada/
      	* gcc-interface/utils.c: Include timevar.h.
      	* Make-lang.in: Fix dependencies.
      
      From-SVN: r189519
      Steven Bosscher committed
  18. 24 Jun, 2012 1 commit
    • output.h: (current_function_is_leaf... · 416ff32e
      	* output.h: (current_function_is_leaf,
      	current_function_sp_is_unchanging,
      	current_function_uses_only_leaf_regs): Remove.
      	* function.c (current_function_is_leaf,
      	current_function_sp_is_unchanging,
      	current_function_uses_only_leaf_regs): Remove.
      	(rest_of_handle_check_leaf_regs): Set crtl->uses_only_leaf_regs
      	instead of current_function_uses_only_leaf_regs.
      	* function.h (struct rtl_data): New fields sp_is_unchanging,
      	is_leaf, uses_only_leaf_regs.
      	* resource.c (init_resource_info): Replace current_function_is_leaf,
      	current_function_sp_is_unchanging, and
      	current_function_uses_only_leaf_regs with new crtl fields.
      	* sdbout.c (sdbout_symbol): Likewise.
      	* df-core.c (rest_of_handle_df_initialize): Likewise.
      	* ira.c (ira): Likewise.
      	* final.c (final_start_function): Likewise.
      	* reorg.c (fill_simple_delay_slots): Likewise.
      	* regrename.c (check_new_reg_p): Likewise.
      	* stack-ptr-mod.c (notice_stack_pointer_modification_1): Likewise.
      	(notice_stack_pointer_modification): Likewise.
      	* dbxout.c (dbxout_symbol): Likewise.
      	(dbxout_parms): Likewise.
      	* sel-sched.c (init_regs_for_mode): Likewise.
      	* dwarf2out.c (dbx_reg_number): Likewise.
      	(multiple_reg_loc_descriptor): Likewise.
      	* config/i386/i386.c (ix86_frame_pointer_required): Likewise.
      	(gen_pop): Likewise.
      	(ix86_select_alt_pic_regnum): Likewise.
      	(ix86_compute_frame_layout): Likewise.
      	(ix86_finalize_stack_realign_flags): Likewise.
      	(ix86_expand_epilogue): Likewise.
      	* config/rs6000/rs6000.c (rs6000_stack_info): Likewise.
      	* config/h8300/h8300.c (byte_reg): Likewise.
      	* config/c6x/c6x.c (must_reload_pic_reg_p): Likewise.
      	(c6x_save_reg): Likewise.
      	(c6x_compute_frame_layout): Likewise.
      	* config/pa/pa.c (pa_compute_frame_size): Likewise.
      	(pa_output_function_prologue): Likewise.
      	* config/stormy16/stormy16.c (struct xstormy16_stack_layout): Likewise.
      	* config/sparc/sparc.md (attr "leaf_function"): Likewise.
      	* config/sparc/sparc.c (sparc_initial_elimination_offset): Likewise.
      	(sparc_expand_prologue): Likewise.
      	(sparc_flat_expand_prologue): Likewise.
      	(sparc_asm_function_prologue): Likewise.
      	(sparc_output_mi_thunk): Likewise.
      	(sparc_frame_pointer_required): Likewise.
      	* config/epiphany/epiphany.c (epiphany_compute_function_type): Likewise.
      	(epiphany_compute_frame_size): Likewise.
      	* config/lm32/lm32.c (lm32_compute_frame_size): Likewise.
      	* config/cris/cris.c (cris_md_asm_clobbers): Likewise.
      	(cris_frame_pointer_required): Likewise.
      	* config/tilepro/tilepro.c (emit_sp_adjust): Likewise.
      	(tilepro_current_function_is_leaf): Likewise.
      	* config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Likewise.
      	* config/pdp11/pdp11.c (pdp11_expand_epilogue): Likewise.
      	* config/ia64/ia64.c (find_gr_spill): Likewise.
      	(ia64_compute_frame_size): Likewise.
      	(ia64_can_eliminate): Likewise.
      	(ia64_initial_elimination_offset): Likewise.
      	* config/m68k/m68k.c (m68k_save_reg): Likewise.
      	(m68k_expand_epilogue): Likewise.
      	* config/rx/rx.c (rx_get_stack_layout): Likewise.
      	* config/tilegx/tilegx.c (tilegx_current_function_is_leaf): Likewise.
      	* config/picochip/picochip.c (picochip_can_eliminate_link_sp_save):
      	Likewise.
      	(picochip_output_frame_debug): Likewise.
      	* config/sh/sh.c (sh_media_register_for_return): Likewise.
      	(sh_allocate_initial_value): Likewise.
      	(sh_output_mi_thunk): Likewise.
      	* config/microblaze/microblaze.c (microblaze_must_save_register): Likewise.
      	(compute_frame_size): Likewise.
      	(microblaze_initial_elimination_offset): Likewise.
      	(microblaze_expand_prologue): Likewise.
      	(microblaze_expand_epilogue): Likewise.
      	* config/frv/frv.c (frv_expand_epilogue): Likewise.
      	(frv_frame_pointer_required): Likewise.
      	* config/spu/spu.c (get_pic_reg): Likewise.
      	(direct_return): Likewise.
      	(spu_expand_prologue): Likewise.
      	(spu_expand_epilogue): Likewise.
      	(spu_initial_elimination_offset): Likewise.
      	* config/mips/mips.c (mips_global_pointer): Likewise.
      	(mips_cfun_might_clobber_call_saved_reg_p): Likewise.
      	(mips_compute_frame_info): Likewise.
      	* config/mep/mep.c (mep_interrupt_saved_reg): Likewise.
      	(mep_reload_pointer): Likewise.
      	* config/rl78/rl78.c (need_to_save): Likewise.
      	* config/cr16/cr16.c (cr16_compute_save_regs): Likewise.
      	* config/score/score.c (score_compute_frame_size): Likewise.
      	(score_function_prologue): Likewise.
      	* config/bfin/bfin.c (must_save_p): Likewise.
      	(expand_prologue_reg_save): Likewise.
      	(expand_epilogue_reg_restore): Likewise.
      	(bfin_frame_pointer_required): Likewise.
      	(n_regs_saved_by_prologue): Likewise.
      	(add_to_reg): Likewise.
      	(expand_interrupt_handler_prologue): Likewise.
      	(expand_interrupt_handler_epilogue): Likewise.
      	(bfin_expand_prologue): Likewise.
      	* config/avr/avr.c (avr_regs_to_save): Likewise.
      	(avr_prologue_setup_frame): Likewise.
      	(expand_epilogue): Likewise.
      	* config/s390/s390.c (s390_regs_ever_clobbered): Likewise.
      	(s390_register_info): Likewise.
      	(s390_frame_info): Likewise.
      	(s390_init_frame_layout): Likewise.
      	(s390_emit_prologue): Likewise.
      
      From-SVN: r188918
      Steven Bosscher committed
  19. 04 May, 2012 1 commit
  20. 11 Feb, 2012 1 commit
  21. 09 Jan, 2012 1 commit
    • re PR debug/51471 (gcc.c-torture/execute/20040811-1.c and… · 243b92d1
      re PR debug/51471 (gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c  fails at -O3 -g on mips64-linux-gnu)
      
      2012-01-09  Tom de Vries  <tom@codesourcery.com>
      	    Andrew Pinski  <apinski@cavium.com>
      
      	PR debug/51471
      	* reorg.c (fill_slots_from_thread): Don't speculate frame-related insns.
      
      Co-Authored-By: Andrew Pinski <apinski@cavium.com>
      
      From-SVN: r183038
      Tom de Vries committed
  22. 19 Nov, 2011 1 commit
  23. 30 Oct, 2011 1 commit
  24. 15 Oct, 2011 1 commit
    • re PR rtl-optimization/49941 (segmentation fault in redirect_jump_2) · 387748de
      	PR rtl-optimization/49941
      	* jump.c (mark_jump_label_1): Set JUMP_LABEL for simple_return jumps.
      
      	* rtl.h (set_return_jump_label): Declare.
      	* function.c (set_return_jump_label): New function, extracted..
      	(thread_prologue_and_epilogue_insns): ..from here.  Use it in
      	another instance to set return jump_label.
      	* cfgrtl.c (force_nonfallthru_and_redirect): Use set_return_jump_label.
      	* reorg.c (find_end_label): Likewise.
      
      From-SVN: r180027
      Alan Modra committed
  25. 13 Sep, 2011 1 commit
  26. 27 Aug, 2011 1 commit
    • rtl.texi (simple_return): Document. · 26898771
      	* doc/rtl.texi (simple_return): Document.
      	(parallel, PATTERN): Here too.
      	* doc/md.texi (return): Mention it's allowed to expand to simple_return
      	in some cases.
      	(simple_return): Document standard pattern.
      	* gengenrtl.c (special_rtx): SIMPLE_RETURN is special.
      	* final.c (final_scan_insn): Use ANY_RETURN_P on body.
      	* reorg.c (function_return_label, function_simple_return_label):
      	New static variables, replacing...
      	(end_of_function_label): ... this.
      	(simplejump_or_return_p): New static function.
      	(optimize_skip, steal_delay_list_from_fallthrough,
      	fill_slots_from_thread): Use it.
      	(relax_delay_slots): Likewise.  Use ANY_RETURN_P on body.
      	(rare_destination, follow_jumps): Use ANY_RETURN_P on body.
      	(find_end_label): Take a new arg which is one of the two return
      	rtxs.  Depending on which, set either function_return_label or
      	function_simple_return_label.  All callers changed.
      	(make_return_insns): Make both kinds.
      	(dbr_schedule): Adjust for two kinds of end labels.
      	* function.c (emit_return_into_block): Set JUMP_LABEL properly.
      	* genemit.c (gen_exp): Handle SIMPLE_RETURN.
      	(gen_expand, gen_split): Use ANY_RETURN_P.
      	* df-scan.c (df_uses_record): Handle SIMPLE_RETURN.
      	* rtl.def (SIMPLE_RETURN): New code.
      	* ifcvt.c (find_if_case_1): Be more careful about
      	redirecting jumps to the EXIT_BLOCK.
      	* jump.c (condjump_p, condjump_in_parallel_p, any_condjump_p,
      	returnjump_p_1): Handle SIMPLE_RETURNs.
      	* print-rtl.c (print_rtx): Likewise.
      	* rtl.c (copy_rtx): Likewise.
      	* bt-load.c (compute_defs_uses_and_gen): Use ANY_RETURN_P.
      	* combine.c (simplify_set): Likewise.
      	* resource.c (find_dead_or_set_registers, mark_set_resources):
      	Likewise.
      	* emit-rtl.c (verify_rtx_sharing, classify_insn, copy_insn_1,
      	copy_rtx_if_shared_1, mark_used_flags): Handle SIMPLE_RETURNs.
      	(init_emit_regs): Initialize simple_return_rtx.
      	* cfglayout.c (fixup_reorder_chain): Pass a JUMP_LABEL to
      	force_nonfallthru_and_redirect.
      	* rtl.h (ANY_RETURN_P): Allow SIMPLE_RETURN.
      	(GR_SIMPLE_RETURN): New enum value.
      	(simple_return_rtx): New macro.
      	* basic-block.h (force_nonfallthru_and_redirect): Adjust
      	declaration.
      	* cfgrtl.c (force_nonfallthru_and_redirect): Take a new jump_label
      	argument.  All callers changed.  Be careful about what kinds of
      	returnjumps to generate.
      	* config/i386/3i86.c (ix86_pad_returns, ix86_count_insn_bb,
      	ix86_pad_short_function): Likewise.
      	* config/arm/arm.c (arm_final_prescan_insn): Handle both kinds
      	of return.
      	* config/mips/mips.md (any_return): New code_iterator.
      	(optab): Add cases for return and simple_return.
      	(return): Expand to a simple_return.
      	(simple_return): New pattern.
      	(*<optab>, *<optab>_internal for any_return): New patterns.
      	(return_internal): Remove.
      	* config/mips/mips.c (mips_expand_epilogue): Make the last insn
      	a simple_return_internal.
      
      From-SVN: r178135
      Bernd Schmidt committed
  27. 21 Aug, 2011 1 commit
    • rtl.h (INSN_ANNULLED_BRANCH_P): Only allow JUMP_INSN. · 8f06d483
              * rtl.h (INSN_ANNULLED_BRANCH_P): Only allow JUMP_INSN.
              * dwarf2cfi.c (scan_trace): Test JUMP_P before INSN_ANNULLED_BRANCH_P.
              * resource.c (next_insn_no_annul): Likewise.
              (mark_set_resources): Likewise.
              * reorg.c (delete_from_delay_slot): Likewise.
              (dbr_schedule, redundant_insn, try_merge_delay_insns): Likewise.
              (get_branch_condition): Test pc_rtx and LABEL_REF before dereferencing.
      
      From-SVN: r177944
      Richard Henderson committed
  28. 28 Jul, 2011 1 commit
    • rtlanal.c (tablejump_p): False for returns. · dc0ff1c8
      	* rtlanal.c (tablejump_p): False for returns.
      	* reorg.c (first_active_target_insn): New static function.
      	(find_end_label): Set JUMP_LABEL for a new returnjump.
      	(optimize_skip, get_jump_flags, rare_destination,
      	mostly_true_jump, get_branch_condition,
      	steal_delay_list_from_target, own_thread_p,
      	fill_simple_delay_slots, follow_jumps, fill_slots_from_thread,
      	fill_eager_delay_slots, relax_delay_slots, make_return_insns,
      	dbr_schedule): Adjust to handle ret_rtx in JUMP_LABELs.
      	* jump.c (delete_related_insns): Likewise.
      	(jump_to_label_p): New function.
      	(redirect_target): New static function.
      	(redirect_exp_1): Use it.  Adjust to handle ret_rtx in JUMP_LABELS.
      	(redirect_jump_1): Assert that the new label is nonnull.
      	(redirect_jump): Likewise.
      	(redirect_jump_2): Check for ANY_RETURN_P rather than NULL labels.
      	* ifcvt.c (find_if_case_1): Take care when redirecting jumps to the
      	exit block.
      	(dead_or_predicable): Change NEW_DEST arg to DEST_EDGE.  All callers
      	changed.  Ensure that the right label is passed to redirect_jump.
      	* function.c (emit_return_into_block,
      	thread_prologue_and_epilogue_insns): Ensure new returnjumps have
      	ret_rtx in their JUMP_LABEL.
      	* print-rtl.c (print_rtx): Handle ret_rtx in a JUMP_LABEL.
      	* emit-rtl.c (skip_consecutive_labels): Allow the caller to
      	pass ret_rtx as label.
      	* cfglayout.c (fixup_reorder_chain): Use
      	force_nonfallthru_and_redirect rather than force_nonfallthru.
      	(duplicate_insn_chain): Copy JUMP_LABELs for returns.
      	* rtl.h (ANY_RETURN_P): New macro.
      	(jump_to_label_p): Declare.
      	* resource.c (find_dead_or_set_registers): Handle ret_rtx in
      	JUMP_LABELs.
      	(mark_target_live_regs): Likewise.
      	* basic-block.h (force_nonfallthru_and_redirect): Declare.
      	* cfgrtl.c (force_nonfallthru_and_redirect): No longer static.
      	* config/alpha/alpha.c (alpha_tablejump_addr_vec,
      	alpha_tablejump_best_label): Remove functions.
      	* config/alpha/alpha-protos.c (alpha_tablejump_addr_vec,
      	alpha_tablejump_best_label): Remove declarations.
      	* config/sh/sh.c (barrier_align, split_branches): Adjust for
      	ret_rtx in JUMP_LABELs.
      	* config/arm/arm.c (is_jump_table): Likewise.
      
      From-SVN: r176881
      Bernd Schmidt committed
  29. 27 Jun, 2011 1 commit
  30. 14 Jun, 2011 1 commit
  31. 30 Nov, 2010 1 commit
    • diagnostic-core.h: Include bversion.h. · 7c475d11
      	* diagnostic-core.h: Include bversion.h.
      	* toplev.h: Don't include input.h or bversion.h.
      	(parse_optimize_options): Don't declare here.
      	* alias.c, auto-inc-dec.c, c-aux-info.c, c-convert.c, c-parser.c,
      	caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c,
      	combine-stack-adj.c, config/arm/pe.c, config/darwin-c.c,
      	config/host-darwin.c, config/i386/host-cygwin.c,
      	config/i386/host-mingw32.c, config/i386/msformat-c.c,
      	config/i386/netware.c, config/i386/nwld.c,
      	config/i386/winnt-cxx.c, config/i386/winnt-stubs.c,
      	config/ia64/ia64-c.c, config/m32c/m32c-pragma.c,
      	config/mep/mep-pragma.c, config/microblaze/microblaze-c.c,
      	config/rs6000/host-darwin.c, config/rs6000/rs6000-c.c,
      	config/score/score3.c, config/score/score7.c,
      	config/sh/symbian-base.c, config/sh/symbian-c.c,
      	config/sh/symbian-cxx.c, config/sol2-c.c, config/sol2.c,
      	config/v850/v850-c.c, config/vxworks.c, convert.c, cppbuiltin.c,
      	cselib.c, dbgcnt.c, ddg.c, dfp.c, dominance.c, emit-rtl.c,
      	fixed-value.c, fwprop.c, ggc-common.c, gimple.c, gimplify.c,
      	graphite-blocking.c, graphite-clast-to-gimple.c,
      	graphite-dependences.c, graphite-flattening.c,
      	graphite-interchange.c, graphite-poly.c,
      	graphite-scop-detection.c, graphite.c, haifa-sched.c,
      	implicit-zee.c, integrate.c, ipa-pure-const.c, ipa-reference.c,
      	ira-build.c, ira-conflicts.c, ira-costs.c, ira-lives.c, jump.c,
      	lists.c, loop-doloop.c, loop-iv.c, lto-cgraph.c, lto-compress.c,
      	lto-opts.c, lto-section-in.c, lto-section-out.c,
      	lto-streamer-out.c, lto-symtab.c, modulo-sched.c, optabs.c,
      	params.c, postreload-gcse.c, postreload.c, predict.c, profile.c,
      	regcprop.c, reginfo.c, regmove.c, reorg.c, resource.c,
      	sched-deps.c, sched-ebb.c, sched-rgn.c, sdbout.c,
      	sel-sched-dump.c, sel-sched-ir.c, sese.c, stmt.c, targhooks.c,
      	tree-cfgcleanup.c, tree-mudflap.c, tree-nomudflap.c,
      	tree-object-size.c, tree-outof-ssa.c, tree-phinodes.c,
      	tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c,
      	tree-ssa-live.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c,
      	tree-ssa-operands.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
      	tree-vect-patterns.c, value-prof.c, var-tracking.c, web.c: Don't
      	include toplev.h.
      	* Makefile.in (TOPLEV_H): Remove.  All uses changed to use
      	toplev.h.  Dependencies for above files and c-family files changed
      	to remove $(TOPLEV_H) or toplev.h.
      	(C_TREE_H): Don't include $(TOPLEV_H).
      	(DIAGNOSTIC_CORE_H): Use $(INPUT_H) instead of input.h.  Add
      	bversion.h.
      	* config/arm/t-pe, config/arm/t-wince-pe, config/i386/t-cygming,
      	config/ia64/t-ia64, config/mep/t-mep, config/score/t-score-elf,
      	config/t-darwin, config/t-sol2,
      	config/t-vxworks, config/v850/t-v850, config/v850/t-v850e:
      	Dependencies for above files changed to remove $(TOPLEV_H) or
      	toplev.h.
      
      c-family:
      	* c-common.h (parse_optimize_options): Declare.
      	* c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
      	c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
      
      cp:
      	* cp-gimplify.c, cp-lang.c, cvt.c, cxx-pretty-print.c, error.c,
      	except.c, expr.c, friend.c, init.c, mangle.c, name-lookup.c,
      	optimize.c, parser.c, rtti.c, tree.c, typeck2.c: Don't include
      	toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      java:
      	* expr.c, lang.c, mangle.c, mangle_name.c, typeck.c,
      	verify-glue.c: Don't include toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      lto:
      	* Make-lang.in (lto/lto-object.o): Depend on toplev.h instead of
      	$(TOPLEV_H).
      
      From-SVN: r167293
      Joseph Myers committed
  32. 15 Sep, 2010 1 commit
  33. 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
  34. 14 Feb, 2010 1 commit
  35. 30 Nov, 2009 1 commit
  36. 15 Sep, 2009 1 commit
  37. 22 Jun, 2009 1 commit
    • alias.c: Use REG_P... · 481683e1
      2009-06-22  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* alias.c: Use REG_P, MEM_P, CONST_INT_P, LABEL_P, CALL_P, NOTE_P and
      	JUMP_TABLE_DATA_P predicates where applicable.
      	* auto-inc-dec.c: Ditto.
      	* builtins.c: Ditto.
      	* caller-save.c: Ditto.
      	* calls.c: Ditto.
      	* cfgcleanup.c: Ditto.
      	* cfglayout.c: Ditto.
      	* cfgrtl.c: Ditto.
      	* combine.c: Ditto.
      	* combine-stack-adj.c: Ditto.
      	* cse.c: Ditto.
      	* cselib.c: Ditto.
      	* dbxout.c: Ditto.
      	* df-scan.c: Ditto.
      	* dse.c: Ditto.
      	* dwarf2asm.c: Ditto.
      	* dwarf2out.c: Ditto.
      	* emit-rtl.c: Ditto.
      	* except.c: Ditto.
      	* explow.c: Ditto.
      	* expmed.c: Ditto.
      	* expr.c: Ditto.
      	* final.c: Ditto.
      	* function.c: Ditto.
      	* fwprop.c: Ditto.
      	* gcse.c: Ditto.
      	* genpreds.c: Ditto.
      	* genrecog.c: Ditto.
      	* ifcvt.c: Ditto.
      	* ira-costs.c: Ditto.
      	* ira-lives.c: Ditto.
      	* jump.c: Ditto.
      	* loop-iv.c: Ditto.
      	* lower-subreg.c: Ditto.
      	* modulo-sched.c: Ditto.
      	* optabs.c: Ditto.
      	* postreload.c: Ditto.
      	* print-rtl.c: Ditto.
      	* recog.c: Ditto.
      	* reginfo.c: Ditto.
      	* regmove.c: Ditto.
      	* reload1.c: Ditto.
      	* reload.c: Ditto.
      	* reorg.c: Ditto.
      	* rtlanal.c: Ditto.
      	* rtl.c: Ditto.
      	* sched-vis.c: Ditto.
      	* sdbout.c: Ditto.
      	* sel-sched-ir.c: Ditto.
      	* simplify-rtx.c: Ditto.
      	* targhooks.c: Ditto.
      	* var-tracking.c: Ditto.
      	* vmsdbgout.c: Ditto.
      
      From-SVN: r148786
      Shujing Zhao committed
  38. 16 Jun, 2009 1 commit