1. 02 May, 2015 1 commit
    • change local vars to rtx_insn * · 21afc57d
      gcc/ChangeLog:
      
      2015-05-02  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* builtins.c (expand_builtin_trap): Change type of local
      	variable to rtx_insn *.
      	* config/arc/arc.md: Likewise.
      	* config/arm/arm.c (arm_barrier_cost): Likewise.
      	* config/avr/avr.c (avr_reorg): Likewise.
      	* config/bfin/bfin.c (workaround_speculation): Likewise.
      	(add_sched_insns_for_speculation): Likewise.
      	* config/i386/i386.c (ix86_init_pic_reg): Likewise.
      	(ix86_emit_save_regs): Likewise.
      	(get_scratch_register_on_entry): Likewise.
      	(ix86_emit_restore_reg_using_pop): Likewise.
      	(ix86_emit_leave): Likewise.
      	(ix86_emit_restore_regs_using_mov): Likewise.
      	(ix86_expand_epilogue): Likewise.
      	* config/rl78/rl78.c (rl78_alloc_physical_registers_cmp):
      	Likewise.
      	(rl78_alloc_physical_registers_umul): Likewise.
      	* config/sh/sh.md: Likewise.
      	* cselib.c (discard_useless_locs): Likewise.
      	(cselib_invalidate_regno): Likewise.
      	(cselib_invalidate_mem): Likewise.
      	* function.c (expand_function_start): Likewise.
      	(emit_use_return_register_into_block): Likewise.
      	* gcse.c: Likewise.
      	* haifa-sched.c (ok_for_early_queue_removal): Likewise.
      	* ifcvt.c (noce_get_alt_condition): Likewise.
      	* loop-doloop.c (doloop_condition_get): Likewise.
      	* lra-constraints.c (inherit_in_ebb): Likewise.
      	* modulo-sched.c (sms_schedule_by_order): Likewise.
      	* recog.c (next_insn_tests_no_inequality): Likewise.
      	* reorg.c (emit_delay_sequence): Likewise.
      	(update_reg_dead_notes): Likewise.
      	(fix_reg_dead_note): Likewise.
      	(fill_slots_from_thread): Likewise.
      	(delete_computation): Likewise.
      
      From-SVN: r222730
      Trevor Saunders committed
  2. 28 Apr, 2015 2 commits
    • always define HAVE_epilogue · 5251b8b3
      gcc/ChangeLog:
      
      2015-04-27  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h (gen_epilogue): New function.
      (HAVE_epilogue): Add default definition to false.
      	* alias.c (init_alias_analysis): don't check if HAVE_epilogue is
      	defined.
      	* cfgrtl.c (cfg_layout_finalize): Likewise.
      	* df-scan.c: Likewise.
      	* function.c (thread_prologue_and_epilogue_insns): Likewise.
      	(reposition_prologue_and_epilogue_notes): Likewise.
      	* reorg.c (find_end_label): Likewise.
      	* toplev.c: Likewise.
      
      From-SVN: r222506
      Trevor Saunders committed
    • always define HAVE_simple_return and HAVE_return · 08b7ff1e
      gcc/ChangeLog:
      
      2015-04-27  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* bb-reorder.c (HAVE_return): Don't check if its undefined.
      	* defaults.h (gen_simple_return): New function.
      	(gen_simple_return): Likewise.
      	(HAVE_return): Add default definition to false.
      	(HAVE_simple_return): Likewise.
      	* cfgrtl.c (force_nonfallthru_and_redirect): Remove checks if
      	HAVE_return and HAVE_simple_return are defined.
      	* function.c (gen_return_pattern): Likewise.
      	(convert_jumps_to_returns): Likewise.
      	(thread_prologue_and_epilogue_insns): Likewise.
      	* reorg.c (find_end_label): Likewise.
      	(dbr_schedule): Likewise.
      	* shrink-wrap.c: Likewise.
      	* shrink-wrap.h: Likewise.
      
      From-SVN: r222505
      Trevor Saunders committed
  3. 22 Apr, 2015 5 commits
    • add default for INSN_REFERENCES_ARE_DELAYED · 6e37129a
      gcc/ChangeLog:
      
      2015-04-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h (INSN_REFERENCES_ARE_DELAYED): New definition.
      	* reorg.c (redundant_insn): Remove ifdef
      	INSN_REFERENCES_ARE_DELAYED.
      	* resource.c (mark_referenced_resources): Likewise.
      
      From-SVN: r222304
      Trevor Saunders committed
    • provide default for INSN_SETS_ARE_DELAYED · 0923e946
      gcc/ChangeLog:
      
      2015-04-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h (INSN_SETS_ARE_DELAYED): New definition.
      	* reorg.c (redundant_insn): Remove ifdef INSN_SETS_ARE_DELAYED.
      	* resource.c (mark_set_resources): Likewise.
      
      From-SVN: r222303
      Trevor Saunders committed
    • remove more ifdefs for HAVE_cc0 · 618f4073
      gcc/ChangeLog:
      
      2015-04-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* caller-save.c (insert_one_insn): Remove ifdef HAVE_cc0.
      	* cfgcleanup.c (flow_find_cross_jump): Likewise.
      	(flow_find_head_matching_sequence): Likewise.
      	(try_head_merge_bb): Likewise.
      	* combine.c (can_combine_p): Likewise.
      	(try_combine): Likewise.
      	(distribute_notes): Likewise.
      	* df-problems.c (can_move_insns_across): Likewise.
      	* final.c (final): Likewise.
      	* gcse.c (insert_insn_end_basic_block): Likewise.
      	* ira.c (find_moveable_pseudos): Likewise.
      	* reorg.c (try_merge_delay_insns): Likewise.
      	(fill_simple_delay_slots): Likewise.
      	(fill_slots_from_thread): Likewise.
      	* sched-deps.c (sched_analyze_2): Likewise.
      
      From-SVN: r222302
      Trevor Saunders committed
    • make some HAVE_cc0 code always compiled · 058eb3b0
      gcc/ChangeLog:
      
      2015-04-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* cfgrtl.c (rtl_merge_blocks): Change #if HAVE_cc0 to if (HAVE_cc0)
      	(try_redirect_by_replacing_jump): Likewise.
      	(rtl_tidy_fallthru_edge): Likewise.
      	* combine.c (insn_a_feeds_b): Likewise.
      	(find_split_point): Likewise.
      	(simplify_set): Likewise.
      	* cprop.c (cprop_jump): Likewise.
      	* cse.c (cse_extended_basic_block): Likewise.
      	* df-problems.c (can_move_insns_across): Likewise.
      	* function.c (emit_use_return_register_into_block): Likewise.
      	* haifa-sched.c (sched_init): Likewise.
      	* ira.c (find_moveable_pseudos): Likewise.
      	* loop-invariant.c (find_invariant_insn): Likewise.
      	* lra-constraints.c (curr_insn_transform): Likewise.
      	* postreload.c (reload_combine_recognize_const_pattern):
      	* Likewise.
      	* reload.c (find_reloads): Likewise.
      	* reorg.c (delete_scheduled_jump): Likewise.
      	(steal_delay_list_from_target): Likewise.
      	(steal_delay_list_from_fallthrough): Likewise.
      	(redundant_insn): Likewise.
      	(fill_simple_delay_slots): Likewise.
      	(fill_slots_from_thread): Likewise.
      	(delete_computation): Likewise.
      	* sched-rgn.c (add_branch_dependences): Likewise.
      
      From-SVN: r222297
      Trevor Saunders committed
    • always define HAVE_cc0 · f1e52ed6
      gcc/ChangeLog:
      
      2015-04-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* genconfig.c (main): Always define HAVE_cc0.
      	* caller-save.c (insert_one_insn): Change ifdef HAVE_cc0 to #if
      	HAVE_cc0.
      	* cfgcleanup.c (flow_find_cross_jump): Likewise.
      	(flow_find_head_matching_sequence): Likewise.
      	(try_head_merge_bb): Likewise.
      	* cfgrtl.c (rtl_merge_blocks): Likewise.
      	(try_redirect_by_replacing_jump): Likewise.
      	(rtl_tidy_fallthru_edge): Likewise.
      	* combine.c (do_SUBST_MODE): Likewise.
      	(insn_a_feeds_b): Likewise.
      	(combine_instructions): Likewise.
      	(can_combine_p): Likewise.
      	(try_combine): Likewise.
      	(find_split_point): Likewise.
      	(subst): Likewise.
      	(simplify_set): Likewise.
      	(distribute_notes): Likewise.
      	* cprop.c (cprop_jump): Likewise.
      	* cse.c (cse_extended_basic_block): Likewise.
      	* df-problems.c (can_move_insns_across): Likewise.
      	* final.c (final): Likewise.
      	(final_scan_insn): Likewise.
      	* function.c (emit_use_return_register_into_block): Likewise.
      	* gcse.c (insert_insn_end_basic_block): Likewise.
      	* haifa-sched.c (sched_init): Likewise.
      	* ira.c (find_moveable_pseudos): Likewise.
      	* loop-invariant.c (find_invariant_insn): Likewise.
      	* lra-constraints.c (curr_insn_transform): Likewise.
      	* optabs.c (prepare_cmp_insn): Likewise.
      	* postreload.c (reload_combine_recognize_const_pattern):
      	* Likewise.
      	* reload.c (find_reloads): Likewise.
      	(find_reloads_address_1): Likewise.
      	* reorg.c (delete_scheduled_jump): Likewise.
      	(steal_delay_list_from_target): Likewise.
      	(steal_delay_list_from_fallthrough): Likewise.
      	(try_merge_delay_insns): Likewise.
      	(redundant_insn): Likewise.
      	(fill_simple_delay_slots): Likewise.
      	(fill_slots_from_thread): Likewise.
      	(delete_computation): Likewise.
      	(relax_delay_slots): Likewise.
      	* sched-deps.c (sched_analyze_2): Likewise.
      	* sched-rgn.c (add_branch_dependences): Likewise.
      
      From-SVN: r222296
      Trevor Saunders committed
  4. 20 Apr, 2015 1 commit
  5. 09 Feb, 2015 1 commit
  6. 29 Jan, 2015 1 commit
  7. 17 Jan, 2015 1 commit
  8. 15 Jan, 2015 1 commit
    • dojump.h: New header file. · 36566b39
      2015-10-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
      
      	* dojump.h: New header file.
      	* explow.h: Likewise.
      	* expr.h: Remove includes.
      	Move expmed.c prototypes to expmed.h.
      	Move dojump.c prototypes to dojump.h.
      	Move alias.c prototypes to alias.h.
      	Move explow.c prototypes to explow.h.
      	Move calls.c prototypes to calls.h.
      	Move emit-rtl.c prototypes to emit-rtl.h.
      	Move varasm.c prototypes to varasm.h.
      	Move stmt.c prototypes to stmt.h.
      	(saved_pending_stack_adjust): Move to dojump.h.
      	(adjust_address): Move to explow.h.
      	(adjust_address_nv): Move to emit-rtl.h.
      	(adjust_bitfield_address): Likewise.
      	(adjust_bitfield_address_size): Likewise.
      	(adjust_bitfield_address_nv): Likewise.
      	(adjust_automodify_address_nv): Likewise.
      	* explow.c (expr_size): Move to expr.c.
      	(int_expr_size): Likewise.
      	(tree_expr_size): Likewise.
      	Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
      	* genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
      	insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
      	* genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
      	statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
      	stmt.h.
      	* genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
      	fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
      	* genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
      	fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
      	stmt.h.
      	* config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
      	machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
      	double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
      	insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
      	* config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
      	double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
      	function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
      	insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
      	tm.h tree.h varasm.h vec.h wide-int.h.
      	* rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
      	hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
      	real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
      	* cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
      	real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
      	* loop-iv.c: Likewise.
      	* lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h flags.h inchash.h real.h
      	statistics.h stmt.h tree.h varasm.h wide-int.h.
      	* lra-constraints.c: Likewise.
      	* lra-eliminations.c: Likewise.
      	* lra-lives.c: Likewise.
      	* lra-remat.c: Likewise.
      	* bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
      	statistics.h stmt.h tree.h varasm.h wide-int.h.
      	* hw-doloop.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-emit.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
      	statistics.h stmt.h tree.h varasm.h wide-int.h.
      	* caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
      	stmt.h tree.h varasm.h wide-int.h.
      	* combine-stack-adj.c: Likewise.
      	* cse.c: Likewise.
      	* ddg.c: Likewise.
      	* ifcvt.c: Likewise.
      	* ira-costs.c: Likewise.
      	* jump.c: Likewise.
      	* lra-coalesce.c: Likewise.
      	* lra-spills.c: Likewise.
      	* profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
      	stmt.h varasm.h wide-int.h.
      	* lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
      	varasm.h.
      	* config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
      	double-int.h explow.h expmed.h fixed-value.h flags.h real.h
      	statistics.h stmt.h varasm.h wide-int.h.
      	* reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
      	expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
      	varasm.h wide-int.h.
      	* reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
      	expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
      	* config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
      	emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
      	statistics.h stmt.h.
      	* config/tilepro/tilepro.c: Likewise.
      	* config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
      	* config/pdp11/pdp11.c: Likewise.
      	* config/xtensa/xtensa.c: Likewise.
      	* config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
      	explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
      	varasm.h.
      	* tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
      	insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
      	* cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
      	insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
      	* rtl-chkp.c: Likewise.
      	* tree-chkp-opt.c: Likewise.
      	* config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
      	insn-config.h real.h statistics.h stmt.h varasm.h.
      	* ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
      	statistics.h stmt.h.
      	* tree-vect-data-refs.c: Likewise.
      	* graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
      	rtl.h statistics.h stmt.h varasm.h.
      	* internal-fn.c: Likewise.
      	* ipa-icf-gimple.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-ssa-strlen.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tsan.c: Likewise.
      	* targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
      	stmt.h.
      	* config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
      	statistics.h stmt.h varasm.h.
      	* loop-unroll.c: Likewise.
      	* ubsan.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
      	stmt.h varasm.h.
      	* dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
      	* tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
      	statistics.h stmt.h.
      	* generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
      	statistics.h stmt.h varasm.h.
      	* gimple-match-head.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-copyrename.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
      	* stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
      	* varasm.c: Likewise.
      	* coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
      	varasm.h.
      	* init-regs.c: Likewise.
      	* ira.c: Likewise.
      	* omp-low.c: Likewise.
      	* stack-ptr-mod.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
      	varasm.h.
      	* dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
      	* shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
      	* recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
      	* tree-ssa-phiopt.c: Likewise.
      	* config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h statistics.h stmt.h.
      	* config/fr30/fr30.c: Likewise.
      	* config/frv/frv.c: Likewise.
      	* expr.c: Likewise.
      	* final.c: Likewise.
      	* optabs.c: Likewise.
      	* passes.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stmt.c: Likewise.
      	* toplev.c: Likewise.
      	* var-tracking.c: Likewise.
      	* gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
      	* lower-subreg.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* ree.c: Likewise.
      	* reginfo.c: Likewise.
      	* store-motion.c: Likewise.
      	* combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h stmt.h varasm.h.
      	* emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h statistics.h stmt.h.
      	* dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
      	* except.c: Likewise.
      	* explow.c: Likewise.
      	* tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
      	varasm.h.
      	* gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
      	* tree-ssa-structalias.c: Likewise.
      	* cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h insn-config.h real.h statistics.h.
      	* calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h insn-config.h real.h statistics.h stmt.h.
      	* bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
      	* cfgbuild.c: Likewise.
      	* function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h real.h rtl.h statistics.h stmt.h.
      	* cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
      	* dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h real.h statistics.h stmt.h.
      	* auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h real.h statistics.h stmt.h varasm.h.
      	* cprop.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* postreload.c: Likewise.
      	* ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
      	flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
      	statistics.h stmt.h varasm.h.
      	* gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
      	explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
      	rtl.h statistics.h stmt.h varasm.h.
      	* tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
      	fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
      	varasm.h.
      	* expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
      	function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
      	varasm.h.
      	* target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
      	fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
      	varasm.h.
      	* tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
      	fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
      	* cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
      	function.h real.h statistics.h stmt.h varasm.h.
      	* alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
      	insn-config.h real.h statistics.h stmt.h.
      	* dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
      	statistics.h stmt.h.
      	* config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
      	statistics.h stmt.h varasm.h.
      	* gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
      	flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
      	* asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
      	flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
      	* ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
      	statistics.h stmt.h varasm.h.
      	* ipa-polymorphic-call.c: Likewise.
      	* config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
      	stmt.h.
      	* config/c6x/c6x.c: Likewise.
      	* config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
      	statistics.h stmt.h varasm.h.
      	* ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
      	hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
      	* ipa-split.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
      	stmt.h.
      	* config/nds32/nds32-fp-as-gp.c: Likewise.
      	* config/nds32/nds32-intrinsic.c: Likewise.
      	* config/nds32/nds32-isr.c: Likewise.
      	* config/nds32/nds32-md-auxiliary.c: Likewise.
      	* config/nds32/nds32-memory-manipulation.c: Likewise.
      	* config/nds32/nds32-pipelines-auxiliary.c: Likewise.
      	* config/nds32/nds32-predicates.c: Likewise.
      	* config/nds32/nds32.c: Likewise.
      	* config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h statistics.h.
      	* config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h statistics.h stmt.h.
      	* config/arm/arm.c: Likewise.
      	* config/avr/avr.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/iq2000/iq2000.c: Likewise.
      	* config/m32c/m32c.c: Likewise.
      	* config/m32r/m32r.c: Likewise.
      	* config/m68k/m68k.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/mn10300/mn10300.c: Likewise.
      	* config/moxie/moxie.c: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/rl78/rl78.c: Likewise.
      	* config/rx/rx.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/v850/v850.c: Likewise.
      	* config/vax/vax.c: Likewise.
      	* config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
      	* config/msp430/msp430.c: Likewise.
      	* predict.c: Likewise.
      	* value-prof.c: Likewise.
      	* config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
      	expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
      	* config/microblaze/microblaze.c: Likewise.
      	* config/nios2/nios2.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
      	insn-config.h real.h rtl.h statistics.h stmt.h.
      	* cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
      	insn-config.h real.h statistics.h stmt.h.
      	* fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
      	* tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
      	* builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
      	real.h statistics.h stmt.h.
      	* config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h statistics.h stmt.h.
      	* config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
      	stmt.h.
      
      java/	
      	* builtins.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
      	fixed-value.h function.h hard-reg-set.h hashtab.h insn-config.h
      	real.h statistics.h stmt.h varasm.h.
      
      From-SVN: r219655
      Prathamesh Kulkarni committed
  9. 09 Jan, 2015 1 commit
    • genattrtab.c (write_header): Include hash-set.h... · 40e23961
      2015-01-09  Michael Collison  <michael.collison@linaro.org>
      	
      	* genattrtab.c (write_header): Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	insn-attrtab.c.
      	* genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	insn-automata.c.
      	* genemit.c (main): Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	insn-emit.c.
      	* gengtype.c (open_base_files): Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	gtype-desc.c.
      	* genopinit.c (main): Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	insn-opinit.c.
      	* genoutput.c (output_prologue): Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	insn-output.c.
      	* genpeep.c (main): Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	insn-peep.c.
      	* genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	insn-preds.c.
      	* optc-save-gen-awk: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h when generating
      	options-save.c.
      	* opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
      	when generating options.h.
      	* ada/gcc-interface/cuintp.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h,
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* ada/gcc-interface/decl.c: ditto.
      	* ada/gcc-interface/misc.c: ditto.
      	* ada/gcc-interface/targtyps.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h,
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* ada/gcc-interface/trans.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, real.h,
      	fold-const.h, wide-int.h, inchash.h due to
      	flattening of tree.h.
      	* ada/gcc-interface/utils.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h,
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* ada/gcc-interface/utils2.c: ditto.
      	* alias.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* asan.c: ditto.
      	* attribs.c: ditto.
      	* auto-inc-dec.c: ditto.
      	* auto-profile.c: ditto
      	* bb-reorder.c: ditto.
      	* bt-load.c: Include symtab.h due to flattening of tree.h.
      	* builtins.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* c/c-array-notation.c: ditto.
      	* c/c-aux-info.c: ditto.
      	* c/c-convert.c: ditto.
      	* c/c-decl.c: ditto.
      	* c/c-errors.c: ditto.
      	* c/c-lang.c: dittoxs.
      	* c/c-objc-common.c: ditto.
      	* c/c-parser.c: ditto.
      	* c/c-typeck.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, inchash.h, real.h and
      	fixed-value.h due to flattening of tree.h.
      	* calls.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* ccmp.c: ditto.
      	* c-family/array-notation-common.c: ditto.
      	* c-family/c-ada-spec.c: ditto.
      	* c-family/c-cilkplus.c: ditto.
      	* c-family/c-common.c: Include input.h due to flattening of tree.h.
      	Define macro GCC_C_COMMON_C.
      	* c-family/c-common.h: Flatten tree.h header files into c-common.h.
      	Remove include of tree-core.h.
      	* c-family/c-cppbuiltin.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* c-family/c-dump.c: ditto.
      	* c-family/c-format.c: Flatten tree.h header files into c-common.h.
      	* c-family/c-cppbuiltin.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* c-family/c-dump.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* c-family/c-format.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, inchash.h and real.h due to
      	flattening of tree.h.
      	* c-family/c-gimplify.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* c-family/cilk.c: ditto.
      	* c-family/c-lex.c: ditto.
      	* c-family/c-omp.c: ditto.
      	* c-family/c-opts.c: ditto.
      	* c-family/c-pch.c: ditto.
      	* c-family/c-ppoutput.c: ditto.
      	* c-family/c-pragma.c: ditto.
      	* c-family/c-pretty-print.c: ditto.
      	* c-family/c-semantics.c: ditto.
      	* c-family/c-ubsan.c: ditto.
      	* c-family/stub-objc.c: ditto.
      	* cfgbuild.c: ditto.
      	* cfg.c: ditto.
      	* cfgcleanup.c: ditto.
      	* cfgexpand.c: ditto.
      	* cfghooks.c: ditto.
      	* cfgloop.c: Include symtab.h, fold-const.h, and
      	inchash.h due to flattening of tree.h.
      	* cfgloopmanip.c: ditto.
      	* cfgrtl.c:  Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* cgraphbuild.c: ditto.
      	* cgraph.c: ditto.
      	* cgraphclones.c: ditto.
      	* cgraphunit.c: ditto.
      	* cilk-common.c: ditto.
      	* combine.c: ditto.
      	* combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
      	* config/aarch64/aarch64-builtins.c:  Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* config/aarch64/aarch64.c: ditto.
      	* config/alpha/alpha.c: ditto.
      	* config/arc/arc.c: ditto.
      	* config/arm/aarch-common.c: ditto.
      	* config/arm/arm-builtins.c: ditto.
      	* config/arm/arm.c: ditto.
      	* config/arm/arm-c.c: ditto.
      	* config/avr/avr.c: ditto.
      	* config/avr/avr-c.c: ditto.
      	* config/avr/avr-log.c: ditto.
      	* config/bfin/bfin.c: ditto.
      	* config/c6x/c6x.c: ditto.
      	* config/cr16/cr16.c: ditto.
      	* config/cris/cris.c: ditto.
      	* config/darwin.c: ditto.
      	* config/darwin-c.c: ditto.
      	* config/default-c.c: ditto.
      	* config/epiphany/epiphany.c: ditto.
      	* config/fr30/fr30.c: ditto.
      	* config/frv/frv.c: ditto.
      	* config/glibc-c.c: ditto.
      	* config/h8300/h8300.c: ditto.
      	* config/i386/i386.c: ditto.
      	* config/i386/i386-c.c: ditto.
      	* config/i386/msformat.c: ditto.
      	* config/i386/winnt.c: ditto.
      	* config/i386/winnt-cxx.c: ditto.
      	* config/i386/winnt-stubs.c: ditto.
      	* config/ia64/ia64.c: ditto.
      	* config/ia64/ia64-c.c: ditto.
      	* config/iq2000/iq2000.c: ditto.
      	* config/lm32/lm32.c: Include symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* config/m32c/m32c.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* config/m32c/m32c-pragma.c: ditto.
      	* config/m32c/m32cr.c: ditto.
      	* config/m68/m68k.c: ditto.
      	* config/mcore/mcore.c: ditto.
      	* config/mep/mep.c: ditto.
      	* config/mep/mep-pragma.c: ditto.
      	* config/microblaze/microblaze.c: ditto.
      	* config/microblaze/microblaze-c.c: ditto.
      	* config/mips/mips.c: ditto.
      	* config/mmix/mmix.c: Include symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* config/moxie/moxie.c: ditto.
      	* config/msp430/msp430.c: ditto.
      	* config/msp430/msp430-c.c: ditto.
      	* config/nds32/nds32.c: ditto.
      	* config/nds32/nds32-cost.c: ditto.
      	* config/nds32/nds32-fp-as-gp.c: ditto.
      	* config/nds32/nds32-intrinsic.c: ditto.
      	* config/nds32/nds32-isr.c: ditto.
      	* config/nds32/nds32-md-auxillary.c: ditto.
      	* config/nds32/nds32-memory-manipulationx.c: ditto.
      	* config/nds32/nds32-pipelines-auxillary.c: ditto.
      	* config/nds32/nds32-predicates.c: ditto.
      	* config/nios2/nios2.c: ditto.
      	* config/nvptx/nvptx.c: ditto.
      	* config/pa/pa.c: ditto.
      	* config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* config/rl78/rl78.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* config/rl78/rl78-cx.c: ditto.
      	* config/rs6000/rs6000.c: ditto.
      	* config/rs6000/rs6000-c.c: ditto.
      	* config/rx/rx.c: ditto.
      	* config/s390/s390.c: ditto.
      	* config/sh/sh.c: ditto.
      	* config/sh/sc.c: ditto.
      	* config/sh/sh-mem.cc: ditto.
      	* config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
      	due to flattening of tree.h.
      	Remove include of tree-core.h.
      	* config/sol2.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* config/sol2-c.c: ditto.
      	* config/sol2-cxx.c: ditto.
      	* config/sol2-stubs.c: ditto.
      	* config/sparc/sparc.c: ditto.
      	* config/sparc/sparc-cx.c: ditto.
      	* config/spu/spu.c: ditto.
      	* config/spu/spu-c.c: ditto
      	* config/storym16/stormy16.c: ditto.
      	* config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
      	* config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
      	vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
      	fold-const.h, wide-int.h, and inchash.h due to
      	flattening of tree.h.
      	* config/v850/v850.c: ditto.
      	* config/v850/v850-c.c: ditto.
      	* config/vax/vax.c: ditto.
      	* config/vms/vms.c: ditto.
      	* config/vms/vms-c.c: ditto.
      	* config/vxworks.c: ditto.
      	* config/winnt-c.c: ditto.
      	* config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* coverage.c: ditto.
      	* cp/call.c: ditto.
      	* cp/class.c: ditto.
      	* cp/constexpr.c: ditto.
      	* cp/cp-array-notation.c: ditto.
      	* cp/cp-gimplify.c: ditto.
      	* cp/cp-lang.c: ditto.
      	* cp/cp-objcp-common.c: ditto.
      	* cp/cvt.c: ditto.
      	* cp/decl2.c: ditto.
      	* cp/decl.c: ditto.
      	* cp/dump.c: ditto.
      	* cp/error.c: ditto.
      	* cp/except.c: ditto.
      	* cp/expr.c: ditto.
      	* cp/friend.c: ditto.
      	* cp/init.c: ditto.
      	* cp/lambda.c: ditto.
      	* cp/lex.c: ditto.
      	* cp/mangle.c: ditto.
      	* cp/name-lookup.c: ditto.
      	* cp/optimize.c: ditto.
      	* cp/parser.c: ditto.
      	* cp/pt.c: ditto.
      	* cp/ptree.c: ditto.
      	* cp/repo.c: ditto.
      	* cp/rtti.c: ditto.
      	* cp/search.c: ditto.
      	* cp/semantics.c: ditto.
      	* cp/tree.c: ditto.
      	* cp/typeck2.c: ditto.
      	* cp/typeck.c: ditto.
      	* cppbuiltin.c: ditto.
      	* cprop.c: ditto.
      	* cse.c: Add include of symtab.h due to flattening of tree.h.
      	* cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* data-streamer.c: ditto.
      	* data-streamer-in.c: ditto.
      	* data-streamer-out.c: ditto.
      	* dbxout.c: ditto.
      	* dce.c: ditto.
      	* ddg.c: Add include of symtab.h due to flattening of tree.h.
      	* debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* dfp.c: ditto.
      	* df-scan.c: ditto.
      	* dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, inchash.h and real.h due to flattening of tree.h.
      	* double-int.c: ditto.
      	* dse.c: ditto.
      	* dumpfile.c: ditto.
      	* dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, inchash.h and real.h due to flattening of tree.h.
      	* dwarf2cfi.c: ditto.
      	* dwarf2out.c: ditto.
      	* emit-rtl.c: ditto.
      	* except.c: ditto.
      	* explow.c: ditto.
      	* expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* expr.c: ditto.
      	* final.c: ditto.
      	* fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
      	* fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	Relocate inline function convert_to_ptrofftype_loc from tree.h.
      	Relocate inline function fold_build_pointer_plus_loc from tree.h.
      	Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
      	* fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
      	Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
      	Relocate macro fold_build_pointer_plus_hwi from tree.h.
      	Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
      	Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
      	Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
      	* fortran/convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/cpp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/decl.c: ditto.
      	* fortran/f95.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/iresolve.c: ditto.
      	* fortran/match.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/module.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/options.c: ditto.
      	* fortran/target-memory.c: Include hash-set.h, vec.h,
      	double-int.h, input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/trans-array.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/trans.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/trans-common.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/trans-const.c: ditto.
      	* fortran/trans-decl.c: ditto.
      	* fortran/trans-expr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/trans-intrinsic.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, inchash.h and real.h due to flattening of tree.h.
      	* fortran/trans-io.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* fortran/trans-openmp.c: ditto.
      	* fortran/trans-stmt.c: ditto.
      	* fortran/trans-types.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, inchash.h and real.h due to flattening of tree.h.
      	* function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
      	alias.h, flags.h, and symtab.h due to flattening of tree.h
      	* gcse.c: ditto.
      	* generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ggc-page.c:  Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* gimple-builder.c: ditto.
      	* gimple.c: ditto.
      	* gimple-expr.c: ditto.
      	* gimple-fold.c: ditto.
      	* gimple-iterator.c: ditto.
      	* gimple-low.c: ditto.
      	* gimple-match-head.c: ditto.
      	* gimple-pretty-print.c: ditto.
      	* generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* gimple-ssa-strength-reduction.c: ditto.
      	* gimple-streamer-in.c: ditto.
      	* gimple-streamer-out.c: ditto.
      	* gimple-walk.c:  Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* gimplify.c:  Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* gimplify-me.c: ditto.
      	* go/go-gcc.cc: ditto.
      	* go/go-lang.c: ditto.
      	* go/gdump.c: ditto.
      	* graphite-blocking.c: ditto.
      	* graphite.c: ditto.
      	* graphite-dependencies.c: ditto.
      	* graphite-interchange.c: ditto.
      	* graphite-isl-ast-to-gimple.c: ditto.
      	* graphite-optimize-isl.c: ditto.
      	* graphite-poly.c: ditto.
      	* graphite-scop-detection.c: ditto.
      	* graphite-sese-to-poly.c: ditto.
      	* hw-doloop.c: Include symtab.h due to flattening of tree.h.
      	* ifcvt.c: ditto.
      	* init-regs.c:  Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h,options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa.c: ditto.
      	* ipa-chkp.c: ditto.
      	* ipa-comdats.c:  Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h,options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-devirt.c:  Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h,options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-icf-gimple.c: ditto.
      	* ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-inline.c: ditto.
      	* ipa-inline-transform.c: ditto.
      	* ipa-polymorhpic-call.c: ditto.
      	* ipa-profile.c: ditto.
      	* ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ipa-reference.c: ditto.
      	* ipa-split.c: ditto.
      	* ipa-utils.c: ditto.
      	* ipa-visbility.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* ira.c: ditto.
      	* ira-color.c: Include hash-set.h due to flattening of tree.h.
      	* ira-costs.c: ditto.
      	* ira-emit.c: ditto.
      	* java/boehm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* java/builtins.c: ditto.
      	* java/class.c: ditto.
      	* java/constants.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* java/decl.c: ditto.
      	* java/except.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* java/expr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h,inchash.h and real.h due to flattening of tree.h.
      	* java/gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* java/jcf-dump.c: ditto.
      	* java/jcf-io.c: ditto.
      	* java/jcf-parse.c: ditto.
      	* java/jvgenmain.c: ditto.
      	* java/lang.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* java/mangle.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* java/mangle_name.c: ditto.
      	* java/resource.c: ditto.
      	* java/typeck.c: ditto.
      	* java/verify-glue.c: ditto.
      	* java/verify-impl.c: ditto.
      	* jump.c: Include symtab.h due to flattening of tree.h.
      	* langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* loop-doloop.c: Include symtab.h due to flattening of tree.h.
      	* loop-init.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* loop-invariant.c: Include symtab.h due to flattening of tree.h.
      	* loop-iv.c: ditto.
      	* loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* lower-subreg.c: ditto.
      	* lra-assigns.c: Include symtab.h due to flattening of tree.h.
      	* lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* lra-coalesce.c: Include symtab.h due to flattening of tree.h.
      	* lra-constraints.c: ditto.
      	* lra-eliminations.c: ditto.
      	* lra-livesc: ditto.
      	* lra-remat.c: ditto.
      	* lra-spills.c: ditto.
      	* lto/lto.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* lto/lto-lang.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* lto/lto-object.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* lto/lto-partition.c: ditto.
      	* lto/lto-symtab.c: ditto.
      	* lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* lto-opts.c: ditto.
      	* lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* lto-section-out.c: ditto.
      	* lto-streamer.c: ditto.
      	* lto-streamer-in.c: ditto.
      	* lto-streamer-out.c: ditto.
      	* modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* objc/objc-act.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options, fold-const.h,
      	wide-int.h, and inchash.h due to flattening of tree.h.
      	* objc/objc-encoding.c: ditto.
      	* objc/objc-gnu-runtime-abi-01.c: ditto.
      	* objc/objc-lang.c: ditto.
      	* objc/objc-map.c: ditto.
      	* objc/objc-next-runtime-abi-01.c: ditto.
      	* objc/objc-next-runtime-abi-02.c: ditto.
      	* objc/objc-runtime-shared-support.c: ditto.
      	* objcp/objcp-decl.c: ditto.
      	* objcp/objcp-lang.c: ditto.
      	* omega.c: ditto.
      	* omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* optabs.c: ditto.
      	* opts-global.c: ditto.
      	* passes.c: ditto.
      	* plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* postreload.c: Include symtab.h due to flattening of tree.h.
      	* postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* predict.c: ditto.
      	* print-rtl.c: ditto.
      	* print-tree.c: ditto.
      	* profile.c: Include symtab.h, fold-const.h
      	and inchash.h due to flattening of tree.h.
      	* real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* ree.c: ditto.
      	* reginfo.c: ditto.
      	* reg-stack.c: ditto.
      	* reload1.c: Include symtab.h, fold-const.h, wide-int.h
      	and inchash.h due to flattening of tree.h.
      	* reload.c: Include symtab.h due to flattening of tree.h.
      	* reorg.c: ditto.
      	* rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
      	and inchash.h due to flattening of tree.h.
      	* rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* rtlhooks.c: Include symtab.h due to flattening of tree.h.
      	* sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* sched-vis.c: ditto.
      	* sdbout.c: ditto.
      	* sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
      	and inchash.h due to flattening of tree.h.
      	* sel-sched-ir.c: ditto.
      	* sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* stack-ptr-mod.c: ditto.
      	* stmt.c: ditto.
      	* store-motion.c: ditto.
      	* store-layout.c: ditto.
      	* stringpool.c: ditto.
      	* symtab.c: ditto.
      	* target-globals.c: ditto.
      	* targhooks.c: ditto.
      	* toplev.c: ditto.
      	* tracer.c: ditto.
      	* trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-affine.c: ditto.
      	* tree-browser.c: ditto.
      	* tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
      	fold-const.h, wide-int.h, inchash.h and real.h due to
      	flattening of tree.h.
      	* tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-cfgcleanup.c: ditto.
      	* tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-chkp-opt.c: ditto.
      	* tree-chrec.c: ditto.
      	* tree-chkp-opt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
      	real.h due to flattening of tree.h.
      	* tree-core.h: Flatten header file by removing all #include statements.
      	* tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
      	real.h due to flattening of tree.h.
      	* tree-diagnostic.c: ditto.
      	* tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
      	fixed-value.h due to flattening of tree.h.
      	* tree-dfa.c: ditto.
      	* tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
      	real.h due to flattening of tree.h.
      	* tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree.h: Flatten header files by removing all includes except tree-core.h.
      	Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
      	Remove macro convert_to_ptrofftype to relocate to fold-const.h.
      	Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
      	Remove macro fold_build_pointer_plus to relocate to fold-const.h.
      	Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
      	Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
      	* tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
      	fixed-value.h due to flattening of tree.h.
      	* tree-inline.c: ditto.
      	* tree-into-ssa.c: ditto.
      	* tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-loop-distribution.c: ditto.
      	* tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-nrv.c: ditto.
      	* tree-object-size.c: ditto.
      	* tree-outof-ssa.c: ditto.
      	* tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-phinodes.c: ditto.
      	* tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-pretty-print.c: ditto.
      	* tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
      	fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
      	* tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
      	double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h and inchash.h due to flattening of tree.h.
      	* tree-sra.c: Include  vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
      	inchash.h due to flattening of tree.h.
      	* tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-ssa.c: ditto.
      	* tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
      	and real.h due to flattening of tree.h.
      	* tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-ssa-copy.c: ditto.
      	* tree-ssa-copyrename.c: ditto.
      	* tree-ssa-dce.c: ditto.
      	* tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
      	and real.h due to flattening of tree.h.
      	* tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-ssa-forwprop.c: ditto.
      	* tree-ssa-ifcombine.c: ditto.
      	* tree-ssa-live.c: ditto.
      	* tree-ssa-loop.c: ditto.
      	* tree-ssa-loop-ch.c: ditto.
      	* tree-ssa-loop-im.c: ditto.
      	* tree-ssa-loop-ivcanon.c: ditto.
      	* tree-ssa-loop-ivopts.c: ditto.
      	* tree-ssa-loop-manip.c: ditto.
      	* tree-ssa-loop-niter.c: ditto.
      	* tree-ssa-loop-prefetch.c: ditto.
      	* tree-ssa-loop-unswitch.c: ditto.
      	* tree-ssa-loop-math-opts.c: ditto.
      	* tree-ssanames.c: ditto.
      	* tree-ssa-operands.c: ditto.
      	* tree-ssa-phiopt.c: ditto.
      	* tree-ssa-phiprop.c: ditto.
      	* tree-ssa-pre.c: ditto.
      	* tree-ssa-propagate.c: ditto.
      	* tree-ssa-reassoc.c: ditto.
      	* tree-ssa-sccvn.c: ditto.
      	* tree-ssa-sink.c: ditto.
      	* tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
      	double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h and inchash.h due to flattening of tree.h.
      	* tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
      	fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
      	* tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
      	double-int.h, input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h and inchash.h due to flattening of tree.h.
      	* tree-ssa-ter.c: ditto.
      	* tree-ssa-threadedge.c: ditto.
      	* tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
      	double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h and inchash.h due to flattening of tree.h.
      	* tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
      	double-int.h, input.h, alias.h, symtab.h, fold-const.h,
      	wide-int.h and inchash.h due to flattening of tree.h.
      	* tree-ssa-uninit.c: ditto.
      	* tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
      	symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
      	of tree.h.
      	* tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
      	symtab.h, options.h, fold-const.h, wide-int.h and
      	inchash.h due to flattening of tree.h.
      	* tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
      	double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
      	wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
      	of tree.h.
      	* tree-streamer-out.c: dittoo.
      	* tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-tailcall.c: ditto.
      	* tree-vect-data-refs.c: ditto.
      	* tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
      	alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* tree-vect-loop-manip.c: ditto.
      	* tree-vectorizer.c: ditto.
      	* tree-vect-patterns.c: ditto.
      	* tree-vect-slp.c: ditto.
      	* tree-vect-stmts.c: ditto.
      	* tree-vrp.c: ditto.
      	* tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* ubsan.c: ditto.
      	* value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* varasm.c: ditto.
      	* varpool.c: ditto.
      	* var-tracking.c: ditto.
      	* vmsdbgout.c: ditto.
      	* vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      	* xcoffout.c: ditto.
      	* libcc1/plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
      	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
      	due to flattening of tree.h.
      
      From-SVN: r219402
      Michael Collison committed
  10. 05 Jan, 2015 1 commit
  11. 11 Nov, 2014 1 commit
  12. 27 Oct, 2014 1 commit
    • ggcplug.c: Shuffle includes to include gcc-plugin.h earlier. · 60393bbc
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* testsuite/gcc.dg/plugin/ggcplug.c: Shuffle includes to include
      	gcc-plugin.h earlier.
      
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* c/c-typeck.c: Adjust include files.
      
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* c-family/c-gimplify.c: Adjust include files.
      
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* cp/cp-gimplify.c: Adjust include files.
      
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* go/go-gcc.cc: Adjust include files.
      	* go/go-lang.c: Ditto.
      
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* java/java-gimplify.c: Adjust include files.
      
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* lto/lto-lang.c: Adjust include files.
      	* lto/lto-object.c: Ditto.
      	* lto/lto-partition.c: Ditto.
      	* lto/lto-symtab.c: Ditto.
      	* lto/lto.c: Ditto.
      
      2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
      
      	* basic-block.h: Remove all includes.
      	(enum profile_status_d, struct control_flow_graph): Move to cfg.h
      	* cfg.h (profile_status_d, struct control_flow_graph): Relocate here.
      	* Makefile.in (GTFILES): Add cfg.h to list.
      	* cgraph.h (symbol_table::create_empty): Move to cgraph.c.
      	* cgraph.c (symbol_table::create_empty): Relocate from cgraph.h.
      	* genconditions.c (write_header): Add predict.h and basic-block.h to
      	lits of includes.
      	* genemit.c (main): Ditto.
      	* genpreds.c (write_insn_preds_c): Ditto.
      	* genrecog.c (write_header): Ditto.
      	* gengtype.c (open_base_files): Add predict.h, basic-block.h, and cfg.h
      	to list of includes.
      	* alias.c: Adjust include files.
      	* asan.c: Ditto.
      	* auto-inc-dec.c: Ditto.
      	* auto-profile.c: Ditto.
      	* bb-reorder.c: Ditto.
      	* bt-load.c: Ditto.
      	* builtins.c: Ditto.
      	* caller-save.c: Ditto.
      	* calls.c: Ditto.
      	* cfg.c: Ditto.
      	* cfganal.c: Ditto.
      	* cfgbuild.c: Ditto.
      	* cfgcleanup.c: Ditto.
      	* cfgexpand.c: Ditto.
      	* cfghooks.c: Ditto.
      	* cfgloop.c: Ditto.
      	* cfgloopanal.c: Ditto.
      	* cfgloopmanip.c: Ditto.
      	* cfgrtl.c: Ditto.
      	* cgraphbuild.c: Ditto.
      	* cgraphclones.c: Ditto.
      	* cgraphunit.c: Ditto.
      	* combine-stack-adj.c: Ditto.
      	* combine.c: Ditto.
      	* compare-elim.c: Ditto.
      	* coverage.c: Ditto.
      	* cprop.c: Ditto.
      	* cse.c: Ditto.
      	* cselib.c: Ditto.
      	* data-streamer-in.c: Ditto.
      	* data-streamer-out.c: Ditto.
      	* data-streamer.c: Ditto.
      	* dce.c: Ditto.
      	* ddg.c: Ditto.
      	* ddg.h: Ditto.
      	* df-core.c: Ditto.
      	* df-problems.c: Ditto.
      	* df-scan.c: Ditto.
      	* df.h: Ditto.
      	* dojump.c: Ditto.
      	* dominance.c: Ditto.
      	* domwalk.c: Ditto.
      	* dse.c: Ditto.
      	* dwarf2cfi.c: Ditto.
      	* emit-rtl.c: Ditto.
      	* et-forest.c: Ditto.
      	* except.c: Ditto.
      	* expmed.c: Ditto.
      	* expr.c: Ditto.
      	* final.c: Ditto.
      	* fold-const.c: Ditto.
      	* function.c: Ditto.
      	* fwprop.c: Ditto.
      	* gcc-plugin.h: Ditto.
      	* gcse.c: Ditto.
      	* generic-match-head.c: Ditto.
      	* ggc-page.c: Ditto.
      	* gimple-builder.c: Ditto.
      	* gimple-expr.c: Ditto.
      	* gimple-fold.c: Ditto.
      	* gimple-iterator.c: Ditto.
      	* gimple-low.c: Ditto.
      	* gimple-match-head.c: Ditto.
      	* gimple-pretty-print.c: Ditto.
      	* gimple-ssa-isolate-paths.c: Ditto.
      	* gimple-ssa-strength-reduction.c: Ditto.
      	* gimple-streamer-in.c: Ditto.
      	* gimple-streamer-out.c: Ditto.
      	* gimple-streamer.h: Ditto.
      	* gimple-walk.c: Ditto.
      	* gimple.c: Ditto.
      	* gimplify-me.c: Ditto.
      	* gimplify.c: Ditto.
      	* graph.c: Ditto.
      	* graphite-blocking.c: Ditto.
      	* graphite-clast-to-gimple.c: Ditto.
      	* graphite-dependences.c: Ditto.
      	* graphite-interchange.c: Ditto.
      	* graphite-isl-ast-to-gimple.c: Ditto.
      	* graphite-optimize-isl.c: Ditto.
      	* graphite-poly.c: Ditto.
      	* graphite-scop-detection.c: Ditto.
      	* graphite-sese-to-poly.c: Ditto.
      	* graphite.c: Ditto.
      	* haifa-sched.c: Ditto.
      	* hw-doloop.c: Ditto.
      	* ifcvt.c: Ditto.
      	* init-regs.c: Ditto.
      	* internal-fn.c: Ditto.
      	* ipa-cp.c: Ditto.
      	* ipa-devirt.c: Ditto.
      	* ipa-icf-gimple.c: Ditto.
      	* ipa-icf.c: Ditto.
      	* ipa-inline-analysis.c: Ditto.
      	* ipa-inline.c: Ditto.
      	* ipa-polymorphic-call.c: Ditto.
      	* ipa-profile.c: Ditto.
      	* ipa-prop.c: Ditto.
      	* ipa-pure-const.c: Ditto.
      	* ipa-reference.c: Ditto.
      	* ipa-split.c: Ditto.
      	* ipa-utils.c: Ditto.
      	* ipa.c: Ditto.
      	* ira-build.c: Ditto.
      	* ira-color.c: Ditto.
      	* ira-conflicts.c: Ditto.
      	* ira-costs.c: Ditto.
      	* ira-emit.c: Ditto.
      	* ira-lives.c: Ditto.
      	* ira.c: Ditto.
      	* jump.c: Ditto.
      	* lcm.c: Ditto.
      	* loop-doloop.c: Ditto.
      	* loop-init.c: Ditto.
      	* loop-invariant.c: Ditto.
      	* loop-iv.c: Ditto.
      	* loop-unroll.c: Ditto.
      	* lower-subreg.c: Ditto.
      	* lra-assigns.c: Ditto.
      	* lra-coalesce.c: Ditto.
      	* lra-constraints.c: Ditto.
      	* lra-eliminations.c: Ditto.
      	* lra-lives.c: Ditto.
      	* lra-spills.c: Ditto.
      	* lra.c: Ditto.
      	* lto-cgraph.c: Ditto.
      	* lto-compress.c: Ditto.
      	* lto-opts.c: Ditto.
      	* lto-section-in.c: Ditto.
      	* lto-section-out.c: Ditto.
      	* lto-streamer-in.c: Ditto.
      	* lto-streamer-out.c: Ditto.
      	* lto-streamer.c: Ditto.
      	* mcf.c: Ditto.
      	* mode-switching.c: Ditto.
      	* modulo-sched.c: Ditto.
      	* omp-low.c: Ditto.
      	* optabs.c: Ditto.
      	* opts-global.c: Ditto.
      	* passes.c: Ditto.
      	* postreload-gcse.c: Ditto.
      	* postreload.c: Ditto.
      	* predict.c: Ditto.
      	* print-rtl.c: Ditto.
      	* profile.c: Ditto.
      	* recog.c: Ditto.
      	* ree.c: Ditto.
      	* reg-stack.c: Ditto.
      	* regcprop.c: Ditto.
      	* regcprop.h: Ditto.
      	* reginfo.c: Ditto.
      	* regrename.c: Ditto.
      	* regstat.c: Ditto.
      	* reload.c: Ditto.
      	* reload1.c: Ditto.
      	* reorg.c: Ditto.
      	* resource.c: Ditto.
      	* rtlanal.c: Ditto.
      	* sched-deps.c: Ditto.
      	* sched-ebb.c: Ditto.
      	* sched-int.h: Ditto.
      	* sched-rgn.c: Ditto.
      	* sched-vis.c: Ditto.
      	* sel-sched-dump.c: Ditto.
      	* sel-sched-ir.c: Ditto.
      	* sel-sched-ir.h: Ditto.
      	* sel-sched.c: Ditto.
      	* sese.c: Ditto.
      	* shrink-wrap.c: Ditto.
      	* stack-ptr-mod.c: Ditto.
      	* stmt.c: Ditto.
      	* store-motion.c: Ditto.
      	* symtab.c: Ditto.
      	* toplev.c: Ditto.
      	* tracer.c: Ditto.
      	* trans-mem.c: Ditto.
      	* tree-affine.c: Ditto.
      	* tree-call-cdce.c: Ditto.
      	* tree-cfg.c: Ditto.
      	* tree-cfgcleanup.c: Ditto.
      	* tree-chrec.c: Ditto.
      	* tree-complex.c: Ditto.
      	* tree-data-ref.c: Ditto.
      	* tree-dfa.c: Ditto.
      	* tree-eh.c: Ditto.
      	* tree-emutls.c: Ditto.
      	* tree-if-conv.c: Ditto.
      	* tree-inline.c: Ditto.
      	* tree-into-ssa.c: Ditto.
      	* tree-loop-distribution.c: Ditto.
      	* tree-nested.c: Ditto.
      	* tree-nrv.c: Ditto.
      	* tree-object-size.c: Ditto.
      	* tree-outof-ssa.c: Ditto.
      	* tree-parloops.c: Ditto.
      	* tree-phinodes.c: Ditto.
      	* tree-predcom.c: Ditto.
      	* tree-pretty-print.c: Ditto.
      	* tree-profile.c: Ditto.
      	* tree-scalar-evolution.c: Ditto.
      	* tree-sra.c: Ditto.
      	* tree-ssa-address.c: Ditto.
      	* tree-ssa-alias.c: Ditto.
      	* tree-ssa-ccp.c: Ditto.
      	* tree-ssa-coalesce.c: Ditto.
      	* tree-ssa-copy.c: Ditto.
      	* tree-ssa-copyrename.c: Ditto.
      	* tree-ssa-dce.c: Ditto.
      	* tree-ssa-dom.c: Ditto.
      	* tree-ssa-dse.c: Ditto.
      	* tree-ssa-forwprop.c: Ditto.
      	* tree-ssa-ifcombine.c: Ditto.
      	* tree-ssa-live.c: Ditto.
      	* tree-ssa-loop-ch.c: Ditto.
      	* tree-ssa-loop-im.c: Ditto.
      	* tree-ssa-loop-ivcanon.c: Ditto.
      	* tree-ssa-loop-ivopts.c: Ditto.
      	* tree-ssa-loop-manip.c: Ditto.
      	* tree-ssa-loop-niter.c: Ditto.
      	* tree-ssa-loop-prefetch.c: Ditto.
      	* tree-ssa-loop-unswitch.c: Ditto.
      	* tree-ssa-loop.c: Ditto.
      	* tree-ssa-math-opts.c: Ditto.
      	* tree-ssa-operands.c: Ditto.
      	* tree-ssa-phiopt.c: Ditto.
      	* tree-ssa-phiprop.c: Ditto.
      	* tree-ssa-pre.c: Ditto.
      	* tree-ssa-propagate.c: Ditto.
      	* tree-ssa-reassoc.c: Ditto.
      	* tree-ssa-sccvn.c: Ditto.
      	* tree-ssa-sink.c: Ditto.
      	* tree-ssa-strlen.c: Ditto.
      	* tree-ssa-structalias.c: Ditto.
      	* tree-ssa-tail-merge.c: Ditto.
      	* tree-ssa-ter.c: Ditto.
      	* tree-ssa-threadedge.c: Ditto.
      	* tree-ssa-threadupdate.c: Ditto.
      	* tree-ssa-uncprop.c: Ditto.
      	* tree-ssa-uninit.c: Ditto.
      	* tree-ssa.c: Ditto.
      	* tree-ssanames.c: Ditto.
      	* tree-stdarg.c: Ditto.
      	* tree-streamer-in.c: Ditto.
      	* tree-streamer-out.c: Ditto.
      	* tree-streamer.c: Ditto.
      	* tree-switch-conversion.c: Ditto.
      	* tree-tailcall.c: Ditto.
      	* tree-vect-data-refs.c: Ditto.
      	* tree-vect-generic.c: Ditto.
      	* tree-vect-loop-manip.c: Ditto.
      	* tree-vect-loop.c: Ditto.
      	* tree-vect-patterns.c: Ditto.
      	* tree-vect-slp.c: Ditto.
      	* tree-vect-stmts.c: Ditto.
      	* tree-vectorizer.c: Ditto.
      	* tree-vrp.c: Ditto.
      	* tree.c: Ditto.
      	* tsan.c: Ditto.
      	* ubsan.c: Ditto.
      	* valtrack.c: Ditto.
      	* valtrack.h: Ditto.
      	* value-prof.c: Ditto.
      	* var-tracking.c: Ditto.
      	* varasm.c: Ditto.
      	* varpool.c: Ditto.
      	* vtable-verify.c: Ditto.
      	* web.c: Ditto.
      	* config/aarch64/aarch64-builtins.c: Ditto.
      	* config/aarch64/aarch64.c: Ditto.
      	* config/alpha/alpha.c: Ditto.
      	* config/arc/arc.c: Ditto.
      	* config/arm/arm.c: Ditto.
      	* config/avr/avr.c: Ditto.
      	* config/bfin/bfin.c: Ditto.
      	* config/c6x/c6x.c: Ditto.
      	* config/cr16/cr16.c: Ditto.
      	* config/cris/cris.c: Ditto.
      	* config/darwin-c.c: Ditto.
      	* config/darwin.c: Ditto.
      	* config/epiphany/epiphany.c: Ditto.
      	* config/epiphany/mode-switch-use.c: Ditto.
      	* config/epiphany/resolve-sw-modes.c: Ditto.
      	* config/fr30/fr30.c: Ditto.
      	* config/frv/frv.c: Ditto.
      	* config/h8300/h8300.c: Ditto.
      	* config/i386/i386.c: Ditto.
      	* config/i386/winnt.c: Ditto.
      	* config/ia64/ia64.c: Ditto.
      	* config/iq2000/iq2000.c: Ditto.
      	* config/lm32/lm32.c: Ditto.
      	* config/m32c/m32c.c: Ditto.
      	* config/m32r/m32r.c: Ditto.
      	* config/m68k/m68k.c: Ditto.
      	* config/mcore/mcore.c: Ditto.
      	* config/mep/mep.c: Ditto.
      	* config/microblaze/microblaze.c: Ditto.
      	* config/mips/mips.c: Ditto.
      	* config/mmix/mmix.c: Ditto.
      	* config/mn10300/mn10300.c: Ditto.
      	* config/moxie/moxie.c: Ditto.
      	* config/msp430/msp430.c: Ditto.
      	* config/nds32/nds32-cost.c: Ditto.
      	* config/nds32/nds32-fp-as-gp.c: Ditto.
      	* config/nds32/nds32-intrinsic.c: Ditto.
      	* config/nds32/nds32-isr.c: Ditto.
      	* config/nds32/nds32-md-auxiliary.c: Ditto.
      	* config/nds32/nds32-memory-manipulation.c: Ditto.
      	* config/nds32/nds32-pipelines-auxiliary.c: Ditto.
      	* config/nds32/nds32-predicates.c: Ditto.
      	* config/nds32/nds32.c: Ditto.
      	* config/nios2/nios2.c: Ditto.
      	* config/pa/pa.c: Ditto.
      	* config/pdp11/pdp11.c: Ditto.
      	* config/rl78/rl78.c: Ditto.
      	* config/rs6000/rs6000.c: Ditto.
      	* config/rx/rx.c: Ditto.
      	* config/s390/s390.c: Ditto.
      	* config/sh/sh-mem.cc: Ditto.
      	* config/sh/sh.c: Ditto.
      	* config/sh/sh_optimize_sett_clrt.cc: Ditto.
      	* config/sh/sh_treg_combine.cc: Ditto.
      	* config/sparc/sparc.c: Ditto.
      	* config/spu/spu.c: Ditto.
      	* config/stormy16/stormy16.c: Ditto.
      	* config/tilegx/tilegx.c: Ditto.
      	* config/tilepro/tilepro.c: Ditto.
      	* config/v850/v850.c: Ditto.
      	* config/vax/vax.c: Ditto.
      	* config/xtensa/xtensa.c: Ditto.
      
      From-SVN: r216735
      Andrew MacLeod committed
  13. 22 Oct, 2014 1 commit
    • recog.h (constrain_operands): Add an alternative_mask parameter. · daca1a96
      gcc/
      	* recog.h (constrain_operands): Add an alternative_mask parameter.
      	(constrain_operands_cached): Likewise.
      	(get_preferred_alternatives): Declare new form.
      	* recog.c (get_preferred_alternatives): New bb-taking instance.
      	(constrain_operands): Take the set of available alternatives as
      	a parameter.
      	(check_asm_operands, insn_invalid_p, extract_constrain_insn)
      	(extract_constrain_insn_cached): Update calls to constrain_operands.
      	* caller-save.c (reg_save_code): Likewise.
      	* ira.c (setup_prohibited_mode_move_regs): Likewise.
      	* postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
      	* ree.c (combine_reaching_defs): Likewise.
      	* reload.c (can_reload_into): Likewise.
      	* reload1.c (reload, reload_as_needed, inc_for_reload): Likewise.
      	(gen_reload_chain_without_interm_reg_p, emit_input_reload_insns)
      	(emit_insn_if_valid_for_reload): Likewise.
      	* reorg.c (fill_slots_from_thread): Likewise.
      	* config/i386/i386.c (ix86_attr_length_address_default): Likewise.
      	* config/pa/pa.c (pa_can_combine_p): Likewise.
      	* config/rl78/rl78.c (insn_ok_now): Likewise.
      	* config/sh/sh.md (define_peephole2): Likewise.
      	* final.c (final_scan_insn): Update call to constrain_operands_cached.
      
      From-SVN: r216555
      Richard Sandiford committed
  14. 16 Oct, 2014 1 commit
    • function.h: Flatten file. · 83685514
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* function.h: Flatten file.  Remove includes, adjust prototypes to 
      	reflect only what is in function.h.
      	(enum direction, struct args_size, struct locate_and_pad_arg_data,
      	ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Relocate
      	from expr.h.
      	(ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Relocate from rtl.h.
      	(optimize_function_for_size_p, optimize_function_for_speed_p): Move
      	prototypes to predict.h.
      	(init_varasm_status): Move prototype to varasm.h.
      	* expr.h: Adjust include files.
      	(enum direction, struct args_size, struct locate_and_pad_arg_data,
      	ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Move
      	to function.h.
      	(locate_and_pad_parm): Move prototype to function.h.
      	* rtl.h: (assign_stack_local, ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD,
      	assign_stack_local_1, assign_stack_temp, assign_stack_temp_for_type,
      	assign_temp, reposition_prologue_and_epilogue_notes,
      	prologue_epilogue_contains, sibcall_epilogue_contains,
      	update_temp_slot_address, maybe_copy_prologue_epilogue_insn,
      	set_return_jump_label): Move prototypes to function.h.
      	* predict.h (optimize_function_for_size_p,
      	optimize_function_for_speed_p): Relocate prototypes from function.h.
      	* shrink-wrap.h (emit_return_into_block, active_insn_between,
      	convert_jumps_to_returns, emit_return_for_exit): Move prototypes to
      	function.h.
      	* varasm.h (init_varasm_status): Relocate prototype from function.h.
      	* genattrtab.c (write_header): Add predict.h to include list.
      	* genconditions.c (write_header): Add predict.h to include list.
      	* genemit.c (main): Adjust header file includes.
      	* gengtype.c (ifiles): Add flattened function.h header files.
      	* genoutput.c (output_prologue): Add predict.h to include list.
      	* genpreds.c (write_insn_preds_c): Adjust header file includes.
      	* genrecog.c (write_header): Add flattened function.h header files.
      	* alias.c: Adjust include files.
      	* auto-inc-dec.c: Likewise.
      	* basic-block.h: Likewise.
      	* bb-reorder.c: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* caller-save.c: Likewise.
      	* calls.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloop.h: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphclones.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine-stack-adj.c: Likewise.
      	* combine.c: Likewise.
      	* coverage.c: Likewise.
      	* cprop.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbxout.c: Likewise.
      	* ddg.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* dojump.c: Likewise.
      	* dwarf2cfi.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* explow.c: Likewise.
      	* expr.c: Likewise.
      	* final.c: Likewise.
      	* function.c: Likewise.
      	* gcse.c: Likewise.
      	* gimple-fold.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-streamer.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* ira.c: Likewise.
      	* jump.c: Likewise.
      	* lcm.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* lra-assigns.c: Likewise.
      	* lra-coalesce.c: Likewise.
      	* lra-constraints.c: Likewise.
      	* lra-eliminations.c: Likewise.
      	* lra-lives.c: Likewise.
      	* lra-spills.c: Likewise.
      	* lra.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* mode-switching.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* omp-low.c: Likewise.
      	* optabs.c: Likewise.
      	* passes.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* profile.c: Likewise.
      	* recog.c: Likewise.
      	* ree.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* reginfo.c: Likewise.
      	* regrename.c: Likewise.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched.c: Likewise.
      	* shrink-wrap.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* statistics.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* symtab.c: Likewise.
      	* targhooks.c: Likewise.
      	* toplev.c: Likewise.
      	* trans-mem.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-nrv.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-copyrename.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-operands.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-tail-merge.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-stdarg.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree.c: Likewise.
      	* tsan.c: Likewise.
      	* valtrack.c: Likewise.
      	* varasm.c: Likewise.
      	* vmsdbgout.c: Likewise.
      	* web.c: Likewise.
      	* testsuite/g++.dg/plugin/pragma_plugin.c: Adjust include files.
      	* config/aarch64/aarch64.c: Add flattened includes from function.h.
      	* config/alpha/alpha.c: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/avr/avr-log.c: Likewise.
      	* config/avr/avr.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/c6x/c6x.c: Likewise.
      	* config/cr16/cr16.c: Likewise.
      	* config/cris/cris.c: Likewise.
      	* config/darwin.c: Likewise.
      	* config/epiphany/epiphany.c: Likewise.
      	* config/epiphany/mode-switch-use.c: Likewise.
      	* config/epiphany/resolve-sw-modes.c: Likewise.
      	* config/fr30/fr30.c: Likewise.
      	* config/frv/frv.c: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/iq2000/iq2000.c: Likewise.
      	* config/lm32/lm32.c: Likewise.
      	* config/m32c/m32c.c: Likewise.
      	* config/m32r/m32r.c: Likewise.
      	* config/m68k/m68k.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/mep/mep-pragma.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/microblaze/microblaze.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/mmix/mmix.c: Likewise.
      	* config/mn10300/mn10300.c: Likewise.
      	* config/moxie/moxie.c: Likewise.
      	* config/msp430/msp430.c: Likewise.
      	* config/nds32/nds32-cost.c: Likewise.
      	* config/nds32/nds32-fp-as-gp.c: Likewise.
      	* config/nds32/nds32-intrinsic.c: Likewise.
      	* config/nds32/nds32-isr.c: Likewise.
      	* config/nds32/nds32-md-auxiliary.c: Likewise.
      	* config/nds32/nds32-memory-manipulation.c: Likewise.
      	* config/nds32/nds32-pipelines-auxiliary.c: Likewise.
      	* config/nds32/nds32-predicates.c: Likewise.
      	* config/nds32/nds32.c: Likewise.
      	* config/nios2/nios2.c: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/pdp11/pdp11.c: Likewise.
      	* config/rl78/rl78.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/rx/rx.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/score/score.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/tilegx/tilegx.c: Likewise.
      	* config/tilepro/tilepro.c: Likewise.
      	* config/v850/v850.c: Likewise.
      	* config/vax/vax.c: Likewise.
      	* config/xtensa/xtensa.c: Likewise.
      
      
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* ada/gcc-interface/misc.c: Adjust include files.
      
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* c/c-decl.c: Adjust include files.
      
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* c-family/c-pragma.c: Adjust include files.
      	* c-family/c-semantics.c: Likewise.
      
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* cp/cp-tree.h: Adjust include files.
      
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* fortran/f95-lang.c: Adjust include files.
      	* fortran/trans-decl.c: Likewise.
      
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* java/class.c: Adjust include files.
      	* java/resource.c: Likewise.
      
      2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* objc/objc-act.c: Adjust include files.
      
      From-SVN: r216337
      Andrew MacLeod committed
  15. 16 Sep, 2014 1 commit
    • Replace INSN_DELETED_P with rtx_insn member functions · 4654c0cf
      gcc/
      
      	* cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
      	config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
      	emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
      	reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
      	macro with statically checked member functions.
      	* rtl.h (rtx_insn::deleted): New method.
      	(rtx_insn::set_deleted): Likewise.
      	(rtx_insn::set_undeleted): Likewise.
      	(INSN_DELETED_P): Remove.
      
      From-SVN: r215282
      Trevor Saunders committed
  16. 15 Sep, 2014 2 commits
    • Instruction attributes take an rtx_insn * · 84034c69
      gcc/ChangeLog:
      	* config/arc/arc-protos.h (arc_attr_type): Strengthen param from
      	rtx to rtx_insn *.
      	(arc_sets_cc_p): Likewise.
      	* config/arc/arc.c (arc_print_operand): Use methods of
      	"final_sequence" for clarity, and to enable strengthening of
      	locals "jump" and "delay" from rtx to rtx_insn *.
      	(arc_adjust_insn_length): Strengthen local "prev" from rtx to
      	rtx_insn *; use method of rtx_sequence for typesafety.
      	(arc_get_insn_variants): Use insn method of rtx_sequence for
      	typesafety.
      	(arc_pad_return): Likewise.
      	(arc_attr_type): Strengthen param from rtx to rtx_insn *.
      	(arc_sets_cc_p): Likewise.  Also, convert a GET_CODE check to a
      	dyn_cast to rtx_sequence *, using insn method for typesafety.
      	* config/arc/arc.h (ADJUST_INSN_LENGTH): Add checked casts to
      	rtx_sequence * and use insn method when invoking get_attr_length.
      	* config/bfin/bfin.c (type_for_anomaly): Strengthen param from rtx
      	to rtx_insn *.  Replace a GET_CODE check with a dyn_cast to
      	rtx_sequence *, introducing a local "seq", using its insn method
      	from typesafety and clarity.
      	(add_sched_insns_for_speculation): Strengthen local "next" from
      	rtx to rtx_insn *.
      	* config/c6x/c6x.c (get_insn_side): Likewise for param "insn".
      	(predicate_insn): Likewise.
      	* config/cris/cris-protos.h (cris_notice_update_cc): Likewise for
      	second param.
      	* config/cris/cris.c (cris_notice_update_cc): Likewise.
      	* config/epiphany/epiphany-protos.h
      	(extern void epiphany_insert_mode_switch_use): Likewise for param
      	"insn".
      	(get_attr_sched_use_fpu): Likewise for param.
      	* config/epiphany/epiphany.c (epiphany_insert_mode_switch_use):
      	Likewise for param "insn".
      	* config/epiphany/mode-switch-use.c (insert_uses): Likewise for
      	param "insn" of "target_insert_mode_switch_use" callback.
      	* config/frv/frv.c (frv_insn_unit): Likewise for param "insn".
      	(frv_issues_to_branch_unit_p): Likewise.
      	(frv_pack_insn_p): Likewise.
      	(frv_compare_insns): Strengthen locals "insn1" and "insn2" from
      	const rtx * (i.e. mutable rtx_def * const *) to
      	rtx_insn * const *.
      	* config/i386/i386-protos.h (standard_sse_constant_opcode):
      	Strengthen first param from rtx to rtx_insn *.
      	(output_fix_trunc): Likewise.
      	* config/i386/i386.c (standard_sse_constant_opcode): Likewise.
      	(output_fix_trunc): Likewise.
      	(core2i7_first_cycle_multipass_filter_ready_try): Likewise for
      	local "insn".
      	(min_insn_size): Likewise for param "insn".
      	(get_mem_group): Likewise.
      	(is_cmp): Likewise.
      	(get_insn_path): Likewise.
      	(get_insn_group): Likewise.
      	(count_num_restricted): Likewise.
      	(fits_dispatch_window): Likewise.
      	(add_insn_window): Likewise.
      	(add_to_dispatch_window): Likewise.
      	(debug_insn_dispatch_info_file): Likewise.
      	* config/m32c/m32c-protos.h (m32c_output_compare): Likewise for
      	first param.
      	* config/m32c/m32c.c (m32c_compare_redundant): Likewise for param
      	"cmp" and local "prev".
      	(m32c_output_compare): Likewise for param "insn".
      	* config/m32r/predicates.md (define_predicate "small_insn_p"): Add
      	a checked cast to rtx_insn * on "op" after we know it's an INSN_P.
      	(define_predicate "large_insn_p"): Likewise.
      	* config/m68k/m68k-protos.h (m68k_sched_attr_size): Strengthen
      	param from rtx to rtx_insn *.
      	(attr_op_mem m68k_sched_attr_op_mem): Likewise.
      	* config/m68k/m68k.c (sched_get_attr_size_int): Likewise.
      	(m68k_sched_attr_size): Likewise.
      	(sched_get_opxy_mem_type): Likewise for param "insn".
      	(m68k_sched_attr_op_mem): Likewise.
      	(sched_mem_operand_p): Likewise.
      	* config/mep/mep-protos.h (mep_multi_slot): Likewise for param.
      	* config/mep/mep.c (mep_multi_slot): Likewise.
      	* config/mips/mips-protos.h (mips_output_sync_loop): Likewise for
      	first param.
      	(mips_sync_loop_insns): Likewise.
      	* config/mips/mips.c (mips_print_operand_punctuation): Use insn
      	method of "final_sequence" for typesafety.
      	(mips_process_sync_loop): Strengthen param "insn" from rtx to
      	rtx_insn *.
      	(mips_output_sync_loop): Likewise.
      	(mips_sync_loop_insns): Likewise.
      	(mips_74k_agen_init): Likewise.
      	(mips_sched_init): Use NULL rather than NULL_RTX when working with
      	insns.
      	* config/nds32/nds32-fp-as-gp.c (nds32_symbol_load_store_p):
      	Strengthen param "insn" from rtx to rtx_insn *.
      	* config/nds32/nds32.c (nds32_target_alignment): Likewise for
      	local "insn".
      	* config/pa/pa-protos.h (pa_insn_refs_are_delayed): Likewise for
      	param.
      	* config/pa/pa.c (pa_output_function_epilogue): Likewise for local
      	"insn".  Use method of rtx_sequence for typesafety.
      	(branch_to_delay_slot_p): Strengthen param "insn" from rtx to
      	rtx_insn *.
      	(branch_needs_nop_p): Likewise.
      	(use_skip_p): Likewise.
      	(pa_insn_refs_are_delayed): Likewise.
      	* config/rl78/rl78.c (rl78_propogate_register_origins): Likewise
      	for locals "insn", "ninsn".
      	* config/rs6000/rs6000.c (is_microcoded_insn): Likewise for param
      	"insn".
      	(is_cracked_insn): Likewise.
      	(is_branch_slot_insn): Likewise.
      	(is_nonpipeline_insn): Likewise.
      	(insn_terminates_group_p): Likewise.
      	(insn_must_be_first_in_group): Likewise.
      	(insn_must_be_last_in_group): Likewise.
      	(force_new_group): Likewise for param "next_insn".
      	* config/s390/s390.c (s390_get_sched_attrmask): Likewise for param
      	"insn".
      	(s390_sched_score): Likewise.
      	* config/sh/sh-protos.h (output_branch): Likewise for param 2.
      	(rtx sfunc_uses_reg): Likewise for sole param.
      	* config/sh/sh.c (sh_print_operand): Use insn method of
      	final_sequence for typesafety.
      	(output_branch): Strengthen param "insn" from rtx to rtx_insn *.
      	Use insn method of final_sequence for typesafety.
      	(sfunc_uses_reg): Strengthen param "insn" from rtx to rtx_insn *.
      	* config/sparc/sparc-protos.h (eligible_for_call_delay): Likewise
      	for param.
      	(eligible_for_return_delay): Likewise.
      	(eligible_for_sibcall_delay): Likewise.
      	* config/sparc/sparc.c (eligible_for_call_delay): Likewise.
      	(eligible_for_return_delay): Likewise.
      	(eligible_for_sibcall_delay): Likewise.
      	* config/stormy16/stormy16-protos.h
      	(xstormy16_output_cbranch_hi): Likewise for final param.
      	(xstormy16_output_cbranch_si): Likewise.
      	* config/stormy16/stormy16.c (xstormy16_output_cbranch_hi): LIkewise.
      	(xstormy16_output_cbranch_si): Likewise.
      	* config/v850/v850-protos.h (notice_update_cc): Likewise.
      	* config/v850/v850.c (notice_update_cc): Likewise.
      
      	* final.c (get_attr_length_1): Strengthen param "insn" and param
      	of "fallback_fn" from rtx to rtx_insn *, eliminating a checked cast.
      	(get_attr_length): Strengthen param "insn" from rtx to rtx_insn *.
      	(get_attr_min_length): Likewise.
      	(shorten_branches): Likewise for signature of locals "length_fun"
      	and "inner_length_fun".  Introduce local rtx_sequence * "seqn"
      	from a checked cast and use its methods for clarity and to enable
      	strengthening local "inner_insn" from rtx to rtx_insn *.
      	* genattr.c (gen_attr): When writing out the prototypes of the
      	various generated "get_attr_" functions, strengthen the params of
      	the non-const functions from rtx to rtx_insn *.
      	Similarly, strengthen the params of insn_default_length,
      	insn_min_length, insn_variable_length_p, insn_current_length.
      	(main): Similarly, strengthen the param of num_delay_slots,
      	internal_dfa_insn_code, insn_default_latency, bypass_p,
      	insn_latency, min_issue_delay, print_reservation,
      	insn_has_dfa_reservation_p and of the "internal_dfa_insn_code" and
      	"insn_default_latency" callbacks.  Rename hook_int_rtx_unreachable
      	to hook_int_rtx_insn_unreachable.
      	* genattrtab.c (write_attr_get): When writing out the generated
      	"get_attr_" functions, strengthen the param "insn" from rtx to
      	rtx_insn *, eliminating a checked cast.
      	(make_automaton_attrs): When writing out prototypes of
      	"internal_dfa_insn_code_", "insn_default_latency_" functions
      	and the "internal_dfa_insn_code" and "insn_default_latency"
      	callbacks, strengthen their params from rtx to rtx_insn *
      	* genautomata.c (output_internal_insn_code_evaluation): When
      	writing out code, add a checked cast from rtx to rtx_insn * when
      	invoking DFA_INSN_CODE_FUNC_NAME aka dfa_insn_code.
      	(output_dfa_insn_code_func): Strengthen param of generated
      	function "dfa_insn_code_enlarge" from rtx to rtx_insn *.
      	(output_trans_func): Likewise for generated function
      	"state_transition".
      	(output_internal_insn_latency_func): When writing out generated
      	function "internal_insn_latency", rename params from "insn" and
      	"insn2" to "insn_or_const0" and "insn2_or_const0".  Reintroduce
      	locals "insn" and "insn2" as rtx_insn * with checked casts once
      	we've proven that we're not dealing with const0_rtx.
      	(output_insn_latency_func):  Strengthen param of generated
      	function "insn_latency" from rtx to rtx_insn *.
      	(output_print_reservation_func): Likewise for generated function
      	"print_reservation".
      	(output_insn_has_dfa_reservation_p): Likewise for generated
      	function "insn_has_dfa_reservation_p".
      	* hooks.c (hook_int_rtx_unreachable): Rename to...
      	(hook_int_rtx_insn_unreachable): ...this, and strengthen param
      	from rtx to rtx_insn *.
      	* hooks.h (hook_int_rtx_unreachable): Likewise.
      	(extern int hook_int_rtx_insn_unreachable): Likewise.
      	* output.h (get_attr_length): Strengthen param from rtx to rtx_insn *.
      	(get_attr_min_length): Likewise.
      	* recog.c (get_enabled_alternatives): Likewise.
      	* recog.h (alternative_mask get_enabled_alternatives): Likewise.
      	* reorg.c (find_end_label): Introduce local rtx "pat" and
      	strengthen local "insn" from rtx to rtx_insn *.
      	(redundant_insn): Use insn method of "seq" rather than element for
      	typesafety; strengthen local "control" from rtx to rtx_insn *.
      	* resource.c (mark_referenced_resources): Add checked cast to
      	rtx_insn * within INSN/JUMP_INSN case.
      	(mark_set_resources): Likewise.
      	* sel-sched.c (estimate_insn_cost): Strengthen param "insn" from
      	rtx to rtx_insn *.
      
      From-SVN: r215271
      David Malcolm committed
    • The TARGET_CAN_FOLLOW_JUMP hook takes insns · c1ce59ab
      gcc/ChangeLog:
      	* config/arc/arc.c (arc_can_follow_jump): Strengthen both params
      	from const_rtx to const rtx_insn *.  Update union members from rtx
      	to rtx_insn *.
      	* doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
      	* hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
      	(hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
      	strengthen both params from const_rtx to const rtx_insn *.
      	* hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
      	(hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
      	* reorg.c (follow_jumps): Strengthen param "jump" from rtx to
      	rtx_insn *.
      	* target.def (can_follow_jump): Strengthen both params from
      	const_rtx to const rtx_insn *, and update default implementation
      	from hook_bool_const_rtx_const_rtx_true to
      	hook_bool_const_rtx_insn_const_rtx_insn_true.
      
      From-SVN: r215269
      David Malcolm committed
  17. 11 Sep, 2014 1 commit
    • Introduce LABEL_REF_LABEL · a827d9b1
      gcc/ChangeLog:
      2014-09-11  David Malcolm  <dmalcolm@redhat.com>
      
      	* rtl.h (LABEL_REF_LABEL): New macro.
      
      	* alias.c (rtx_equal_for_memref_p): Use LABEL_REF_LABEL in place
      	of XEXP (, 0), where we know that we have a LABEL_REF.
      	* cfgbuild.c (make_edges): Likewise.
      	(purge_dead_tablejump_edges): Likewise.
      	* cfgexpand.c (convert_debug_memory_address): Likewise.
      	* cfgrtl.c (patch_jump_insn): Likewise.
      	* combine.c (distribute_notes): Likewise.
      	* cse.c (hash_rtx_cb): Likewise.
      	(exp_equiv_p): Likewise.
      	(fold_rtx): Likewise.
      	(check_for_label_ref): Likewise.
      	* cselib.c (rtx_equal_for_cselib_1): Likewise.
      	(cselib_hash_rtx): Likewise.
      	* emit-rtl.c (mark_label_nuses): Likewise.
      	* explow.c (convert_memory_address_addr_space): Likewise.
      	* final.c (output_asm_label): Likewise.
      	(output_addr_const): Likewise.
      	* gcse.c (add_label_notes): Likewise.
      	* genconfig.c (walk_insn_part): Likewise.
      	* genrecog.c (validate_pattern): Likewise.
      	* ifcvt.c (cond_exec_get_condition): Likewise.
      	(noce_emit_store_flag): Likewise.
      	(noce_get_alt_condition): Likewise.
      	(noce_get_condition): Likewise.
      	* jump.c (maybe_propagate_label_ref): Likewise.
      	(mark_jump_label_1): Likewise.
      	(redirect_exp_1): Likewise.
      	(rtx_renumbered_equal_p): Likewise.
      	* lra-constraints.c (operands_match_p): Likewise.
      	* reload.c (operands_match_p): Likewise.
      	(find_reloads): Likewise.
      	* reload1.c (set_label_offsets): Likewise.
      	* reorg.c (get_branch_condition): Likewise.
      	* rtl.c (rtx_equal_p_cb): Likewise.
      	(rtx_equal_p): Likewise.
      	* rtlanal.c (reg_mentioned_p): Likewise.
      	(rtx_referenced_p): Likewise.
      	(get_condition): Likewise.
      	* sched-vis.c (print_value): Likewise.
      	* varasm.c (const_hash_1): Likewise.
      	(compare_constant): Likewise.
      	(const_rtx_hash_1): Likewise.
      	(output_constant_pool_1): Likewise.
      
      From-SVN: r215190
      David Malcolm committed
  18. 09 Sep, 2014 2 commits
    • single_set takes an insn · e8a54173
      gcc/ChangeLog:
      2014-09-09  David Malcolm  <dmalcolm@redhat.com>
      
      	* rtl.h (single_set_2): Strengthen first param from const_rtx to
      	const rtx_insn *, and move prototype to above...
      	(single_set): ...this.  Convert this from a macro to an inline
      	function, enforcing the requirement that the param is a const
      	rtx_insn *.
      	(find_args_size_adjust): Strengthen param from rtx to rtx_insn *.
      
      	* config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
      	Strengthen both params from rtx to rtx_insn *.
      	* config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
      	Likewise; introduce locals "producer_set", "consumer_set", using
      	them in place of "producer" and "consumer" when dealing with SET
      	rather than insn.
      	* config/avr/avr.c (avr_out_plus): Add checked cast to rtx_insn *
      	when invoking single_set in region guarded by INSN_P.
      	(avr_out_bitop): Likewise.
      	(_reg_unused_after): Introduce local rtx_sequence * "seq" in
      	region guarded by GET_CODE check, using methods to strengthen
      	local "this_insn" from rtx to rtx_insn *, and for clarity.
      	* config/avr/avr.md (define_insn_and_split "xload8<mode>_A"):
      	Strengthen local "insn" from rtx to rtx_insn *.
      	(define_insn_and_split "xload<mode>_A"): Likewise.
      	* config/bfin/bfin.c (trapping_loads_p): Likewise for param
      	"insn".
      	(find_load): Likewise for return type.
      	(workaround_speculation): Likewise for both locals named
      	"load_insn".
      	* config/cris/cris.c (cris_cc0_user_requires_cmp): Likewise for
      	local "cc0_user".
      	* config/cris/cris.md (define_peephole2 ; moversideqi): Likewise
      	for local "prev".
      	* config/h8300/h8300-protos.h (notice_update_cc): Likewise for
      	param 2.
      	* config/h8300/h8300.c (notice_update_cc): Likewise.
      	* config/i386/i386.c (ix86_flags_dependent): Likewise for params
      	"insn" and "dep_insn".
      	(exact_store_load_dependency): Likewise for both params.
      	(ix86_macro_fusion_pair_p): Eliminate local named "single_set"
      	since this now clashes with inline function.  Instead, delay
      	calling single_set until the point where its needed, and then
      	assign the result to "compare_set" and rework the conditional that
      	follows.
      	* config/ia64/ia64.md (define_expand "tablejump"): Strengthen
      	local "last" from rtx to rtx_insn *.
      	* config/mips/mips-protos.h (mips_load_store_insns): Likewise for
      	second param.
      	(mips_store_data_bypass_p): Likewise for both params.
      	* config/mips/mips.c (mips_load_store_insns): Likewise for second
      	param.
      	(mips_store_data_bypass_p): Likewise for both params.
      	(mips_orphaned_high_part_p): Likewise for param "insn".
      	* config/mn10300/mn10300.c (extract_bundle): Likewise.
      	(mn10300_bundle_liw): Likewise for locals "r", "insn1", "insn2".
      	Introduce local rtx "insn2_pat".
      	* config/rl78/rl78.c (move_elim_pass): Likewise for locals "insn",
      	"ninsn".
      	(rl78_remove_unused_sets): Likewise for locals "insn", "ninsn".
      	Introduce local rtx "set", using it in place of "insn" for the
      	result of single_set.  This appears to fix a bug, since the call
      	to find_regno_note on a SET does nothing.
      	* config/rs6000/rs6000.c (set_to_load_agen): Strengthen both
      	params from rtx to rtx_insn *.
      	(set_to_load_agen): Likewise.
      	* config/s390/s390.c (s390_label_align): Likewise for local
      	"prev_insn".  Introduce new rtx locals "set" and "src", using
      	them in place of "prev_insn" for the results of single_set
      	and SET_SRC respectively.
      	(s390_swap_cmp): Strengthen local "jump" from rtx to rtx_insn *.
      	Introduce new rtx local "set" using in place of "jump" for the
      	result of single_set.  Use SET_SRC (set) rather than plain
      	XEXP (set, 1).
      	* config/sh/sh.c (noncall_uses_reg): Strengthen param 2from
      	rtx to rtx_insn *.
      	(noncall_uses_reg): Likewise.
      	(reg_unused_after): Introduce local rtx_sequence * "seq" in region
      	guarded by GET_CODE check, using its methods for clarity, and to
      	enable strengthening local "this_insn" from rtx to rtx_insn *.
      	* config/sh/sh.md (define_expand "mulhisi3"): Strengthen local
      	"insn" from rtx to rtx_insn *.
      	(define_expand "umulhisi3"): Likewise.
      	(define_expand "smulsi3_highpart"): Likewise.
      	(define_expand "umulsi3_highpart"): Likewise.
      	* config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
      	local "after".  Replace GET_CODE check with a dyn_cast,
      	introducing new local rtx_sequence * "seq", using insn method for
      	typesafety.
      
      	* dwarf2cfi.c (dwarf2out_frame_debug): Strengthen param "insn"
      	from rtx to rtx_insn *.  Introduce local rtx "pat", using it in
      	place of "insn" once we're dealing with patterns rather than the
      	input insn.
      	(scan_insn_after): Strengthen param "insn" from rtx to rtx_insn *.
      	(scan_trace): Likewise for local "elt", updating lookups within
      	sequence to use insn method rather than element method.
      	* expr.c (find_args_size_adjust): Strengthen param "insn" from rtx
      	to rtx_insn *.
      	* gcse.c (gcse_emit_move_after): Likewise for local "new_rtx".
      	* ifcvt.c (noce_try_abs): Likewise for local "insn".
      	* ira.c (fix_reg_equiv_init): Add checked cast to rtx_insn * when
      	invoking single_set.
      	* lra-constraints.c (insn_rhs_dead_pseudo_p): Strengthen param
      	"insn" from rtx to rtx_insn *.
      	(skip_usage_debug_insns): Likewise for return type, adding a
      	checked cast.
      	(check_secondary_memory_needed_p): Likewise for local "insn".
      	(inherit_reload_reg): Likewise.
      	* modulo-sched.c (sms_schedule): Likewise for local "count_init".
      	* recog.c (peep2_attempt): Likewise for local "old_insn", adding
      	checked casts.
      	(store_data_bypass_p): Likewise for both params.
      	(if_test_bypass_p): Likewise.
      	* recog.h (store_data_bypass_p): Likewise for both params.
      	(if_test_bypass_p): Likewise.
      	* reload.c (find_equiv_reg): Likewise for local "where".
      	* reorg.c (delete_jump): Likewise for param "insn".
      	* rtlanal.c (single_set_2): Strenghen param "insn" from const_rtx
      	to const rtx_insn *.
      	* store-motion.c (replace_store_insn): Likewise for param "del".
      	(delete_store): Strengthen local "i" from rtx to rtx_insn_list *,
      	and use its methods for clarity, and to strengthen local "del"
      	from rtx to rtx_insn *.
      	(build_store_vectors): Use insn method of "st" when calling
      	replace_store_insn for typesafety and clarity.
      
      From-SVN: r215089
      David Malcolm committed
    • INSN_LOCATION takes an rtx_insn · a1950df3
      gcc/ChangeLog:
      2014-09-09  David Malcolm  <dmalcolm@redhat.com>
      
      	* rtl.h (INSN_LOCATION): Strengthen param from const_rtx to
      	const rtx_insn *, and from rtx to rtx_insn * for the other
      	overloaded variant.
      	(RTL_LOCATION): Add a checked cast to rtx_insn * when invoking
      	INSN_LOCATION, since we know INSN_P holds.
      	(insn_line): Strengthen param from const_rtx to const rtx_insn *.
      	(insn_file): Likewise.
      	(insn_scope): Likewise.
      	(insn_location): Likewise.
      
      	* config/mips/mips.c (mips16_gp_pseudo_reg): Strengthen local
      	"insn" from rtx to rtx_insn *, introducing a new local rtx "set"
      	for the result of gen_load_const_gp.
      	* config/rs6000/rs6000-protos.h (output_call): Strengthen first
      	param from rtx to rtx_insn *.
      	* config/rs6000/rs6000.c (output_call): Likewise.
      	* dwarf2out.c (dwarf2out_var_location): Likewise for local "prev",
      	introducing a checked cast to rtx_sequence * and use of the insn
      	method.
      	* emit-rtl.c (emit_copy_of_insn_after): Strengthen both params
      	from rtx to rtx_insn *.
      	(insn_scope): Strengthen param from const_rtx to const rtx_insn *.
      	(insn_line): Likewise.
      	(insn_file): Likewise.
      	(insn_location): Likewise.
      	* emit-rtl.h (emit_copy_of_insn_after): Strengthen both params
      	from rtx to rtx_insn *.
      	* print-rtl.c (print_rtx): Introduce local "in_insn" via a checked
      	cast, using it for calls to INSN_HAS_LOCATION and insn_location.
      	* recog.c (peep2_attempt): Introduce local rtx_insn * "peepinsn"
      	via a checked cast.
      	* reorg.c (relax_delay_slots): Strengthen locals named "after"
      	from rtx to rtx_insn *; use methods of "pat" for type-safety.
      
      From-SVN: r215084
      David Malcolm committed
  19. 05 Sep, 2014 2 commits
    • Use rtx_insn for various jump-handling functions and predicates · 68a1a6c0
      gcc/ChangeLog:
      2014-09-05  David Malcolm  <dmalcolm@redhat.com>
      
      	* config/arc/arc.c (arc_print_operand): Use insn method of
      	final_sequence for type-safety.
      	* config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
      	"insn" from rtx to rtx_insn *.
      	* config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
      	* config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
      	Likewise for locals "branch", "label".
      	* config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
      	locals "i1", "i2".  Use NULL rather than NULL_RTX in comparisons.
      	(same_cmp_following_p): Likewise for locals "i2", "i3".
      	* config/sh/sh_optimize_sett_clrt.cc
      	(sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
      	param "cbranch_insn".
      	* function.c (convert_jumps_to_returns): Likewis for local "jump".
      	* ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
      	* jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
      	const rtx_insn *.
      	(condjump_p): Likewise.
      	(condjump_in_parallel_p): Likewise.
      	(pc_set): Likewise.
      	(any_uncondjump_p): Likewise.
      	(any_condjump_p): Likewise.
      	(condjump_label): Likewise.
      	(returnjump_p): Strengthen param "insn" from rtx to
      	const rtx_insn *.
      	(onlyjump_p): Strengthen param "insn" from const_rtx to
      	const rtx_insn *.
      	(jump_to_label_p): Likewise.
      	(invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
      	(invert_jump): Likewise.
      	* reorg.c (simplejump_or_return_p): Add checked cast when calling
      	simplejump_p.
      	(get_jump_flags): Strengthen param "insn" from rtx to
      	const rtx_insn *.
      	(get_branch_condition): Likewise.
      	(condition_dominates_p): Likewise.
      	(make_return_insns): Move declaration of local "pat" earlier, to
      	after we've handled NONJUMP_INSN_P and non-sequences, using its
      	methods to simplify the code and for type-safety.
      	* rtl.h (find_constant_src): Strengthen param from const_rtx to
      	const rtx_insn *.
      	(jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
      	(condjump_p): Strengthen param from const_rtx to
      	const rtx_insn *.
      	(any_condjump_p): Likewise.
      	(any_uncondjump_p): Likewise.
      	(pc_set): Likewise.
      	(condjump_label): Likewise.
      	(simplejump_p): Likewise.
      	(returnjump_p): Likewise.
      	(onlyjump_p): Likewise.
      	(invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
      	(invert_jump): Likewise.
      	(condjump_in_parallel_p): Strengthen param from const_rtx to
      	const rtx_insn *.
      	* rtlanal.c (find_constant_src): Strengthen param from const_rtx
      	to const rtx_insn *.
      	* sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
      	to const rtx_insn *.
      	* sel-sched-ir.h (fallthru_bb_of_jump): Likewise.
      
      From-SVN: r214970
      David Malcolm committed
    • Simplification within reorg.c · 45700b6a
      gcc/ChangeLog:
      2014-09-05  David Malcolm  <dmalcolm@redhat.com>
      
      	* reorg.c (relax_delay_slots): Move declaration of "trial_seq"
      	above the conditional, and convert the check on GET_CODE to a
      	dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
      	the conditional.  Simplify the conditional by using methods of
      	"trial_seq".
      
      From-SVN: r214969
      David Malcolm committed
  20. 04 Sep, 2014 1 commit
    • use rtx_insn * a little more · e60365d3
      gcc/ChangeLog:
      
      2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
      
      	* config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c,
      	config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c,
      	ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *.
      
      From-SVN: r214923
      Trevor Saunders committed
  21. 30 Aug, 2014 1 commit
    • re PR bootstrap/62304 (ICE in follow_jumps, find_dead_or_set_registers) · c3f14d55
      	PR bootstrap/62304
      
      	* gcc/reorg.c (skip_consecutive_labels): Convert return type and
      	param back from rtx_insn * to rtx.  Rename param from "label" to
      	"label_or_return", reintroducing "label" as an rtx_insn * after
      	we've ensured it's not a RETURN.
      	(first_active_target_insn): Likewise for return type and param;
      	add a checked cast to rtx_insn * once we've ensured "insn" is not
      	a RETURN.
      	(steal_delay_list_from_target): Convert param "pnew_thread" back
      	from rtx_insn ** to rtx *.  Replace use of JUMP_LABEL_AS_INSN
      	with JUMP_LABEL.
      	(own_thread_p): Convert param "thread" back from an rtx_insn * to
      	an rtx.  Introduce local rtx_insn * "thread_insn" with a checked
      	cast once we've established we're not dealing with a RETURN,
      	renaming subsequent uses of "thread" to "thread_insn".
      	(fill_simple_delay_slots): Convert uses of JUMP_LABEL_AS_INSN back
      	to JUMP_LABEL.
      	(follow_jumps): Convert return type and param "label" from
      	rtx_insn * back to rtx.  Move initialization of "value" to after
      	the handling for ANY_RETURN_P, adding a checked cast there to
      	rtx_insn *.  Convert local rtx_insn * "this_label" to an rtx and
      	rename to "this_label_or_return", reintroducing "this_label" as
      	an rtx_insn * once we've handled the case where it could be an
      	ANY_RETURN_P.
      	(fill_slots_from_thread): Rename param "thread" to
      	"thread_or_return", converting from an rtx_insn * back to an rtx.
      	Reintroduce name "thread" as an rtx_insn * local with a checked
      	cast once we've handled the case of it being an ANY_RETURN_P.
      	Convert local "new_thread" from an rtx_insn * back to an rtx.
      	Add a checked cast when assigning to "trial" from "new_thread".
      	Convert use of JUMP_LABEL_AS_INSN back to JUMP_LABEL.  Add a
      	checked cast to rtx_insn * from "new_thread" when invoking
      	get_label_before.
      	(fill_eager_delay_slots): Convert locals "target_label",
      	"insn_at_target" from rtx_insn * back to rtx.
      	Convert uses of JUMP_LABEL_AS_INSN back to JUMP_LABEL.
      	(relax_delay_slots): Convert locals "trial", "target_label" from
      	rtx_insn * back to rtx.  Convert uses of JUMP_LABEL_AS_INSN back
      	to JUMP_LABEL.  Add a checked cast to rtx_insn * on "trial" when
      	invoking update_block.
      	(dbr_schedule): Convert use of JUMP_LABEL_AS_INSN back to
      	JUMP_LABEL; this removes all JUMP_LABEL_AS_INSN from reorg.c.
      
      	* resource.h (mark_target_live_regs): Undo erroneous conversion
      	of second param of r214693, converting it back from rtx_insn * to
      	rtx, since it could be a RETURN.
      
      	* resource.c (find_dead_or_set_registers): Similarly, convert
      	param "jump_target" back from an rtx_insn ** to an rtx *, as we
      	could be writing back a RETURN.  Rename local rtx_insn * "next" to
      	"next_insn", and introduce "lab_or_return" as a local rtx,
      	handling the case where JUMP_LABEL (this_jump_insn) is a RETURN.
      	(mark_target_live_regs): Undo erroneous conversion
      	of second param of r214693, converting it back from rtx_insn * to
      	rtx, since it could be a RETURN.  Rename it from "target" to
      	"target_maybe_return", reintroducing the name "target" as a local
      	rtx_insn * with a checked cast, after we've handled the case of
      	ANY_RETURN_P.
      
      From-SVN: r214752
      David Malcolm committed
  22. 29 Aug, 2014 1 commit
    • Use rtx_insn in various places in resource.[ch] · a79b674b
      gcc/
      2014-08-28  David Malcolm  <dmalcolm@redhat.com>
      
      	* resource.h (clear_hashed_info_for_insn): Strengthen param from
      	rtx to rtx_insn *.
      	(incr_ticks_for_insn): Likewise.
      	(init_resource_info): Likewise.
      
      	* resource.c (init_resource_info): Likewise.
      	(clear_hashed_info_for_insn): Likewise.
      	(incr_ticks_for_insn): Likewise.
      
      	* reorg.c (delete_scheduled_jump): Strengthen param "insn" from
      	rtx to rtx_insn *.
      	(steal_delay_list_from_target): Use methods of "seq".
      	(try_merge_delay_insns): Use methods of "merged_insns".
      	(update_block): Strengthen param "insn" from rtx to rtx_insn *.
      	(reorg_redirect_jump): Likewise for param "jump".
      
      From-SVN: r214702
      David Malcolm committed
  23. 28 Aug, 2014 3 commits
    • NEXT_INSN and PREV_INSN take a const rtx_insn · b32d5189
      gcc/
      2014-08-28  David Malcolm  <dmalcolm@redhat.com>
      
      	* rtl.h (RTX_PREV): Added checked casts to uses of PREV_INSN and
      	NEXT_INSN.
      	(PREV_INSN): Strengthen param from const_rtx to const rtx_insn *.
      	(NEXT_INSN): Likewise.
      	(JUMP_LABEL_AS_INSN): Add a "const" modifier to param.
      	(reg_used_between_p): Strengthen params 2 and 3 from const_rtx to
      	const rtx_insn *.
      	(no_labels_between_p): Likewise for both params.
      
      	* config/aarch64/aarch64.c (aarch64_output_casesi): Add a checked
      	cast when using NEXT_INSN on operands[2].
      	* config/alpha/alpha.c (alpha_set_memflags): Strengthen local
      	"insn" from rtx to rtx_insn *, adding a checked cast.
      	(alpha_handle_trap_shadows): Strengthen locals "i", "n" from rtx to
      	rtx_insn *.
      	* config/arc/arc-protos.h (arc_ccfsm_record_condition): Likewise
      	for third param.
      	(arc_text_label): Likewise for param "insn".
      	* config/arc/arc.c (arc_expand_epilogue): Likewise for local
      	"insn".
      	(arc_ccfsm_record_condition): Likewise for param "jump".
      	(arc_text_label): Likewise for local "label".
      	* config/arc/arc.md (doloop_begin_i): Likewise for local "scan".
      	Introduce a local "seq" via a dyn_cast to rtx_sequence *, and use
      	a method for typesafety.  Add a checked cast.
      	* config/arc/constraints.md (Clb): Add a checked cast when getting
      	the CODE_LABEL from a LABEL_REF.
      	* config/arm/arm.c (require_pic_register): Strengthen locals
      	"seq", "insn" from rtx to rtx_insn *.
      	(create_fix_barrier): Likewise for locals "selected", "next".
      	(thumb1_reorg): Likewise for locals "prev", "insn".
      	(arm_expand_prologue): Likewise for local "last".
      	(thumb1_output_casesi): Add a checked cast when using NEXT_INSN on
      	operands[0].
      	(thumb2_output_casesi): Likewise for operands[2].
      	* config/avr/avr-log.c (avr_log_vadump): Within 'L' case,
      	strengthen local "insn" from rtx to rtx_insn *.
      	* config/bfin/bfin.c (find_next_insn_start): Likewise for return
      	type and param "insn".
      	(find_prev_insn_start): Likewise.
      	(hwloop_optimize): Likewise for locals "insn", "last_insn",
      	"prev".
      	(gen_one_bundle): Likewise for loal "t".
      	(find_load): Likewise for param "insn".
      	(workaround_speculation): Likewise for locals "insn", "next",
      	"target", "next_tgt".
      	* config/c6x/c6x.c (assign_reservations): Likewise for both params
      	and for locals "insn", "within", "last".
      	(count_unit_reqs): Likewise for params "head", "tail" and local
      	"insn".
      	(try_rename_operands): Likewise for params "head", "tail".
      	(reshuffle_units): Likewise for locals "head", "tail", "insn".
      	(struct c6x_sched_context): Likewise for fields
      	"last_scheduled_insn", "last_scheduled_iter0".
      	(init_sched_state): Replace NULL_RTX with NULL.
      	(reorg_split_calls): Strengthen local "new_cycle_first" from rtx
      	to rtx_insn *.
      	(undo_split_delayed_nonbranch): Likewise for param and for local
      	"prev".
      	(conditionalize_after_sched): Likewise for local "insn".
      	(bb_earliest_end_cycle): Likewise.
      	(filter_insns_above): Likewise for locals "insn", "next".
      	(hwloop_optimize): Remove redundant checked cast.
      	(hwloop_fail): Strengthen local "t" from rtx to rtx_insn *.
      	* config/cris/cris.c (cris_initial_frame_pointer_offset): Replace
      	NULL_RTX with NULL.
      	(cris_simple_epilogue): Likewise.
      	(cris_expand_prologue): Likewise.
      	(cris_expand_epilogue): Likewise.
      	* config/frv/frv.c (frv_function_contains_far_jump): Strengthen
      	local "insn" from rtx to rtx_insn *.
      	(frv_ifcvt_modify_tests): Likewise for locals "last_insn", "insn".
      	(struct frv_packet_group): Likewise for the elements within array
      	fields "insns", "sorted", and for field "nop".
      	(frv_packet): Likewise for the elements within array field
      	"insns".
      	(frv_add_insn_to_packet): Likewise for param "insn".
      	(frv_insert_nop_in_packet): Likewise for param "insn" and local
      	"last".
      	(frv_for_each_packet): Likewise for locals "insn", "next_insn".
      	(frv_sort_insn_group_1): Likewise for local "insn".
      	(frv_optimize_membar_local): Likewise.
      	(frv_align_label): Likewise for locals "x", "last", "barrier",
      	"label".
      	* config/ia64/ia64.c (last_scheduled_insn): Likewise for this
      	local.
      	(ia64_sched_init): Likewise for local "insn".
      	(scheduled_good_insn): Likewise for param "last".
      	(struct _ia64_sched_context): Likewise for field
      	"last_scheduled_insn".
      	(ia64_init_sched_context): Replace NULL_RTX with NULL.
      	(struct bundle_state): Likewise for field "insn".
      	(issue_nops_and_insn): Likewise for param "insn".
      	(get_next_important_insn): Likewise for return type and both
      	params.
      	(ia64_add_bundle_selector_before): Likewise for param "insn".
      	(bundling): Likewise for params "prev_head_insn", "tail" and
      	locals "insn", "next_insn", "b".  Eliminate top-level local rtx
      	"nop" in favor of new locals rtx "nop_pat" and rtx_insn *nop;
      	* config/iq2000/iq2000-protos.h (iq2000_fill_delay_slot):
      	Strengthen final param from rtx to rtx_insn *.
      	(iq2000_move_1word): Likewise for second param.
      	* config/iq2000/iq2000.c (iq2000_fill_delay_slot): Likewise for
      	param "cur_insn" and local "next_insn".
      	(iq2000_move_1word): Likewise for param "insn".
      	* config/iq2000/iq2000.md (insn before ADDR_DIFF_VEC): Add checked
      	casts when using NEXT_INSN on operands[1].
      	* config/m32c/m32c.c (m32c_function_needs_enter): Strengthen local
      	"insn" from rtx to rtx_insn *.
      	* config/m68k/m68k.c (m68k_jump_table_ref_p): Split out uses of
      	"x", introducing local rtx_insn * "insn" for when working with the
      	CODE_LABEL of the LABEL_REF.
      	(m68k_sched_md_init_global): Strengthen local "insn" from rtx to
      	rtx_insn *.
      	* config/mcore/mcore-protos.h (mcore_is_dead): Likewise for first
      	param.
      	* config/mcore/mcore.c (emit_new_cond_insn): Likewise for return
      	type.
      	(conditionalize_block): Likewise for return type and param.
      	(mcore_is_dead): Likewise for param "first" and local "insn".
      	(emit_new_cond_insn): Likewise for return type.
      	(conditionalize_block): Likewise for return type, param, and
      	locals "insn", "blk_1_br", "end_blk_2_insn", "start_blk_3_lab",
      	"newinsn".
      	(conditionalize_optimization): Likewise for local "insn".
      	* config/mep/mep.c (mep_jmp_return_reorg): Add checked cast when
      	using NEXT_INSN.
      	* config/microblaze/microblaze.md: Add checked casts when using
      	NEXT_INSN.
      	* config/mips/mips.c (mips_expand_prologue): Eliminate top-level
      	rtx "insn" in favor of various more tightly-scoped rtx "insn" and
      	and rtx_insn * "insn".
      	* config/mips/mips.md (casesi_internal_mips16_<mode>): Add a
      	checked cast when using NEXT_INSN on operands[2].
      	* config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Strengthen
      	local "insn" from rtx to rtx_insn *.
      	* config/nds32/nds32-fp-as-gp.c (nds32_fp_as_gp_check_available):
      	Likewise.
      	* config/nds32/nds32-md-auxiliary.c (nds32_output_casesi_pc_relative):
      	Add a checked cast when using NEXT_INSN on operands[1].
      	* config/pa/pa-protos.h (pa_following_call): Strengthen param from
      	rtx to rtx_insn *.
      	(pa_output_cbranch): Likewise for final param.
      	(pa_output_lbranch): Likewise for second param.
      	(pa_output_bb): Likewise for third param.
      	(pa_output_bvb): Likewise.
      	(pa_output_dbra): Likewise for second param.
      	(pa_output_movb): Likewise.
      	(pa_output_parallel_movb): Likewise.
      	(pa_output_parallel_addb): Likewise.
      	(pa_output_millicode_call): Likewise for first param.
      	(pa_output_mul_insn): Likewise for second param.
      	(pa_output_div_insn): Likewise for third param.
      	(pa_output_mod_insn): Likewise for second param.
      	(pa_jump_in_call_delay): Likewise for param.
      	* config/pa/pa.c (pa_output_mul_insn): Likewise for param "insn".
      	(pa_output_div_insn): Likewise.
      	(pa_output_mod_insn): Likewise.
      	(pa_output_cbranch): Likewise.
      	(pa_output_lbranch): Likewise.
      	(pa_output_bb): Likewise.
      	(pa_output_bvb): Likewise.
      	(pa_output_dbra): Likewise.
      	(pa_output_movb): Likewise.
      	(pa_output_millicode_call): Likewise; use method of rtx_sequence *
      	to simplify and for typesafety.
      	(pa_output_call): Use method of rtx_sequence *.
      	(forward_branch_p): Strengthen param "insn" from rtx to rtx_insn *.
      	(pa_jump_in_call_delay): Likewise.
      	(pa_output_parallel_movb): Likewise.
      	(pa_output_parallel_addb): Likewise.
      	(pa_following_call): Likewise.
      	(pa_combine_instructions): Likewise for locals "anchor",
      	"floater".
      	(pa_can_combine_p): Likewise for params "anchor", "floater" and
      	locals "start", "end".
      	* config/picochip/picochip.c (picochip_reset_vliw): Likewise for
      	param "insn" and local "local_insn".
      	(picochip_final_prescan_insn): Likewise for local "local_insn".
      	* config/rs6000/rs6000.c (compute_save_world_info): Likewise for
      	local "insn".
      	(uses_TOC): Likewise.
      	* config/s390/s390.c (get_some_local_dynamic_name): Likewise.
      	(s390_mainpool_finish): Eliminate top-level local rtx "insn",
      	splitting out to more tightly-scoped locals, 3 as rtx and one as
      	rtx_insn *.
      	(s390_optimize_nonescaping_tx): Strengthen local "tmp" from rtx
      	to rtx_insn *.
      	(s390_emit_prologue): Introduce a local "insn" to be an rtx_insn *
      	where needed.
      	* config/sh/sh-protos.h (barrier_align): Strenghten param from rtx
      	to rtx_insn *.
      	(fixup_addr_diff_vecs): Likewise.
      	(reg_unused_after): Likewise for param 2.
      	(sh_can_redirect_branch): Likewise for both params.
      	(check_use_sfunc_addr): Likewise for param 1.
      	* config/sh/sh.c (fixup_mova): Likewise for local "worker".
      	(find_barrier): Likewise for local "last_got".
      	(gen_block_redirect): Likewise for return type, param "jump" and
      	locals "prev", "scan", "next", "insn".
      	(struct far_branch): Likewise for fields "near_label",
      	"insert_place", "far_label".
      	(gen_far_branch): Likewise for local "jump".
      	(fixup_addr_diff_vecs): Likewise for param "first" and locals
      	"insn", "prev".
      	(barrier_align): Likewise for param and for locals "prev", "x".
      	Introduce local rtx_sequence * "prev_seq" and use insn method for
      	typesafety and clarity.
      	(sh_reorg): Strengthen local "scan" from rtx to rtx_insn *.
      	(get_dest_uid): Likewise for local "dest".
      	(split_branches): Likewise for locals "next", "beyond", "label",
      	"block", "far_label".  Add checked casts when assigning to
      	bp->far_label and "far_label".
      	(reg_unused_after): Strengthen param "scan" from rtx to rtx_insn *.
      	(sequence_insn_p): Likewise.
      	(mark_constant_pool_use): Likewise for locals "insn", "lab".  Add a
      	more loop-scoped rtx "insn" when walking LABEL_REFS.
      	(sh_can_redirect_branch): Strengthen both params from rtx to
      	rtx_insn *.
      	(check_use_sfunc_addr): Likewise for param "insn".  Introduce a
      	new local rtx_sequence * "seq" via a dyn_cast, and use a method
      	for clarity and typesafety.
      	* config/sh/sh.md (define_expand "epilogue"): Strengthen local
      	"insn" from rtx to rtx_insn *.
      	(define_insn "casesi_worker_1"): Add a checked cast to rtx_insn *
      	when using NEXT_INSN on the CODE_LABEL in operands[2].
      	(define_insn "casesi_worker_2"): Likewise.
      	(define_insn "casesi_shift_media"): Likewise.
      	(define_insn "casesi_load_media"): Likewise for the CODE_LABEL in
      	operands[3].
      	* config/sh/sh_optimize_sett_clrt.cc (struct ccreg_value):
      	Strengthen field "insn" from rtx to rtx_insn *.
      	(sh_optimize_sett_clrt::execute): Likewise for locals "next_i", "i".
      	(sh_optimize_sett_clrt::find_last_ccreg_values): Likewise for
      	param "start_insn" and local "start_insn".
      	* config/sh/sh_treg_combine.cc (struct set_of_reg): Likewise for
      	field "insn".
      	(find_set_of_reg_bb): Likewise for param "insn".
      	(trace_reg_uses_1): Likewise for param "start_insn" and local "i".
      	(trace_reg_uses): Likewise for param "start_insn".
      	(sh_treg_combine::cbranch_trace): Likewise for field
      	"cbranch_insn".
      	(sh_treg_combine::cbranch_trace::cbranch_trace): Likewise for
      	param "insn".
      	(sh_treg_combine::record_set_of_reg): Likewise for param
      	"start_insn" and local "i".
      	(sh_treg_combine::can_remove_cstore): Likewise for local
      	"prev_insn".
      	(sh_treg_combine::try_optimize_cbranch): Likewise for param
      	"insn".
      	(sh_treg_combine::execute): Likewise for local "i".
      	* config/sparc/sparc-protos.h (empty_delay_slot): Likewise for
      	param.
      	(sparc_check_64): Likewise for second param.
      	* config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
      	locals "insn", "next".  Introduce local rtx_sequence * "seq" via a
      	dyn_cast, using its insn method for typesafety and clarity.
      	(empty_delay_slot): Strengthen param "insn" from rtx to
      	rtx_insn *.
      	(set_extends): Likewise.
      	(sparc_check_64): Likewise.
      	* config/stormy16/stormy16.c (xstormy16_split_cbranch): Likewise
      	for locals "seq", "last_insn".
      	(combine_bnp): Likewise for param "insn".
      	(xstormy16_reorg): Likewise for local "insn".
      	* config/v850/v850.c (substitute_ep_register): Likewise for params
      	"first_insn", "last_insn" and local "insn".
      	(v850_reorg): Likewise for fields "first_insn", "last_insn" within
      	elements of "regs" array, and local "insn".
      	* except.c (emit_note_eh_region_end): Likewise for param "insn".
      	* final.c (final_sequence): Strengthen this global from rtx to
      	rtx_sequence *.
      	(shorten_branches): Strenthen locals "rel_lab", "prev" from rtx to
      	rtx_insn *.
      	(final_scan_insn): Update assignment to "final_sequence" to be
      	from "seq", the cast version of "body", for type-safety.
      	* function.c (assign_parm_setup_reg): Strengthen locals "insn",
      	"insns" from rtx to rtx_insn *.
      	(thread_prologue_and_epilogue_insns): Likewise for local "seq".
      	* genattr.c (main): When writing out generated insn-attr.h,
      	strengthen params 1 and 3 of eligible_for_delay,
      	eligible_for_annul_true, eligible_for_annul_false from rtx to
      	rtx_insn *.
      	* genattrtab.c (write_eligible_delay): Likewise when writing out
      	generated insn-attrtab.c; also local "insn" the generated
      	functions.
      	* hw-doloop.c (discover_loops): Strengthen local "insn" from rtx
      	to rtx_insn *.
      	* hw-doloop.h (struct GTY hwloop_info_d): Strengthen field
      	"start_label" from rtx to rtx_insn *.
      	* ira.c (decrease_live_ranges_number): Likewise for local "p".
      	(ira_update_equiv_info_by_shuffle_insn): Likewise for param
      	"insns" and local "insn".
      	(validate_equiv_mem): Likewise for param "start" and local "insn".
      	(memref_used_between_p): Likewise for params "start", "end" and
      	local "insn".
      	* ira.h (ira_update_equiv_info_by_shuffle_insn): Likewise for
      	final param.
      	* loop-doloop.c (doloop_optimize): Within region guarded by
      	INSN_P (doloop_pat), introduce a new local rtx_insn *
      	"doloop_insn" via a checked cast, and use it for typesafety,
      	eventually writing the value back into doloop_pat.
      	* output.h (final_sequence): Strengthen this global from rtx to
      	rtx_sequence *.
      	* recog.c (peep2_attempt): Rename param "insn" to "uncast_insn",
      	reintroducing "insn" as an rtx_insn * via a checked cast.
      	Strengthen param "attempt" and local "new_insn"from rtx to
      	rtx_insn *.
      	(peephole2_optimize): Strengthen locals "insn", "attempt" from rtx
      	to rtx_insn *.
      	* ree.c (emit_note_eh_region_end): Likewise for local "insn".
      	* reload1.c (reload_as_needed): Eliminate top-level locals "x" and
      	"p" in favor of more tightly-scoped replacements, sometimes rtx
      	and sometimes rtx_insn *, as appropriate.
      	(delete_output_reload): Eliminate top-level rtx "i1", splitting
      	into two loop-scoped locals, one an rtx, the other an rtx_insn *.
      	* reorg.c (delete_scheduled_jump): Add checked cast.  Strengthen
      	local "trial" from rtx to rtx_insn *.
      	(redirect_with_delay_slots_safe_p): Strengthen param "jump" from
      	rtx to rtx_insn *.  Strenghten local "pat" from rtx to
      	rtx_sequence * and use methods for clarity and typesafety.
      	(redirect_with_delay_list_safe_p): Strengthen param "jump" from
      	rtx to rtx_insn *.  Strenghten local "li" from rtx to
      	rtx_insn_list * and use its methods for clarity and typesafety.
      	(steal_delay_list_from_target): Strengthen param "insn" from rtx
      	to rtx_insn *.
      	(steal_delay_list_from_fallthrough): Likewise.
      	(try_merge_delay_insns): Likewise for param "thread" and locals
      	"trial", "next_trial", "delay_insn".
      	(redundant_insn): Likewise for param "target" and local "trial".
      	(own_thread_p): Likewise for param "thread" and locals
      	"active_insn", "insn".
      	(get_label_before): Likewise for param "insn".
      	(fill_simple_delay_slots): Likewise for local "new_label"; use
      	JUMP_LABEL_AS_INSN as necessary when calling own_thread_p.
      	(label_before_next_insn): Strengthen return type and local "insn"
      	from rtx to rtx_insn *.
      	(relax_delay_slots): Likewise for locals "other", "tmp".
      	(make_return_insns): Likewise for param "first" and locals "insn",
      	"jump_insn", "prev".  Move declaration of "pat" to its assignment
      	and strengthen from rtx to rtx_sequence *.  Use its methods for
      	clarity and typesafety.
      	* rtlanal.c (no_labels_between_p): Strengthen params from
      	const_rtx to const rtx_insn *.  Strengthen local "p" from rtx to
      	rtx_insn *.
      	(reg_used_between_p): Strengthen params "from_insn", "to_insn"
      	from const_rtx to const rtx_insn *.
      	(reg_set_between_p): Rename param "from_insn" to
      	"uncast_from_insn", and reintroduce "from_insn" as a
      	const rtx_insn * via a checked cast.
      	(modified_between_p): Likewise for param "start" as "uncast_start".
      	(tablejump_p): Add a cast when invoking NEXT_INSN on "label".
      	* sel-sched-ir.c (get_seqno_by_preds): Strengthen param and locals
      	"tmp", head" from rtx to rtx_insn *.
      	(recompute_rev_top_order): Likewise for local "insn".
      	* sel-sched-ir.h (get_seqno_by_preds): Likewise for param.
      	* store-motion.c (build_store_vectors): Likewise for local "insn".
      	Strengthen local "st" from rtx to rtx_insn_list * and use methods
      	for clarity and typesafety.
      	* tree-ssa-loop-ivopts.c (seq_cost): Strengthen param "seq" from
      	rtx to rtx_insn *.
      	(computation_cost): Likewise for local "seq".
      	(get_address_cost): Likewise.
      
      /
      2014-08-28  David Malcolm  <dmalcolm@redhat.com>
      
      	* rtx-classes-status.txt (TODO): NEXT_INSN/PREV_INSN are done.
      
      From-SVN: r214698
      David Malcolm committed
    • Work towards NEXT_INSN/PREV_INSN requiring insns as their params · dc01c3d1
      gcc/
      2014-08-28  David Malcolm  <dmalcolm@redhat.com>
      
      	* cfgexpand.c (pass_expand::execute): Strengthen local "after"
      	from rtx to rtx_insn *.
      	* cfgrtl.c (force_nonfallthru_and_redirect): Replace use of local
      	rtx "note" with new local rtx_insn * "new_head" when calculating
      	head insn of new basic block.
      	* combine.c (combine_split_insns): Strengthen return type and local
      	"ret" from rtx to rtx_insn *.
      	(likely_spilled_retval_p): Likewise for locals "use" and "p".
      	(try_combine): Eliminate local "m_split", splitting into new
      	locals "m_split_insn" and "m_split_pat".
      	(find_split_point): Strengthen local "seq" from rtx into
      	rtx_insn *.
      	* config/spu/spu.c (spu_machine_dependent_reorg): Likewise for
      	locals "label", "branch".
      	* config/spu/spu.md (define_expand "smulsi3_highpart"): Likewise
      	for local "insn".
      	(define_expand "umulsi3_highpart"): Likewise for local "insn".
      	* dse.c (note_add_store_info): Likewise for fields "first",
      	"current".
      	(note_add_store): Likewise for local "insn".
      	(emit_inc_dec_insn_before): Likewise for locals "insn",
      	"new_insn", "cur".
      	(find_shift_sequence): Likewise for locals "shift_seq", "insn".
      	(replace_read): Likewise for locals "insns", "this_insn".
      	* dwarf2cfi.c (dw_trace_info): Likewise for field "eh_head".
      	(notice_eh_throw): Likewise for param "insn".
      	(before_next_cfi_note): Likewise for return type, param, and local
      	"prev".
      	(connect_traces): Likewise for local "note".
      	* emit-rtl.c (reset_all_used_flags): Likewise for local "p".
      	(verify_rtl_sharing): Likewise.
      	(unshare_all_rtl_in_chain): Likewise for param "insn".
      	(get_first_nonnote_insn): Likewise for local "insn".
      	(get_last_nonnote_insn): Likewise.  Introduce local rtx_sequence *
      	"seq" and use its methods to clarify things.
      	(next_insn): Strengthen return type from rtx to rtx_insn *.
      	Rename param "insn" to "uncast_insn" and reintroduce "insn" as a
      	local rtx_insn * using a checked cast, dropping a checked cast
      	made redundant by this change.  Use a cast to and method of
      	rtx_sequence to clarify the code.
      	(previous_insn): Rename param "insn" to "uncast_insn" and
      	reintroduce "insn" as a local rtx_insn * using a checked cast,
      	dropping a checked cast made redundant by this change.  Use a cast
      	to and method of rtx_sequence to clarify the code.
      	(next_nonnote_insn): Rename param "insn" to "uncast_insn" and
      	reintroduce "insn" as a local rtx_insn * using a checked cast,
      	dropping a checked cast made redundant by this change.
      	(next_nonnote_insn_bb): Likewise.
      	(prev_nonnote_insn): Likewise.
      	(prev_nonnote_insn_bb): Likewise.
      	(next_nondebug_insn): Likewise.
      	(prev_nondebug_insn): Likewise.
      	(next_nonnote_nondebug_insn): Likewise.
      	(prev_nonnote_nondebug_insn): Likewise.
      	(next_real_insn): Likewise.
      	(prev_real_insn): Likewise.
      	(next_active_insn): Likewise.
      	(prev_active_insn): Likewise.
      	(next_cc0_user): Likewise.  Use rtx_sequence and a method for
      	clarity.
      	(prev_cc0_setter): Likewise.
      	(try_split): Rename param "trial" to "uncast_trial" and
      	reintroduce "insn" as a local rtx_insn * using a checked cast,
      	dropping checked casts made redundant by this change.
      	Strengthen locals "seq", "tem", "insn_last", "insn", "next" from
      	rtx to rtx_insn *.
      	(remove_insn): Rename param "insn" to "uncast_insn" and
      	reintroduce "insn" as a local rtx_insn * using a checked cast.
      	(emit_pattern_after_setloc): Likewise for param "after", as
      	"uncast_after".
      	(emit_pattern_after): Likewise.  Strengthen local "prev" from
      	rtx to rtx_insn *.
      	(emit_pattern_before_setloc): Rename param "before" to
      	"uncast_before" and reintroduce "before" as a local rtx_insn *
      	using a checked cast.  Strengthen locals "first", "last" from
      	rtx to rtx_insn *.
      	(emit_pattern_before): Likewise rename/cast param "before" to
      	"uncast_before". Strengthen local "next" from rtx to rtx_insn *.
      	* except.c (copy_reg_eh_region_note_forward): Strengthen param
      	"first" and local "insn" from rtx to rtx_insn *.
      	(copy_reg_eh_region_note_backward): Likewise for param "last"
      	and local "insn".
      	* expr.c (fixup_args_size_notes): Rename param "last" to
      	"uncast_last" and reintroduce "last" as a local rtx_insn *
      	using a checked cast.  Strengthen local "insn" from rtx to
      	rtx_insn *.
      	* function.c (set_insn_locations): Strengthen param "insn" from
      	rtx to rtx_insn *.
      	(record_insns): Likewise for param "insns" and local "tmp".
      	(active_insn_between): Rename param "tail" to
      	"uncast_tail" and reintroduce "tail" as a local rtx_insn *
      	using a checked cast.
      	(thread_prologue_and_epilogue_insns): Split out top-level local
      	rtx "seq" into three different rtx_insn * locals.  Strengthen
      	local "prologue_seq" from rtx to rtx_insn *.
      	* gcse.c (insert_insn_end_basic_block): Strenghen local "insn"
      	from rtx to rtx_insn *.
      	* haifa-sched.c (initiate_bb_reg_pressure_info): Likewise.
      	(priority): Likewise for locals "prev_first", "twin".
      	(setup_insn_max_reg_pressure): Likewise for param "after".
      	(sched_setup_bb_reg_pressure_info): Likewise.
      	(no_real_insns_p): Strengthen params from const_rtx to
      	const rtx_insn *.
      	(schedule_block): Strengthen local "next_tail" from rtx to
      	rtx_insn *.
      	* ifcvt.c (find_active_insn_before): Strengthen return type and
      	param "insn" from rtx to rtx_insn *.
      	(find_active_insn_after): Likewise.
      	(cond_exec_process_insns): Likewise for param "start" and local "insn".
      	(cond_exec_process_if_block): Likewise for locals "then_start",
      	"then_end", "else_start", "else_end", "insn", "start", "end", "from".
      	(noce_process_if_block): Likewise for local "jump".
      	(merge_if_block): Likewise for two locals named "end".
      	(cond_exec_find_if_block): Likewise for local "last_insn".
      	* jump.c (delete_related_insns): Rename param "insn" to
      	"uncast_insn" and reintroduce "insn" as a local rtx_insn * using a
      	checked cast.  Strengthen local "p" from rtx to rtx_insn *.
      	* lra-constraints.c (inherit_reload_reg): Replace NULL_RTX with
      	NULL.
      	(split_reg): Likewise.
      	* lra.c (lra_process_new_insns): Likewise.
      	* modulo-sched.c (permute_partial_schedule): Strengthen param
      	"last" from rtx to rtx_insn *.
      	* optabs.c (add_equal_note): Likewise for param "insns" and local
      	"last_insn".
      	(expand_binop_directly): Add checked casts to rtx_insn * within
      	NEXT_INSN (pat) uses.
      	(expand_unop_direct): Likewise.
      	(maybe_emit_unop_insn): Likewise.
      	* recog.c (peep2_attempt): Strengthen locals "last",
      	"before_try", "x" from rtx to rtx_insn *.
      	* reorg.c (optimize_skip): Strengthen return type and local
      	"delay_list" from rtx to rtx_insn_list *.  Strengthen param "insn"
      	and locals "trial", "next_trial" from rtx to rtx_insn *.
      	* resource.c (next_insn_no_annul): Strengthen return type and
      	param "insn" from rtx to rtx_insn *.  Use a cast to and method of
      	rtx_sequence to clarify the code.
      	(mark_referenced_resources): Add a checked cast to rtx_insn *
      	within PREV_INSN (x).
      	(find_dead_or_set_registers): Strengthen return type, param
      	"target", locals "insn", "next", "jump_insn", "this_jump_insn"
      	from rtx to rtx_insn *.  Strengthen param "jump_target" from rtx *
      	to rtx_insn **.
      	(mark_target_live_regs): Strengthen params "insns" and "target",
      	locals "insn", "jump_target", "start_insn", "stop_insn" from rtx
      	to rtx_insn *.  Use cast to and method of rtx_sequence to clarify
      	the code.
      	* resource.h (mark_target_live_regs): Strengthen params 1 and 2
      	from rtx to rtx_insn *.
      	* rtl.h (copy_reg_eh_region_note_forward): Strengthen second param
      	from rtx to rtx_insn *.
      	(copy_reg_eh_region_note_backward): Likewise.
      	(unshare_all_rtl_in_chain): Likewise for sole param.
      	(dump_rtl_slim): Strengthen second and third params from const_rtx
      	to const rtx_insn *.
      	* sched-deps.c (sched_free_deps): Strengthen params "head" and
      	"tail" and locals "insn", "next_tail" from rtx to rtx_insn *.
      	* sched-ebb.c (init_ready_list): Strengthen locals "prev_head",
      	"next_tail" from rtx to rtx_insn *.
      	(begin_move_insn): Likewise for local "next".
      	* sched-int.h (sched_free_deps): Likewise for first and second
      	params.
      	(no_real_insns_p): Strengthen both params from const_rtx to
      	const rtx_insn *.
      	(sched_setup_bb_reg_pressure_info): Strengthen second params from
      	rtx to rtx_insn *.
      	* sched-rgn.c (init_ready_list): Likewise for locals "prev_head",
      	"next_tail".
      	* sched-vis.c (dump_rtl_slim): Strengthen params "first", "last"
      	and locals "insn", "tail" from const_rtx to const rtx_insn *.
      	(rtl_dump_bb_for_graph): Strengthen local "insn" from rtx to
      	rtx_insn *.
      	(debug_rtl_slim): Strengthen params "first" and "last" from
      	const_rtx to const rtx_insn *.
      	* shrink-wrap.c (try_shrink_wrapping): Strengthen param
      	"prologue_seq" and locals "seq", "p_insn" from rtx to rtx_insn *.
      	(convert_to_simple_return): Likewise for param "returnjump".
      	* shrink-wrap.h (try_shrink_wrapping): Likewise for param
      	"prologue_seq".
      	(convert_to_simple_return): Likewise for param "returnjump".
      	* valtrack.c (propagate_for_debug): Likewise for params
      	"insn", "last".
      	* valtrack.h (propagate_for_debug): Likewise for second param.
      
      From-SVN: r214693
      David Malcolm committed
    • Use rtx subclasses in more places in reorg.c · f8f0516e
      gcc/
      2014-08-28  David Malcolm  <dmalcolm@redhat.com>
      
      	* emit-rtl.h (copy_delay_slot_insn): Strengthen return type and
      	param from rtx to rtx_insn *.
      
      	* emit-rtl.c (copy_delay_slot_insn): Likewise.
      
      	* reorg.c (skip_consecutive_labels): Strengthen return type, param
      	and local "insn" from rtx to rtx_insn *.
      	(unfilled_slots_base): Strengthen type from rtx * to rtx_insn **.
      	(unfilled_slots_next): Likewise.
      	(function_return_label): Strengthen from rtx to rtx_code_label *.
      	(function_simple_return_label): Likewise.
      	(first_active_target_insn): Strengthen return type and param from
      	rtx to rtx_insn *.
      	(find_end_label): Strengthen return type from rtx to
      	rtx_code_label *; strengthen locals as appropriate.
      	(emit_delay_sequence): Strengthen return type, param "insn" and
      	local "seq_insn" from rtx to rtx_insn *.  Strengthen param "list"
      	and local "li" from rtx to rtx_insn_list *, using methods of
      	rtx_insn_list for clarity and typesafety.
      	(add_to_delay_list): Strengthen return type and param "insn" from
      	rtx to rtx_insn *.  Strengthen param "delay_list" from rtx to
      	rtx_insn_list * and use methods of rtx_insn_list.
      	(delete_from_delay_slot): Strengthen return type, param "insn",
      	locals "trial", "seq_insn", "prev" from rtx to rtx_insn *.
      	Strengthen local "seq" from rtx to rtx_sequence *, and local
      	"delay_list" from rtx to rtx_insn_list *, using methods of
      	rtx_sequence for clarity and type-safety.
      	(delete_scheduled_jump): Add checked cast when invoking
      	delete_from_delay_slot.  Strengthen local "trial" from rtx to
      	rtx_insn *.
      	(optimize_skip): Strengthen return type and local "delay_list"
      	from rtx to rtx_insn_list *.  Strengthen local "trial" from rtx to
      	rtx_insn *.
      	(steal_delay_list_from_target): Strengthen return type, param
      	"delay_list" and local "new_delay_list" from rtx to
      	rtx_insn_list *.  Strengthen param "seq" from rtx to
      	rtx_sequence *.  Strengthen param "pnew_thread" from rtx * to
      	rtx_insn **.
      	Split out local "temp" into multiple more-tightly scoped locals:
      	sometimes an rtx_insn_list *, and once a rtx_insn *.  Use methods
      	of rtx_insn_list and rtx_sequence for clarity and typesafety.
      	Strengthen locals named "trial" from rtx to rtx_insn *.
      	(steal_delay_list_from_fallthrough): Strengthen return type and
      	param "delay_list" from rtx to rtx_insn_list *.  Strengthen param
      	"seq" from rtx to rtx_sequence *.  Use methods of rtx_sequence.
      	Strengthen local "trial" from rtx to rtx_insn *.
      	(try_merge_delay_insns): Strength local "merged_insns" from rtx
      	to rtx_insn_list * and use its methods.  Strengthen local "pat"
      	from rtx to rtx_sequence * and use its methods.  Strengthen locals
      	"dtrial" and "new_rtx" from rtx to rtx_insn *.
      	(get_label_before): Strengthen return type and local "label" from
      	rtx to rtx_insn *.
      	(fill_simple_delay_slots): Likewise for locals "insn", "trial",
      	"next_trial", "next", prev".  Strengthen local "delay_list" from
      	rtx to rtx_insn_list *  Strengthen local "tmp" from rtx * to
      	rtx_insn **.
      	(follow_jumps): Strengthen return type, param "label" and locals
      	"insn", "next", "value", "this_label" from rtx to rtx_insn *.
      	(fill_slots_from_thread): Strengthen return type, param
      	"delay_list" from rtx to rtx_insn_list *.  Strengthen params
      	"insn", "thread", "opposite_thread" and locals "new_thread",
      	"trial", "temp", "ninsn" from rtx to rtx_insn *.  Introduce local
      	"sequence" from a checked cast to rtx_sequence so that we can call
      	steal_delay_list_from_target and steal_delay_list_from_fallthrough
      	with an rtx_sequence *.
      	(fill_eager_delay_slots): Strengthen locals "insn", "target_label",
      	"insn_at_target", "fallthrough_insn" from rtx to rtx_insn *.
      	Strengthen local "delay_list" from rtx to rtx_insn_list *.
      	(relax_delay_slots): Strengthen param "first" and locals "insn",
      	"next", "trial", "delay_insn", "target_label" from rtx to
      	rtx_insn *.  Strengthen local "pat" from rtx to rtx_sequence *.
      	Introduce a local "trial_seq" for PATTERN (trial) of type
      	rtx_sequence *, in both cases using methods of rtx_sequence.
      	(dbr_schedule): Strengthen param "first" and locals "insn",
      	"next", "epilogue_insn" from rtx to rtx_insn *.
      
      From-SVN: r214684
      David Malcolm committed
  24. 27 Aug, 2014 1 commit
    • reorg.c: Use rtx_sequence · 9e3090e1
      gcc/
      2014-08-27  David Malcolm  <dmalcolm@redhat.com>
      
      	* reorg.c (redundant_insn): In two places in the function, replace
      	a check of GET_CODE with a dyn_cast, introducing local "seq", and
      	usings methods of rtx_sequence to clarify the code.
      
      From-SVN: r214597
      David Malcolm committed
  25. 19 Aug, 2014 1 commit
    • Split NEXT_INSN/PREV_INSN into lvalue and rvalue forms · 0f82e5c9
      /
      2014-08-19  David Malcolm  <dmalcolm@redhat.com>
      
      	* rtx-classes-status.txt: Add SET_NEXT_INSN, SET_PREV_INSN.
      
      gcc/
      2014-08-19  David Malcolm  <dmalcolm@redhat.com>
      
      	* rtl.h (PREV_INSN): Split macro in two: the existing one,
      	for rvalues, and...
      	(SET_PREV_INSN): New macro, for use as an lvalue.
      	(NEXT_INSN, SET_NEXT_INSN): Likewise.
      
      	* caller-save.c (save_call_clobbered_regs): Convert lvalue use of
      	PREV_INSN/NEXT_INSN into SET_PREV_INSN/SET_NEXT_INSN.
      	* cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
      	(fixup_abnormal_edges): Likewise.
      	(unlink_insn_chain): Likewise.
      	(fixup_reorder_chain): Likewise.
      	(cfg_layout_delete_block): Likewise.
      	(cfg_layout_merge_blocks): Likewise.
      	* combine.c (update_cfg_for_uncondjump): Likewise.
      	* emit-rtl.c (link_insn_into_chain): Likewise.
      	(remove_insn): Likewise.
      	(delete_insns_since): Likewise.
      	(reorder_insns_nobb): Likewise.
      	(emit_insn_after_1): Likewise.
      	* final.c (rest_of_clean_state): Likewise.
      	(final_scan_insn): Likewise.
      	* gcse.c (can_assign_to_reg_without_clobbers_p): Likewise.
      	* haifa-sched.c (concat_note_lists): Likewise.
      	(remove_notes): Likewise.
      	(restore_other_notes): Likewise.
      	(move_insn): Likewise.
      	(unlink_bb_notes): Likewise.
      	(restore_bb_notes): Likewise.
      	* jump.c (delete_for_peephole): Likewise.
      	* optabs.c (emit_libcall_block_1): Likewise.
      	* reorg.c (emit_delay_sequence): Likewise.
      	(fill_simple_delay_slots): Likewise.
      	* sel-sched-ir.c (sel_move_insn): Likewise.
      	(sel_remove_insn): Likewise.
      	(get_bb_note_from_pool): Likewise.
      	* sel-sched.c (move_nop_to_previous_block): Likewise.
      
      	* config/bfin/bfin.c (reorder_var_tracking_notes): Likewise.
      	* config/c6x/c6x.c (gen_one_bundle): Likewise.
      	(c6x_gen_bundles): Likewise.
      	(hwloop_optimize): Likewise.
      	* config/frv/frv.c (frv_function_prologue): Likewise.
      	(frv_register_nop): Likewise.
      	* config/ia64/ia64.c (ia64_init_dfa_pre_cycle_insn): Likewise.
      	(ia64_reorg): Likewise.
      	* config/mep/mep.c (mep_reorg_addcombine): Likewise.
      	(mep_make_bundle): Likewise.
      	(mep_bundle_insns): Likewise.
      	* config/picochip/picochip.c (reorder_var_tracking_notes): Likewise.
      	* config/tilegx/tilegx.c (reorder_var_tracking_notes): Likewise.
      	* config/tilepro/tilepro.c (reorder_var_tracking_notes): Likewise.
      
      From-SVN: r214128
      David Malcolm committed
  26. 09 Jul, 2014 1 commit
    • remove has_execute · 558d2559
      gcc/
      
      	* tree-pass.h (pass_data): Remove has_execute member.
      	* passes.c (execute_one_pass): Don't check pass->has_execute.
      	* asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
      	cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
      	compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
      	config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
      	config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
      	config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
      	config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
      	dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
      	gimple-low.c, gimple-ssa-isolate-paths.c,
      	gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
      	ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
      	ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
      	ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
      	lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
      	postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
      	reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
      	stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
      	tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
      	tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
      	tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
      	tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
      	tree-sra.c, tree-ssa-ccp.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-ch.c, tree-ssa-loop-im.c,
      	tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
      	tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
      	tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
      	tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
      	tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
      	tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
      	tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
      	tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
      	web.c: Remove initializer for pass_data::has_execute.
      
      From-SVN: r212383
      Trevor Saunders committed
  27. 19 May, 2014 1 commit
    • reg-notes.def (CROSSING_JUMP): Likewise. · 339ba33b
      gcc/
      	* reg-notes.def (CROSSING_JUMP): Likewise.
      	* rtl.h (rtx_def): Update comment for jump flag.
      	(CROSSING_JUMP_P): Define.
      	* cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead
      	of a REG_CROSSING_JUMP note.
      	* cfghooks.c (tidy_fallthru_edges): Likewise.
      	* cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise.
      	* emit-rtl.c (try_split): Likewise.
      	* haifa-sched.c (sched_create_recovery_edges): Likewise.
      	* ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
      	* jump.c (redirect_jump_2): Likewise.
      	* reorg.c (follow_jumps, fill_slots_from_thread): Likewise.
      	(relax_delay_slots): Likewise.
      	* config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise.
      	(bbit_di): Likewise.
      	* config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise.
      	* config/sh/sh.md (jump_compact): Likewise.
      	* bb-reorder.c (rotate_loop): Likewise.
      	(pass_duplicate_computed_gotos::execute): Likewise.
      	(add_reg_crossing_jump_notes): Rename to...
      	(update_crossing_jump_flags): ...this.
      	(pass_partition_blocks::execute): Update accordingly.
      
      From-SVN: r210603
      Richard Sandiford committed
  28. 17 Apr, 2014 3 commits
    • pass cfun to pass::execute · be55bfe6
      gcc/
      	* passes.c (opt_pass::execute): Adjust.
      	(pass_manager::execute_pass_mode_switching): Likewise.
      	(early_local_passes::execute): Likewise.
      	(execute_one_pass): Pass cfun to the pass's execute method.
      	* tree-pass.h (opt_pass::execute): Add function * argument.
      	* asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
      	cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
      	compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
      	config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
      	config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
      	config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c,
      	except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c,
      	gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
      	graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
      	ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c,
      	ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c,
      	lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c,
      	postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c,
      	reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c,
      	store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
      	tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
      	tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
      	tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.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-ch.c, tree-ssa-loop-im.c,
      	tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
      	tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
      	tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
      	tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
      	tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
      	tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
      	tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
      	tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
      	Adjust.
      
      From-SVN: r209482
      Trevor Saunders committed
    • pass current function to opt_pass::gate () · 1a3d085c
      gcc/
      	* passes.c (opt_pass::gate): Take function * argument.
      	(gate_all_early_local_passes): Merge into
      	(early_local_passes::gate): this.
      	(gate_all_early_optimizations): Merge into
      	(all_early_optimizations::gate): this.
      	(gate_all_optimizations): Mege into
      	(all_optimizations::gate): this.
      	(gate_all_optimizations_g): Merge into
      	(all_optimizations_g::gate): this.
      	(gate_rest_of_compilation): Mege into
      	(rest_of_compilation::gate): this.
      	(gate_postreload): Merge into
      	(postreload::gate): this.
      	(dump_one_pass): Pass cfun to the pass's gate method.
      	(execute_ipa_summary_passes): Likewise.
      	(execute_one_pass): Likewise.
      	(ipa_write_summaries_2): Likewise.
      	(ipa_write_optimization_summaries_1): Likewise.
      	(ipa_read_summaries_1): Likewise.
      	(ipa_read_optimization_summaries_1): Likewise.
      	(execute_ipa_stmt_fixups): Likewise.
      	* tree-pass.h (opt_pass::gate): Add function * argument.
      	* asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
      	combine-stack-adj.c, combine.c, compare-elim.c,
      	config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
      	config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc,
      	config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c,
      	dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c,  fwprop.c, gcse.c,
      	gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
      	graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
      	ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
      	loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c,
      	omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
      	reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c,
      	store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
      	tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
      	tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c,
      	tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
      	tree-sra.c, tree-ssa-ccp.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-ch.c, tree-ssa-loop-im.c,
      	tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
      	tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
      	tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
      	tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
      	tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
      	tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
      	tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c,
      	var-tracking.c, vtable-verify.c, web.c: Adjust.
      
      gcc/testsuite/
      	* g++.dg/plugin/dumb_plugin.c, g++.dg/plugin/selfasign.c,
      	gcc.dg/plugin/one_time_plugin.c, gcc.dg/plugin/selfasign.c: Adjust.
      
      From-SVN: r209481
      Trevor Saunders committed
    • remove has_gate · 0481253d
      gcc/
      	* passes.c (dump_one_pass): don't check pass->has_gate.
      	(execute_ipa_summary_passes): Likewise.
      	(execute_one_pass): Likewise.
      	(ipa_write_summaries_2): Likewise.
      	(ipa_write_optimization_summaries_1): Likewise.
      	(ipa_read_optimization_summaries_1): Likewise.
      	(execute_ipa_stmt_fixups): Likewise.
      	* tree-pass.h (pass_data::has_gate): Remove.
      	* asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
      	cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
      	compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
      	config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
      	config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
      	config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
      	config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
      	dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
      	gimple-low.c, gimple-ssa-isolate-paths.c,
      	gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
      	ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
      	ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
      	ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
      	modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
      	recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
      	reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
      	trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
      	tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
      	tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
      	tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
      	tree-sra.c, tree-ssa-ccp.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-ch.c, tree-ssa-loop-im.c,
      	tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
      	tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
      	tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
      	tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
      	tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
      	tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
      	tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
      	tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
      	Adjust.
      
      gcc/testsuite/
      	* g++.dg/plugin/dumb_plugin.c, g++.dg/plugin/selfassign.c,
      	gcc.dg/plugin/one_time_plugin.c, gcc.dg/plugin/selfassign.c: Adjust.
      
      From-SVN: r209479
      Trevor Saunders committed