summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog345
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/alias.c5
-rw-r--r--gcc/asan.c13
-rw-r--r--gcc/auto-inc-dec.c14
-rw-r--r--gcc/auto-profile.c13
-rw-r--r--gcc/basic-block.h67
-rw-r--r--gcc/bb-reorder.c8
-rw-r--r--gcc/bt-load.c7
-rw-r--r--gcc/builtins.c15
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/c-family/c-gimplify.c8
-rw-r--r--gcc/c/ChangeLog4
-rw-r--r--gcc/c/c-typeck.c9
-rw-r--r--gcc/caller-save.c11
-rw-r--r--gcc/calls.c15
-rw-r--r--gcc/cfg.c12
-rw-r--r--gcc/cfg.h52
-rw-r--r--gcc/cfganal.c13
-rw-r--r--gcc/cfgbuild.c14
-rw-r--r--gcc/cfgcleanup.c8
-rw-r--r--gcc/cfgexpand.c11
-rw-r--r--gcc/cfghooks.c11
-rw-r--r--gcc/cfgloop.c4
-rw-r--r--gcc/cfgloopanal.c9
-rw-r--r--gcc/cfgloopmanip.c11
-rw-r--r--gcc/cfgrtl.c17
-rw-r--r--gcc/cgraph.c19
-rw-r--r--gcc/cgraph.h16
-rw-r--r--gcc/cgraphbuild.c10
-rw-r--r--gcc/cgraphclones.c1
-rw-r--r--gcc/cgraphunit.c15
-rw-r--r--gcc/combine-stack-adj.c4
-rw-r--r--gcc/combine.c11
-rw-r--r--gcc/compare-elim.c11
-rw-r--r--gcc/config/aarch64/aarch64-builtins.c14
-rw-r--r--gcc/config/aarch64/aarch64.c10
-rw-r--r--gcc/config/alpha/alpha.c8
-rw-r--r--gcc/config/arc/arc.c9
-rw-r--r--gcc/config/arm/arm.c9
-rw-r--r--gcc/config/avr/avr.c9
-rw-r--r--gcc/config/bfin/bfin.c10
-rw-r--r--gcc/config/c6x/c6x.c9
-rw-r--r--gcc/config/cr16/cr16.c8
-rw-r--r--gcc/config/cris/cris.c9
-rw-r--r--gcc/config/darwin-c.c9
-rw-r--r--gcc/config/darwin.c10
-rw-r--r--gcc/config/epiphany/epiphany.c9
-rw-r--r--gcc/config/epiphany/mode-switch-use.c9
-rw-r--r--gcc/config/epiphany/resolve-sw-modes.c16
-rw-r--r--gcc/config/fr30/fr30.c9
-rw-r--r--gcc/config/frv/frv.c8
-rw-r--r--gcc/config/h8300/h8300.c9
-rw-r--r--gcc/config/i386/i386.c9
-rw-r--r--gcc/config/i386/winnt.c13
-rw-r--r--gcc/config/ia64/ia64.c9
-rw-r--r--gcc/config/iq2000/iq2000.c9
-rw-r--r--gcc/config/lm32/lm32.c20
-rw-r--r--gcc/config/m32c/m32c.c8
-rw-r--r--gcc/config/m32r/m32r.c9
-rw-r--r--gcc/config/m68k/m68k.c9
-rw-r--r--gcc/config/mcore/mcore.c9
-rw-r--r--gcc/config/mep/mep.c10
-rw-r--r--gcc/config/microblaze/microblaze.c9
-rw-r--r--gcc/config/mips/mips.c10
-rw-r--r--gcc/config/mmix/mmix.c18
-rw-r--r--gcc/config/mn10300/mn10300.c9
-rw-r--r--gcc/config/moxie/moxie.c9
-rw-r--r--gcc/config/msp430/msp430.c9
-rw-r--r--gcc/config/nds32/nds32-cost.c9
-rw-r--r--gcc/config/nds32/nds32-fp-as-gp.c9
-rw-r--r--gcc/config/nds32/nds32-intrinsic.c9
-rw-r--r--gcc/config/nds32/nds32-isr.c9
-rw-r--r--gcc/config/nds32/nds32-md-auxiliary.c9
-rw-r--r--gcc/config/nds32/nds32-memory-manipulation.c9
-rw-r--r--gcc/config/nds32/nds32-pipelines-auxiliary.c9
-rw-r--r--gcc/config/nds32/nds32-predicates.c9
-rw-r--r--gcc/config/nds32/nds32.c9
-rw-r--r--gcc/config/nios2/nios2.c8
-rw-r--r--gcc/config/pa/pa.c8
-rw-r--r--gcc/config/pdp11/pdp11.c9
-rw-r--r--gcc/config/rl78/rl78.c9
-rw-r--r--gcc/config/rs6000/rs6000.c9
-rw-r--r--gcc/config/rx/rx.c9
-rw-r--r--gcc/config/s390/s390.c9
-rw-r--r--gcc/config/sh/sh-mem.cc14
-rw-r--r--gcc/config/sh/sh.c8
-rw-r--r--gcc/config/sh/sh_optimize_sett_clrt.cc15
-rw-r--r--gcc/config/sh/sh_treg_combine.cc15
-rw-r--r--gcc/config/sparc/sparc.c8
-rw-r--r--gcc/config/spu/spu.c12
-rw-r--r--gcc/config/stormy16/stormy16.c8
-rw-r--r--gcc/config/tilegx/tilegx.c10
-rw-r--r--gcc/config/tilepro/tilepro.c10
-rw-r--r--gcc/config/v850/v850.c9
-rw-r--r--gcc/config/vax/vax.c9
-rw-r--r--gcc/config/xtensa/xtensa.c20
-rw-r--r--gcc/coverage.c3
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/cp-gimplify.c9
-rw-r--r--gcc/cprop.c11
-rw-r--r--gcc/cse.c16
-rw-r--r--gcc/cselib.c2
-rw-r--r--gcc/data-streamer-in.c9
-rw-r--r--gcc/data-streamer-out.c9
-rw-r--r--gcc/data-streamer.c9
-rw-r--r--gcc/dce.c7
-rw-r--r--gcc/ddg.c3
-rw-r--r--gcc/ddg.h4
-rw-r--r--gcc/df-core.c4
-rw-r--r--gcc/df-problems.c4
-rw-r--r--gcc/df-scan.c3
-rw-r--r--gcc/df.h10
-rw-r--r--gcc/dojump.c1
-rw-r--r--gcc/dominance.c10
-rw-r--r--gcc/domwalk.c11
-rw-r--r--gcc/dse.c5
-rw-r--r--gcc/dwarf2cfi.c2
-rw-r--r--gcc/emit-rtl.c12
-rw-r--r--gcc/et-forest.c10
-rw-r--r--gcc/except.c5
-rw-r--r--gcc/expmed.c2
-rw-r--r--gcc/expr.c3
-rw-r--r--gcc/final.c4
-rw-r--r--gcc/fold-const.c8
-rw-r--r--gcc/function.c7
-rw-r--r--gcc/fwprop.c12
-rw-r--r--gcc/gcc-plugin.h9
-rw-r--r--gcc/gcse.c11
-rw-r--r--gcc/genconditions.c2
-rw-r--r--gcc/genemit.c2
-rw-r--r--gcc/generic-match-head.c6
-rw-r--r--gcc/gengtype.c4
-rw-r--r--gcc/genpreds.c2
-rw-r--r--gcc/genrecog.c2
-rw-r--r--gcc/ggc-page.c1
-rw-r--r--gcc/gimple-builder.c9
-rw-r--r--gcc/gimple-expr.c8
-rw-r--r--gcc/gimple-fold.c2
-rw-r--r--gcc/gimple-iterator.c10
-rw-r--r--gcc/gimple-low.c15
-rw-r--r--gcc/gimple-match-head.c6
-rw-r--r--gcc/gimple-pretty-print.c7
-rw-r--r--gcc/gimple-ssa-isolate-paths.c11
-rw-r--r--gcc/gimple-ssa-strength-reduction.c11
-rw-r--r--gcc/gimple-streamer-in.c11
-rw-r--r--gcc/gimple-streamer-out.c9
-rw-r--r--gcc/gimple-streamer.h1
-rw-r--r--gcc/gimple-walk.c8
-rw-r--r--gcc/gimple.c9
-rw-r--r--gcc/gimplify-me.c9
-rw-r--r--gcc/gimplify.c8
-rw-r--r--gcc/go/ChangeLog5
-rw-r--r--gcc/go/go-gcc.cc9
-rw-r--r--gcc/go/go-lang.c9
-rw-r--r--gcc/graph.c12
-rw-r--r--gcc/graphite-blocking.c10
-rw-r--r--gcc/graphite-clast-to-gimple.c11
-rw-r--r--gcc/graphite-dependences.c11
-rw-r--r--gcc/graphite-interchange.c11
-rw-r--r--gcc/graphite-isl-ast-to-gimple.c11
-rw-r--r--gcc/graphite-optimize-isl.c11
-rw-r--r--gcc/graphite-poly.c11
-rw-r--r--gcc/graphite-scop-detection.c11
-rw-r--r--gcc/graphite-sese-to-poly.c11
-rw-r--r--gcc/graphite.c11
-rw-r--r--gcc/haifa-sched.c6
-rw-r--r--gcc/hw-doloop.c10
-rw-r--r--gcc/ifcvt.c6
-rw-r--r--gcc/init-regs.c10
-rw-r--r--gcc/internal-fn.c12
-rw-r--r--gcc/ipa-cp.c2
-rw-r--r--gcc/ipa-devirt.c2
-rw-r--r--gcc/ipa-icf-gimple.c9
-rw-r--r--gcc/ipa-icf.c11
-rw-r--r--gcc/ipa-inline-analysis.c11
-rw-r--r--gcc/ipa-inline.c8
-rw-r--r--gcc/ipa-polymorphic-call.c2
-rw-r--r--gcc/ipa-profile.c4
-rw-r--r--gcc/ipa-prop.c11
-rw-r--r--gcc/ipa-pure-const.c12
-rw-r--r--gcc/ipa-reference.c8
-rw-r--r--gcc/ipa-split.c12
-rw-r--r--gcc/ipa-utils.c10
-rw-r--r--gcc/ipa.c2
-rw-r--r--gcc/ira-build.c9
-rw-r--r--gcc/ira-color.c9
-rw-r--r--gcc/ira-conflicts.c7
-rw-r--r--gcc/ira-costs.c9
-rw-r--r--gcc/ira-emit.c11
-rw-r--r--gcc/ira-lives.c7
-rw-r--r--gcc/ira.c18
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/java-gimplify.c9
-rw-r--r--gcc/jump.c5
-rw-r--r--gcc/lcm.c11
-rw-r--r--gcc/loop-doloop.c12
-rw-r--r--gcc/loop-init.c11
-rw-r--r--gcc/loop-invariant.c16
-rw-r--r--gcc/loop-iv.c9
-rw-r--r--gcc/loop-unroll.c10
-rw-r--r--gcc/lower-subreg.c11
-rw-r--r--gcc/lra-assigns.c3
-rw-r--r--gcc/lra-coalesce.c3
-rw-r--r--gcc/lra-constraints.c4
-rw-r--r--gcc/lra-eliminations.c3
-rw-r--r--gcc/lra-lives.c4
-rw-r--r--gcc/lra-spills.c4
-rw-r--r--gcc/lra.c5
-rw-r--r--gcc/lto-cgraph.c15
-rw-r--r--gcc/lto-compress.c9
-rw-r--r--gcc/lto-opts.c10
-rw-r--r--gcc/lto-section-in.c15
-rw-r--r--gcc/lto-section-out.c15
-rw-r--r--gcc/lto-streamer-in.c13
-rw-r--r--gcc/lto-streamer-out.c11
-rw-r--r--gcc/lto-streamer.c8
-rw-r--r--gcc/lto/ChangeLog8
-rw-r--r--gcc/lto/lto-lang.c8
-rw-r--r--gcc/lto/lto-object.c10
-rw-r--r--gcc/lto/lto-partition.c10
-rw-r--r--gcc/lto/lto-symtab.c10
-rw-r--r--gcc/lto/lto.c2
-rw-r--r--gcc/mcf.c11
-rw-r--r--gcc/mode-switching.c13
-rw-r--r--gcc/modulo-sched.c8
-rw-r--r--gcc/omp-low.c18
-rw-r--r--gcc/optabs.c3
-rw-r--r--gcc/opts-global.c10
-rw-r--r--gcc/passes.c2
-rw-r--r--gcc/postreload-gcse.c8
-rw-r--r--gcc/postreload.c6
-rw-r--r--gcc/predict.c15
-rw-r--r--gcc/print-rtl.c7
-rw-r--r--gcc/profile.c4
-rw-r--r--gcc/recog.c6
-rw-r--r--gcc/ree.c10
-rw-r--r--gcc/reg-stack.c7
-rw-r--r--gcc/regcprop.c9
-rw-r--r--gcc/regcprop.h2
-rw-r--r--gcc/reginfo.c11
-rw-r--r--gcc/regrename.c12
-rw-r--r--gcc/regstat.c9
-rw-r--r--gcc/reload.c4
-rw-r--r--gcc/reload1.c5
-rw-r--r--gcc/reorg.c3
-rw-r--r--gcc/resource.c4
-rw-r--r--gcc/rtlanal.c2
-rw-r--r--gcc/sched-deps.c5
-rw-r--r--gcc/sched-ebb.c6
-rw-r--r--gcc/sched-int.h1
-rw-r--r--gcc/sched-rgn.c5
-rw-r--r--gcc/sched-vis.c10
-rw-r--r--gcc/sel-sched-dump.c5
-rw-r--r--gcc/sel-sched-ir.c7
-rw-r--r--gcc/sel-sched-ir.h1
-rw-r--r--gcc/sel-sched.c5
-rw-r--r--gcc/sese.c11
-rw-r--r--gcc/shrink-wrap.c4
-rw-r--r--gcc/stack-ptr-mod.c10
-rw-r--r--gcc/stmt.c1
-rw-r--r--gcc/store-motion.c11
-rw-r--r--gcc/symtab.c1
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/plugin/ggcplug.c3
-rw-r--r--gcc/toplev.c2
-rw-r--r--gcc/tracer.c10
-rw-r--r--gcc/trans-mem.c20
-rw-r--r--gcc/tree-affine.c9
-rw-r--r--gcc/tree-call-cdce.c10
-rw-r--r--gcc/tree-cfg.c10
-rw-r--r--gcc/tree-cfgcleanup.c13
-rw-r--r--gcc/tree-chrec.c11
-rw-r--r--gcc/tree-complex.c10
-rw-r--r--gcc/tree-data-ref.c11
-rw-r--r--gcc/tree-dfa.c11
-rw-r--r--gcc/tree-eh.c5
-rw-r--r--gcc/tree-emutls.c11
-rw-r--r--gcc/tree-if-conv.c10
-rw-r--r--gcc/tree-inline.c14
-rw-r--r--gcc/tree-into-ssa.c8
-rw-r--r--gcc/tree-loop-distribution.c12
-rw-r--r--gcc/tree-nested.c1
-rw-r--r--gcc/tree-nrv.c3
-rw-r--r--gcc/tree-object-size.c10
-rw-r--r--gcc/tree-outof-ssa.c12
-rw-r--r--gcc/tree-parloops.c11
-rw-r--r--gcc/tree-phinodes.c8
-rw-r--r--gcc/tree-predcom.c10
-rw-r--r--gcc/tree-pretty-print.c2
-rw-r--r--gcc/tree-profile.c3
-rw-r--r--gcc/tree-scalar-evolution.c11
-rw-r--r--gcc/tree-sra.c10
-rw-r--r--gcc/tree-ssa-address.c8
-rw-r--r--gcc/tree-ssa-alias.c12
-rw-r--r--gcc/tree-ssa-ccp.c7
-rw-r--r--gcc/tree-ssa-coalesce.c10
-rw-r--r--gcc/tree-ssa-copy.c7
-rw-r--r--gcc/tree-ssa-copyrename.c17
-rw-r--r--gcc/tree-ssa-dce.c11
-rw-r--r--gcc/tree-ssa-dom.c12
-rw-r--r--gcc/tree-ssa-dse.c10
-rw-r--r--gcc/tree-ssa-forwprop.c11
-rw-r--r--gcc/tree-ssa-ifcombine.c11
-rw-r--r--gcc/tree-ssa-live.c10
-rw-r--r--gcc/tree-ssa-loop-ch.c10
-rw-r--r--gcc/tree-ssa-loop-im.c11
-rw-r--r--gcc/tree-ssa-loop-ivcanon.c10
-rw-r--r--gcc/tree-ssa-loop-ivopts.c10
-rw-r--r--gcc/tree-ssa-loop-manip.c11
-rw-r--r--gcc/tree-ssa-loop-niter.c11
-rw-r--r--gcc/tree-ssa-loop-prefetch.c11
-rw-r--r--gcc/tree-ssa-loop-unswitch.c10
-rw-r--r--gcc/tree-ssa-loop.c10
-rw-r--r--gcc/tree-ssa-math-opts.c10
-rw-r--r--gcc/tree-ssa-operands.c1
-rw-r--r--gcc/tree-ssa-phiopt.c12
-rw-r--r--gcc/tree-ssa-phiprop.c10
-rw-r--r--gcc/tree-ssa-pre.c11
-rw-r--r--gcc/tree-ssa-propagate.c7
-rw-r--r--gcc/tree-ssa-reassoc.c11
-rw-r--r--gcc/tree-ssa-sccvn.c11
-rw-r--r--gcc/tree-ssa-sink.c12
-rw-r--r--gcc/tree-ssa-strlen.c11
-rw-r--r--gcc/tree-ssa-structalias.c17
-rw-r--r--gcc/tree-ssa-tail-merge.c11
-rw-r--r--gcc/tree-ssa-ter.c10
-rw-r--r--gcc/tree-ssa-threadedge.c8
-rw-r--r--gcc/tree-ssa-threadupdate.c8
-rw-r--r--gcc/tree-ssa-uncprop.c8
-rw-r--r--gcc/tree-ssa-uninit.c7
-rw-r--r--gcc/tree-ssa.c7
-rw-r--r--gcc/tree-ssanames.c8
-rw-r--r--gcc/tree-stdarg.c3
-rw-r--r--gcc/tree-streamer-in.c9
-rw-r--r--gcc/tree-streamer-out.c8
-rw-r--r--gcc/tree-streamer.c9
-rw-r--r--gcc/tree-switch-conversion.c11
-rw-r--r--gcc/tree-tailcall.c7
-rw-r--r--gcc/tree-vect-data-refs.c10
-rw-r--r--gcc/tree-vect-generic.c10
-rw-r--r--gcc/tree-vect-loop-manip.c11
-rw-r--r--gcc/tree-vect-loop.c11
-rw-r--r--gcc/tree-vect-patterns.c9
-rw-r--r--gcc/tree-vect-slp.c8
-rw-r--r--gcc/tree-vect-stmts.c10
-rw-r--r--gcc/tree-vectorizer.c10
-rw-r--r--gcc/tree-vrp.c11
-rw-r--r--gcc/tree.c3
-rw-r--r--gcc/tsan.c17
-rw-r--r--gcc/ubsan.c5
-rw-r--r--gcc/valtrack.c2
-rw-r--r--gcc/valtrack.h1
-rw-r--r--gcc/value-prof.c10
-rw-r--r--gcc/var-tracking.c13
-rw-r--r--gcc/varasm.c5
-rw-r--r--gcc/varpool.c2
-rw-r--r--gcc/vtable-verify.c11
-rw-r--r--gcc/web.c9
359 files changed, 3178 insertions, 389 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 320361c8df1..2c8b4655380 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,348 @@
+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.
+
2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Comment out.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index d22da136245..e2100ffe2e6 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2256,7 +2256,7 @@ GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
$(srcdir)/libfuncs.h $(SYMTAB_H) \
$(srcdir)/real.h $(srcdir)/function.h $(srcdir)/insn-addr.h $(srcdir)/hwint.h \
$(srcdir)/fixed-value.h \
- $(srcdir)/output.h $(srcdir)/cfgloop.h \
+ $(srcdir)/output.h $(srcdir)/cfgloop.h $(srcdir)/cfg.h \
$(srcdir)/cselib.h $(srcdir)/basic-block.h $(srcdir)/ipa-ref.h $(srcdir)/cgraph.h \
$(srcdir)/reload.h $(srcdir)/caller-save.c $(srcdir)/symtab.c \
$(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c $(srcdir)/cgraph.c \
diff --git a/gcc/alias.c b/gcc/alias.c
index 30454c3210b..ea7a5a6bb15 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -45,6 +45,11 @@ along with GCC; see the file COPYING3. If not see
#include "timevar.h"
#include "dumpfile.h"
#include "target.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/asan.c b/gcc/asan.c
index 97f0b4cd61c..d50e9e00141 100644
--- a/gcc/asan.c
+++ b/gcc/asan.c
@@ -24,6 +24,18 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tree.h"
#include "hash-table.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -53,7 +65,6 @@ along with GCC; see the file COPYING3. If not see
#include "cfgloop.h"
#include "gimple-builder.h"
#include "ubsan.h"
-#include "predict.h"
#include "params.h"
#include "builtins.h"
diff --git a/gcc/auto-inc-dec.c b/gcc/auto-inc-dec.c
index 6690b19e8b5..39000726038 100644
--- a/gcc/auto-inc-dec.c
+++ b/gcc/auto-inc-dec.c
@@ -26,16 +26,20 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "tm_p.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "insn-config.h"
-#include "regs.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
+#include "insn-config.h"
+#include "regs.h"
+#include "flags.h"
#include "except.h"
#include "diagnostic-core.h"
#include "recog.h"
diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c
index 9838c233856..acc94469e30 100644
--- a/gcc/auto-profile.c
+++ b/gcc/auto-profile.c
@@ -29,10 +29,20 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "tree-pass.h"
#include "flags.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "diagnostic-core.h"
#include "gcov-io.h"
-#include "input.h"
#include "profile.h"
#include "langhooks.h"
#include "opts.h"
@@ -57,7 +67,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-inline.h"
#include "stringpool.h"
#include "auto-profile.h"
-#include "vec.h"
/* The following routines implements AutoFDO optimization.
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 7731c79952e..57324215faf 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -20,22 +20,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_BASIC_BLOCK_H
#define GCC_BASIC_BLOCK_H
-#include "predict.h"
-#include "vec.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "machmode.h"
-#include "tm.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
-#include "cfgrtl.h"
-#include "cfg.h"
-#include "cfganal.h"
-#include "lcm.h"
-#include "cfgbuild.h"
-#include "cfgcleanup.h"
-#include "dominance.h"
/* Use gcov_type to hold basic block counters. Should be at least
64bit. Although a counter cannot be negative, we use a signed
@@ -220,57 +204,6 @@ enum cfg_bb_flags
#define BB_COPY_PARTITION(dstbb, srcbb) \
BB_SET_PARTITION (dstbb, BB_PARTITION (srcbb))
-/* What sort of profiling information we have. */
-enum profile_status_d
-{
- PROFILE_ABSENT,
- PROFILE_GUESSED,
- PROFILE_READ,
- PROFILE_LAST /* Last value, used by profile streaming. */
-};
-
-/* A structure to group all the per-function control flow graph data.
- The x_* prefixing is necessary because otherwise references to the
- fields of this struct are interpreted as the defines for backward
- source compatibility following the definition of this struct. */
-struct GTY(()) control_flow_graph {
- /* Block pointers for the exit and entry of a function.
- These are always the head and tail of the basic block list. */
- basic_block x_entry_block_ptr;
- basic_block x_exit_block_ptr;
-
- /* Index by basic block number, get basic block struct info. */
- vec<basic_block, va_gc> *x_basic_block_info;
-
- /* Number of basic blocks in this flow graph. */
- int x_n_basic_blocks;
-
- /* Number of edges in this flow graph. */
- int x_n_edges;
-
- /* The first free basic block number. */
- int x_last_basic_block;
-
- /* UIDs for LABEL_DECLs. */
- int last_label_uid;
-
- /* Mapping of labels to their associated blocks. At present
- only used for the gimple CFG. */
- vec<basic_block, va_gc> *x_label_to_block_map;
-
- enum profile_status_d x_profile_status;
-
- /* Whether the dominators and the postdominators are available. */
- enum dom_state x_dom_computed[2];
-
- /* Number of basic blocks in the dominance tree. */
- unsigned x_n_bbs_in_dom_tree[2];
-
- /* Maximal number of entities in the single jumptable. Used to estimate
- final flowgraph size. */
- int max_jumptable_ents;
-};
-
/* Defines for accessing the fields of the CFG structure for function FN. */
#define ENTRY_BLOCK_PTR_FOR_FN(FN) ((FN)->cfg->x_entry_block_ptr)
#define EXIT_BLOCK_PTR_FOR_FN(FN) ((FN)->cfg->x_exit_block_ptr)
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 813b75385c0..d29a95160d2 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -103,6 +103,14 @@
#include "diagnostic-core.h"
#include "toplev.h" /* user_defined_section_attribute */
#include "tree-pass.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "bb-reorder.h"
#include "cgraph.h"
diff --git a/gcc/bt-load.c b/gcc/bt-load.c
index 053310c12d3..906d9e6feba 100644
--- a/gcc/bt-load.c
+++ b/gcc/bt-load.c
@@ -41,6 +41,13 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "tree-pass.h"
#include "recog.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "cfgloop.h"
#include "rtl-iter.h"
diff --git a/gcc/builtins.c b/gcc/builtins.c
index e47b936df55..6eeb3d9f815 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -30,6 +30,14 @@ along with GCC; see the file COPYING3. If not see
#include "varasm.h"
#include "tree-object-size.h"
#include "realmpfr.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -38,13 +46,7 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "flags.h"
#include "regs.h"
-#include "hard-reg-set.h"
#include "except.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "input.h"
-#include "function.h"
#include "insn-config.h"
#include "expr.h"
#include "optabs.h"
@@ -52,7 +54,6 @@ along with GCC; see the file COPYING3. If not see
#include "recog.h"
#include "output.h"
#include "typeclass.h"
-#include "predict.h"
#include "tm_p.h"
#include "target.h"
#include "langhooks.h"
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 9735625eee1..d76a7cb7ea0 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-27 Andrew MacLeod <amacleod@redhat.com>
+
+ * c-gimplify.c: Adjust include files.
+
2014-10-26 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/53061
diff --git a/gcc/c-family/c-gimplify.c b/gcc/c-family/c-gimplify.c
index 2c08124d71c..065553607cf 100644
--- a/gcc/c-family/c-gimplify.c
+++ b/gcc/c-family/c-gimplify.c
@@ -29,6 +29,14 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "c-common.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 35d9ceed23b..8eeb02bbb7a 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-27 Andrew MacLeod <amacleod@redhat.com>
+
+ * c-typeck.c: Adjust include files.
+
2014-10-26 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/53061
diff --git a/gcc/c/c-typeck.c b/gcc/c/c-typeck.c
index ee874daf758..115c16a446e 100644
--- a/gcc/c/c-typeck.c
+++ b/gcc/c/c-typeck.c
@@ -40,7 +40,14 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "tree-iterator.h"
#include "bitmap.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "gimple-expr.h"
#include "gimplify.h"
#include "tree-inline.h"
diff --git a/gcc/caller-save.c b/gcc/caller-save.c
index 8d38eabf701..9af885fcb9f 100644
--- a/gcc/caller-save.c
+++ b/gcc/caller-save.c
@@ -27,15 +27,18 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "hard-reg-set.h"
#include "recog.h"
-#include "basic-block.h"
-#include "df.h"
-#include "reload.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
+#include "df.h"
+#include "reload.h"
#include "expr.h"
#include "diagnostic-core.h"
#include "tm_p.h"
diff --git a/gcc/calls.c b/gcc/calls.c
index 219eb921a64..0aebff5e304 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -27,6 +27,14 @@ along with GCC; see the file COPYING3. If not see
#include "varasm.h"
#include "stringpool.h"
#include "attribs.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -37,13 +45,6 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "optabs.h"
#include "libfuncs.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "regs.h"
#include "diagnostic-core.h"
#include "output.h"
diff --git a/gcc/cfg.c b/gcc/cfg.c
index 6070d9ed220..158c3182d62 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -54,6 +54,18 @@ along with GCC; see the file COPYING3. If not see
#include "hash-table.h"
#include "alloc-pool.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "df.h"
#include "cfgloop.h" /* FIXME: For struct loop. */
diff --git a/gcc/cfg.h b/gcc/cfg.h
index 11935d10b84..a43a32c36a9 100644
--- a/gcc/cfg.h
+++ b/gcc/cfg.h
@@ -20,6 +20,58 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_CFG_H
#define GCC_CFG_H
+/* What sort of profiling information we have. */
+enum profile_status_d
+{
+ PROFILE_ABSENT,
+ PROFILE_GUESSED,
+ PROFILE_READ,
+ PROFILE_LAST /* Last value, used by profile streaming. */
+};
+
+/* A structure to group all the per-function control flow graph data.
+ The x_* prefixing is necessary because otherwise references to the
+ fields of this struct are interpreted as the defines for backward
+ source compatibility following the definition of this struct. */
+struct GTY(()) control_flow_graph {
+ /* Block pointers for the exit and entry of a function.
+ These are always the head and tail of the basic block list. */
+ basic_block x_entry_block_ptr;
+ basic_block x_exit_block_ptr;
+
+ /* Index by basic block number, get basic block struct info. */
+ vec<basic_block, va_gc> *x_basic_block_info;
+
+ /* Number of basic blocks in this flow graph. */
+ int x_n_basic_blocks;
+
+ /* Number of edges in this flow graph. */
+ int x_n_edges;
+
+ /* The first free basic block number. */
+ int x_last_basic_block;
+
+ /* UIDs for LABEL_DECLs. */
+ int last_label_uid;
+
+ /* Mapping of labels to their associated blocks. At present
+ only used for the gimple CFG. */
+ vec<basic_block, va_gc> *x_label_to_block_map;
+
+ enum profile_status_d x_profile_status;
+
+ /* Whether the dominators and the postdominators are available. */
+ enum dom_state x_dom_computed[2];
+
+ /* Number of basic blocks in the dominance tree. */
+ unsigned x_n_bbs_in_dom_tree[2];
+
+ /* Maximal number of entities in the single jumptable. Used to estimate
+ final flowgraph size. */
+ int max_jumptable_ents;
+};
+
+
extern void init_flow (struct function *);
extern void clear_edges (void);
extern basic_block alloc_block (void);
diff --git a/gcc/cfganal.c b/gcc/cfganal.c
index 4118857608a..c6a90593779 100644
--- a/gcc/cfganal.c
+++ b/gcc/cfganal.c
@@ -22,8 +22,19 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "basic-block.h"
+#include "predict.h"
#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
#include "bitmap.h"
#include "sbitmap.h"
#include "timevar.h"
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index e1ce1191534..8732bf9e2df 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -25,15 +25,21 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "rtl.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "regs.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "basic-block.h"
+#include "regs.h"
+#include "flags.h"
#include "except.h"
#include "expr.h"
#include "diagnostic-core.h"
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index f4f5aa13c1b..2ea0126a49f 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -55,6 +55,14 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "cfgloop.h"
#include "expr.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "dce.h"
#include "dbgcnt.h"
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 5200053ffa1..5580ea815cf 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -30,13 +30,20 @@ along with GCC; see the file COPYING3. If not see
#include "stmt.h"
#include "print-tree.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "expr.h"
#include "langhooks.h"
#include "bitmap.h"
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 09c7f6d6fe2..a0cdbfc02da 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -25,6 +25,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "rtl.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa.h"
#include "timevar.h"
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index 3cb2241a7dd..3c7c00ca455 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -29,6 +29,10 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "cfgloop.h"
#include "diagnostic-core.h"
diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c
index 006b4197028..a2722cb3e60 100644
--- a/gcc/cfgloopanal.c
+++ b/gcc/cfgloopanal.c
@@ -24,6 +24,15 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "hard-reg-set.h"
#include "obstack.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "cfgloop.h"
#include "expr.h"
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c
index 83a0d517f00..8ea957f56e9 100644
--- a/gcc/cfgloopmanip.c
+++ b/gcc/cfgloopmanip.c
@@ -22,6 +22,17 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "cfgloop.h"
#include "tree.h"
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 2070b034873..3263fae8005 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -43,16 +43,23 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "bb-reorder.h"
-#include "regs.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
+#include "bb-reorder.h"
+#include "regs.h"
+#include "flags.h"
#include "except.h"
#include "rtl-error.h"
#include "tm_p.h"
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index e6af33dcb4c..9a47ba24e53 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -39,6 +39,10 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "debug.h"
#include "target.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "intl.h"
#include "tree-ssa-alias.h"
@@ -239,6 +243,21 @@ cgraph_node::record_function_versions (tree decl1, tree decl2)
after->prev = before;
}
+/* Allocate new callgraph node and insert it into basic data structures. */
+
+cgraph_node *
+symbol_table::create_empty (void)
+{
+ cgraph_node *node = allocate_cgraph_symbol ();
+
+ node->type = SYMTAB_FUNCTION;
+ node->frequency = NODE_FREQUENCY_NORMAL;
+ node->count_materialization_scale = REG_BR_PROB_BASE;
+ cgraph_count++;
+
+ return node;
+}
+
/* Register HOOK to be called with DATA on each removed edge. */
cgraph_edge_hook_list *
symbol_table::add_edge_removal_hook (cgraph_edge_hook hook, void *data)
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index be1f10e4165..377adce517e 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see
#include "is-a.h"
#include "plugin-api.h"
#include "vec.h"
-#include "basic-block.h"
#include "hashtab.h"
#include "hash-set.h"
#include "machmode.h"
@@ -2278,21 +2277,6 @@ symbol_table::unregister (symtab_node *node)
node->previous = NULL;
}
-/* Allocate new callgraph node and insert it into basic data structures. */
-
-inline cgraph_node *
-symbol_table::create_empty (void)
-{
- cgraph_node *node = allocate_cgraph_symbol ();
-
- node->type = SYMTAB_FUNCTION;
- node->frequency = NODE_FREQUENCY_NORMAL;
- node->count_materialization_scale = REG_BR_PROB_BASE;
- cgraph_count++;
-
- return node;
-}
-
/* Release a callgraph NODE with UID and put in to the list of free nodes. */
inline void
diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c
index 96d7015b75e..2dc10a60eff 100644
--- a/gcc/cgraphbuild.c
+++ b/gcc/cgraphbuild.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
index 0c4d86ff517..a1ae50f44cb 100644
--- a/gcc/cgraphclones.c
+++ b/gcc/cgraphclones.c
@@ -79,6 +79,7 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "emit-rtl.h"
+#include "predict.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index e84c70089c1..3e76bf0a68d 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -167,6 +167,14 @@ along with GCC; see the file COPYING3. If not see
#include "stringpool.h"
#include "output.h"
#include "rtl.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -191,13 +199,6 @@ along with GCC; see the file COPYING3. If not see
#include "params.h"
#include "fibheap.h"
#include "intl.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "ipa-prop.h"
#include "tree-iterator.h"
#include "tree-pass.h"
diff --git a/gcc/combine-stack-adj.c b/gcc/combine-stack-adj.c
index 493a00775ea..fa3ec992898 100644
--- a/gcc/combine-stack-adj.c
+++ b/gcc/combine-stack-adj.c
@@ -56,6 +56,10 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "df.h"
#include "except.h"
diff --git a/gcc/combine.c b/gcc/combine.c
index 15e6833c003..a0e10d3c341 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -86,14 +86,19 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "regs.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "insn-config.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
+#include "insn-config.h"
/* Include expr.h after insn-config.h so we get HAVE_conditional_move. */
#include "expr.h"
#include "insn-attr.h"
diff --git a/gcc/compare-elim.c b/gcc/compare-elim.c
index 7e12e36896e..494b1dc0d9f 100644
--- a/gcc/compare-elim.c
+++ b/gcc/compare-elim.c
@@ -63,6 +63,17 @@ along with GCC; see the file COPYING3. If not see
#include "insn-config.h"
#include "recog.h"
#include "flags.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "tree-pass.h"
#include "target.h"
diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c
index cdcdf2d9143..9652f1487e4 100644
--- a/gcc/config/aarch64/aarch64-builtins.c
+++ b/gcc/config/aarch64/aarch64-builtins.c
@@ -36,6 +36,20 @@
#include "hash-table.h"
#include "vec.h"
#include "ggc.h"
+#include "predict.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 1dfaba60d9b..407026a6d22 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -31,6 +31,15 @@
#include "calls.h"
#include "varasm.h"
#include "regs.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "hard-reg-set.h"
#include "output.h"
@@ -52,7 +61,6 @@
#include "langhooks.h"
#include "diagnostic-core.h"
#include "hash-table.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 260ec8d4384..1bead209be3 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -57,6 +57,14 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "splay-tree.h"
#include "hash-table.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index 9b6cb0c66d4..8bfebfdce94 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -66,6 +66,15 @@ along with GCC; see the file COPYING3. If not see
#include "optabs.h"
#include "tm-constrs.h"
#include "reload.h" /* For operands_match_p */
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tree-pass.h"
#include "context.h"
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 40473d00660..d25a52d35da 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -50,6 +50,15 @@
#include "optabs.h"
#include "diagnostic-core.h"
#include "recog.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "ggc.h"
#include "except.h"
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 38fce723f38..37c45512515 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -56,6 +56,15 @@
#include "target.h"
#include "target-def.h"
#include "params.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "builtins.h"
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index f91913fe0a7..74313af11eb 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -49,6 +49,15 @@
#include "recog.h"
#include "optabs.h"
#include "ggc.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "langhooks.h"
#include "bfin-protos.h"
@@ -56,7 +65,6 @@
#include "tm-preds.h"
#include "tm-constrs.h"
#include "gt-bfin.h"
-#include "basic-block.h"
#include "timevar.h"
#include "df.h"
#include "sel-sched.h"
diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c
index 370b5a3f76d..ca563f89a37 100644
--- a/gcc/config/c6x/c6x.c
+++ b/gcc/config/c6x/c6x.c
@@ -38,6 +38,15 @@
#include "optabs.h"
#include "recog.h"
#include "ggc.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "timevar.h"
#include "tm_p.h"
diff --git a/gcc/config/cr16/cr16.c b/gcc/config/cr16/cr16.c
index 2a007d53143..29284106ab8 100644
--- a/gcc/config/cr16/cr16.c
+++ b/gcc/config/cr16/cr16.c
@@ -46,6 +46,14 @@
#include "expr.h"
#include "optabs.h"
#include "diagnostic-core.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "target.h"
#include "target-def.h"
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 6d2501823f2..19e281ef150 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -53,6 +53,15 @@ along with GCC; see the file COPYING3. If not see
#include "target-def.h"
#include "ggc.h"
#include "optabs.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "opts.h"
#include "cgraph.h"
diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c
index f3d7aa521de..3460c54d9af 100644
--- a/gcc/config/darwin-c.c
+++ b/gcc/config/darwin-c.c
@@ -36,6 +36,15 @@ along with GCC; see the file COPYING3. If not see
#include "prefix.h"
#include "c-family/c-target.h"
#include "c-family/c-target-def.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "../../libcpp/internal.h"
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index e8e9412df16..c9dfd87d99b 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -49,11 +49,19 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "diagnostic-core.h"
#include "toplev.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "debug.h"
#include "obstack.h"
#include "hash-table.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/epiphany/epiphany.c b/gcc/config/epiphany/epiphany.c
index b9ef5865019..3e01c2d4561 100644
--- a/gcc/config/epiphany/epiphany.c
+++ b/gcc/config/epiphany/epiphany.c
@@ -48,6 +48,15 @@ along with GCC; see the file COPYING3. If not see
#include "toplev.h"
#include "tm_p.h"
#include "target.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "langhooks.h"
#include "insn-codes.h"
diff --git a/gcc/config/epiphany/mode-switch-use.c b/gcc/config/epiphany/mode-switch-use.c
index 75c843addb6..5b0c900b310 100644
--- a/gcc/config/epiphany/mode-switch-use.c
+++ b/gcc/config/epiphany/mode-switch-use.c
@@ -37,6 +37,15 @@ along with GCC; see the file COPYING3. If not see
#include "insn-config.h"
#include "recog.h"
#include "tm_p.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#ifndef TARGET_INSERT_MODE_SWITCH_USE
diff --git a/gcc/config/epiphany/resolve-sw-modes.c b/gcc/config/epiphany/resolve-sw-modes.c
index 53df7b2d136..9b6862df8ea 100644
--- a/gcc/config/epiphany/resolve-sw-modes.c
+++ b/gcc/config/epiphany/resolve-sw-modes.c
@@ -27,6 +27,18 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "vec.h"
#include "sbitmap.h"
+#include "predict.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "df.h"
#include "rtl.h"
@@ -34,10 +46,6 @@ along with GCC; see the file COPYING3. If not see
#include "insn-codes.h"
#include "emit-rtl.h"
#include "recog.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "input.h"
-#include "function.h"
#include "insn-attr-common.h"
#include "tree-pass.h"
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c
index 4dbec231ae4..f11c0c8eb74 100644
--- a/gcc/config/fr30/fr30.c
+++ b/gcc/config/fr30/fr30.c
@@ -45,6 +45,15 @@
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "diagnostic-core.h"
#include "tm_p.h"
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index e2cfb12c60a..e3a22e83e35 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -47,6 +47,14 @@ along with GCC; see the file COPYING3. If not see
#include "function.h"
#include "optabs.h"
#include "diagnostic-core.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tm_p.h"
#include "ggc.h"
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index a83f3def80a..62a6c48d2f5 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -52,6 +52,15 @@ along with GCC; see the file COPYING3. If not see
#include "ggc.h"
#include "target.h"
#include "target-def.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "builtins.h"
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index ec3e056a3d2..5b48f6a119c 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -49,6 +49,14 @@ along with GCC; see the file COPYING3. If not see
#include "optabs.h"
#include "diagnostic-core.h"
#include "toplev.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "ggc.h"
#include "target.h"
@@ -58,7 +66,6 @@ along with GCC; see the file COPYING3. If not see
#include "reload.h"
#include "cgraph.h"
#include "hash-table.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c
index f1153d10102..288cbde0ed0 100644
--- a/gcc/config/i386/winnt.c
+++ b/gcc/config/i386/winnt.c
@@ -39,6 +39,19 @@ along with GCC; see the file COPYING3. If not see
#include "except.h"
#include "hash-table.h"
#include "vec.h"
+#include "predict.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 4f11395dc24..275bcd8946b 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -47,6 +47,14 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "ggc.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "libfuncs.h"
#include "diagnostic-core.h"
@@ -58,7 +66,6 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "hash-table.h"
#include "langhooks.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c
index 8b7c043f31b..b04ffe544c4 100644
--- a/gcc/config/iq2000/iq2000.c
+++ b/gcc/config/iq2000/iq2000.c
@@ -51,6 +51,15 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "target-def.h"
#include "langhooks.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "builtins.h"
diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c
index 51714ecd640..78e1c1d4a3f 100644
--- a/gcc/config/lm32/lm32.c
+++ b/gcc/config/lm32/lm32.c
@@ -26,6 +26,20 @@
#include "rtl.h"
#include "regs.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "insn-config.h"
#include "conditions.h"
@@ -40,12 +54,6 @@
#include "flags.h"
#include "reload.h"
#include "tm_p.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "input.h"
-#include "function.h"
#include "diagnostic-core.h"
#include "optabs.h"
#include "libfuncs.h"
diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c
index d4a87889e71..8217a90b2a7 100644
--- a/gcc/config/m32c/m32c.c
+++ b/gcc/config/m32c/m32c.c
@@ -54,6 +54,14 @@
#include "tm_p.h"
#include "langhooks.h"
#include "hash-table.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index a78f5c2ff5f..4cf61ebbd3f 100644
--- a/gcc/config/m32r/m32r.c
+++ b/gcc/config/m32r/m32r.c
@@ -45,6 +45,15 @@
#include "recog.h"
#include "diagnostic-core.h"
#include "ggc.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "target.h"
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 717c50e1463..7a990e7e28c 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -47,6 +47,15 @@ along with GCC; see the file COPYING3. If not see
#include "target-def.h"
#include "debug.h"
#include "flags.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
/* ??? Need to add a dependency between m68k.o and sched-int.h. */
#include "sched-int.h"
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index 2a8b74c88d3..185f1eeaed8 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -50,6 +50,15 @@
#include "diagnostic-core.h"
#include "target.h"
#include "target-def.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "builtins.h"
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index 838f88b89b1..5d6b07a86a0 100644
--- a/gcc/config/mep/mep.c
+++ b/gcc/config/mep/mep.c
@@ -55,9 +55,17 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "target-def.h"
#include "langhooks.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "hash-table.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
index a3ed72d1c3c..4549ee9da65 100644
--- a/gcc/config/microblaze/microblaze.c
+++ b/gcc/config/microblaze/microblaze.c
@@ -51,6 +51,15 @@
#include "target-def.h"
#include "tm_p.h"
#include "gstab.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "optabs.h"
#include "diagnostic-core.h"
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index fc16a409d81..2f9d2da70f3 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -58,8 +58,16 @@ along with GCC; see the file COPYING3. If not see
#include "target-def.h"
#include "common/common-target.h"
#include "langhooks.h"
-#include "sched-int.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
#include "basic-block.h"
+#include "sched-int.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index db297aa7e7f..6d3099d3d58 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -28,17 +28,25 @@ along with GCC; see the file COPYING3. If not see
#include "hashtab.h"
#include "insn-config.h"
#include "output.h"
+#include "predict.h"
+#include "vec.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "flags.h"
#include "tree.h"
#include "varasm.h"
#include "stor-layout.h"
#include "calls.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "input.h"
-#include "function.h"
#include "expr.h"
#include "diagnostic-core.h"
#include "recog.h"
diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c
index a6018d289a4..b240fc1a151 100644
--- a/gcc/config/mn10300/mn10300.c
+++ b/gcc/config/mn10300/mn10300.c
@@ -50,6 +50,15 @@
#include "tm-constrs.h"
#include "target.h"
#include "target-def.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "opts.h"
#include "cfgloop.h"
diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c
index 037c578f9ac..fdaa05fbdee 100644
--- a/gcc/config/moxie/moxie.c
+++ b/gcc/config/moxie/moxie.c
@@ -53,6 +53,15 @@
#include "target-def.h"
#include "tm_p.h"
#include "langhooks.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "builtins.h"
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
index 43ac5df77a2..594967bce2c 100644
--- a/gcc/config/msp430/msp430.c
+++ b/gcc/config/msp430/msp430.c
@@ -46,6 +46,15 @@
#include "diagnostic-core.h"
#include "toplev.h"
#include "reload.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "ggc.h"
#include "tm_p.h"
diff --git a/gcc/config/nds32/nds32-cost.c b/gcc/config/nds32/nds32-cost.c
index 70e6ae11153..0116dc32028 100644
--- a/gcc/config/nds32/nds32-cost.c
+++ b/gcc/config/nds32/nds32-cost.c
@@ -47,6 +47,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32-fp-as-gp.c b/gcc/config/nds32/nds32-fp-as-gp.c
index e2cdcfcd232..f68a8e32760 100644
--- a/gcc/config/nds32/nds32-fp-as-gp.c
+++ b/gcc/config/nds32/nds32-fp-as-gp.c
@@ -47,6 +47,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32-intrinsic.c b/gcc/config/nds32/nds32-intrinsic.c
index 163a16a524e..12fe1ce658b 100644
--- a/gcc/config/nds32/nds32-intrinsic.c
+++ b/gcc/config/nds32/nds32-intrinsic.c
@@ -47,6 +47,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32-isr.c b/gcc/config/nds32/nds32-isr.c
index ff8746282b5..ba8c4126a0d 100644
--- a/gcc/config/nds32/nds32-isr.c
+++ b/gcc/config/nds32/nds32-isr.c
@@ -47,6 +47,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32-md-auxiliary.c b/gcc/config/nds32/nds32-md-auxiliary.c
index d0bcea18728..0d5a2d959ea 100644
--- a/gcc/config/nds32/nds32-md-auxiliary.c
+++ b/gcc/config/nds32/nds32-md-auxiliary.c
@@ -48,6 +48,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32-memory-manipulation.c b/gcc/config/nds32/nds32-memory-manipulation.c
index 842c1fb21dc..b2c45552a24 100644
--- a/gcc/config/nds32/nds32-memory-manipulation.c
+++ b/gcc/config/nds32/nds32-memory-manipulation.c
@@ -48,6 +48,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32-pipelines-auxiliary.c b/gcc/config/nds32/nds32-pipelines-auxiliary.c
index 3080d486aad..23fc7f06ce0 100644
--- a/gcc/config/nds32/nds32-pipelines-auxiliary.c
+++ b/gcc/config/nds32/nds32-pipelines-auxiliary.c
@@ -48,6 +48,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32-predicates.c b/gcc/config/nds32/nds32-predicates.c
index c0576212e7d..79c663b874b 100644
--- a/gcc/config/nds32/nds32-predicates.c
+++ b/gcc/config/nds32/nds32-predicates.c
@@ -47,6 +47,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index 28de0a6744a..3c98e7243f3 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -47,6 +47,15 @@
#include "expr.h"
#include "recog.h"
#include "diagnostic-core.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tm_p.h"
#include "tm-constrs.h"
diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c
index 86f3319dcc3..c5e6cc6473a 100644
--- a/gcc/config/nios2/nios2.c
+++ b/gcc/config/nios2/nios2.c
@@ -43,6 +43,14 @@
#include "input.h"
#include "function.h"
#include "ggc.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "diagnostic-core.h"
#include "toplev.h"
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 79d52888519..9ab6f234b84 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -55,6 +55,14 @@ along with GCC; see the file COPYING3. If not see
#include "common/common-target.h"
#include "target-def.h"
#include "langhooks.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "df.h"
#include "opts.h"
#include "builtins.h"
diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c
index 88dbc67cd89..fd4cb746c9e 100644
--- a/gcc/config/pdp11/pdp11.c
+++ b/gcc/config/pdp11/pdp11.c
@@ -46,6 +46,15 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "target.h"
#include "target-def.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "opts.h"
#include "dbxout.h"
diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c
index f2419ba6226..fe054052928 100644
--- a/gcc/config/rl78/rl78.c
+++ b/gcc/config/rl78/rl78.c
@@ -47,6 +47,15 @@
#include "diagnostic-core.h"
#include "toplev.h"
#include "reload.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "ggc.h"
#include "tm_p.h"
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index a5e5bcf1fef..281e7c95d6c 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -48,6 +48,14 @@
#include "function.h"
#include "output.h"
#include "dbxout.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "diagnostic-core.h"
#include "toplev.h"
@@ -61,7 +69,6 @@
#include "cfgloop.h"
#include "sched-int.h"
#include "hash-table.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c
index 969e11d5281..56a4b1407b1 100644
--- a/gcc/config/rx/rx.c
+++ b/gcc/config/rx/rx.c
@@ -51,6 +51,15 @@
#include "diagnostic-core.h"
#include "toplev.h"
#include "reload.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "ggc.h"
#include "tm_p.h"
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 76b0731176c..1b108055354 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -50,6 +50,14 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "reload.h"
#include "diagnostic-core.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "ggc.h"
#include "target.h"
@@ -58,7 +66,6 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "optabs.h"
#include "hash-table.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/sh/sh-mem.cc b/gcc/config/sh/sh-mem.cc
index 56898d6167c..34a33c1e66f 100644
--- a/gcc/config/sh/sh-mem.cc
+++ b/gcc/config/sh/sh-mem.cc
@@ -26,6 +26,20 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "expr.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
/* Like force_operand, but guarantees that VALUE ends up in TARGET. */
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 2b1f98bba49..1662b55c2db 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -55,6 +55,14 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "target-def.h"
#include "langhooks.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "df.h"
#include "intl.h"
diff --git a/gcc/config/sh/sh_optimize_sett_clrt.cc b/gcc/config/sh/sh_optimize_sett_clrt.cc
index c39df3fbeeb..bc1f82fd792 100644
--- a/gcc/config/sh/sh_optimize_sett_clrt.cc
+++ b/gcc/config/sh/sh_optimize_sett_clrt.cc
@@ -21,6 +21,21 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "machmode.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "df.h"
#include "rtl.h"
diff --git a/gcc/config/sh/sh_treg_combine.cc b/gcc/config/sh/sh_treg_combine.cc
index 5ad7013a429..72ec577ec30 100644
--- a/gcc/config/sh/sh_treg_combine.cc
+++ b/gcc/config/sh/sh_treg_combine.cc
@@ -22,6 +22,21 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "machmode.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "df.h"
#include "rtl.h"
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 7f51dc870d9..c44a6651323 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -56,6 +56,14 @@ along with GCC; see the file COPYING3. If not see
#include "target-def.h"
#include "common/common-target.h"
#include "hash-table.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index bf15631d171..56186360cae 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -42,6 +42,14 @@
#include "input.h"
#include "function.h"
#include "output.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "diagnostic-core.h"
#include "ggc.h"
@@ -62,10 +70,10 @@
#include "gimple.h"
#include "gimplify.h"
#include "tm-constrs.h"
-#include "ddg.h"
#include "sbitmap.h"
-#include "timevar.h"
#include "df.h"
+#include "ddg.h"
+#include "timevar.h"
#include "dumpfile.h"
#include "cfgloop.h"
#include "builtins.h"
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c
index 67d5396c0f3..ebd539eacf8 100644
--- a/gcc/config/stormy16/stormy16.c
+++ b/gcc/config/stormy16/stormy16.c
@@ -54,6 +54,14 @@
#include "langhooks.h"
#include "hash-table.h"
#include "ggc.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/config/tilegx/tilegx.c b/gcc/config/tilegx/tilegx.c
index 40b6fa252bf..ca9a91a34ac 100644
--- a/gcc/config/tilegx/tilegx.c
+++ b/gcc/config/tilegx/tilegx.c
@@ -31,6 +31,15 @@
#include "expr.h"
#include "langhooks.h"
#include "optabs.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "tm_p.h"
#include "tm-constrs.h"
@@ -48,7 +57,6 @@
#include "tree.h"
#include "hash-table.h"
#include "ggc.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/tilepro/tilepro.c b/gcc/config/tilepro/tilepro.c
index 2054d7a63fa..b9f4fa7a852 100644
--- a/gcc/config/tilepro/tilepro.c
+++ b/gcc/config/tilepro/tilepro.c
@@ -31,6 +31,15 @@
#include "expr.h"
#include "langhooks.h"
#include "optabs.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "sel-sched.h"
#include "tm_p.h"
@@ -49,7 +58,6 @@
#include "tree.h"
#include "hash-table.h"
#include "ggc.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index c8e86b16ea8..45d511c9266 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -48,6 +48,15 @@
#include "tm_p.h"
#include "target.h"
#include "target-def.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "opts.h"
#include "builtins.h"
diff --git a/gcc/config/vax/vax.c b/gcc/config/vax/vax.c
index ab259b5b9fb..628c6e71a47 100644
--- a/gcc/config/vax/vax.c
+++ b/gcc/config/vax/vax.c
@@ -22,6 +22,15 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tree.h"
#include "calls.h"
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index 5c29bfa32d4..de44f10ffba 100644
--- a/gcc/config/xtensa/xtensa.c
+++ b/gcc/config/xtensa/xtensa.c
@@ -25,6 +25,20 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "regs.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "insn-config.h"
#include "conditions.h"
@@ -42,12 +56,6 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "reload.h"
#include "tm_p.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "input.h"
-#include "function.h"
#include "diagnostic-core.h"
#include "optabs.h"
#include "libfuncs.h"
diff --git a/gcc/coverage.c b/gcc/coverage.c
index c02b18c1144..6b6bebc493e 100644
--- a/gcc/coverage.c
+++ b/gcc/coverage.c
@@ -43,6 +43,9 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "toplev.h"
#include "tm_p.h"
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e105edca01e..39c03d67e54 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-27 Andrew MacLeod <amacleod@redhat.com>
+
+ * cp-gimplify.c: Adjust include files.
+
2014-10-26 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/53061
diff --git a/gcc/cp/cp-gimplify.c b/gcc/cp/cp-gimplify.c
index 22703b7660e..52750727dc3 100644
--- a/gcc/cp/cp-gimplify.c
+++ b/gcc/cp/cp-gimplify.c
@@ -28,6 +28,14 @@ along with GCC; see the file COPYING3. If not see
#include "cp-tree.h"
#include "c-family/c-common.h"
#include "tree-iterator.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -35,7 +43,6 @@ along with GCC; see the file COPYING3. If not see
#include "is-a.h"
#include "gimple.h"
#include "gimplify.h"
-#include "hashtab.h"
#include "flags.h"
#include "splay-tree.h"
#include "target.h"
diff --git a/gcc/cprop.c b/gcc/cprop.c
index 1ac06e0262f..52ad967432e 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -32,13 +32,20 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "insn-config.h"
#include "recog.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "expr.h"
#include "except.h"
#include "params.h"
diff --git a/gcc/cse.c b/gcc/cse.c
index 80c43beccf1..e124fff8185 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -25,16 +25,22 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "hard-reg-set.h"
#include "regs.h"
-#include "basic-block.h"
-#include "flags.h"
-#include "insn-config.h"
-#include "recog.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
+#include "flags.h"
+#include "insn-config.h"
+#include "recog.h"
#include "expr.h"
#include "diagnostic-core.h"
#include "toplev.h"
diff --git a/gcc/cselib.c b/gcc/cselib.c
index 4fb5010cbf2..03eb5f52b4e 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -42,6 +42,8 @@ along with GCC; see the file COPYING3. If not see
#include "hash-table.h"
#include "dumpfile.h"
#include "cselib.h"
+#include "predict.h"
+#include "basic-block.h"
#include "valtrack.h"
#include "params.h"
#include "alloc-pool.h"
diff --git a/gcc/data-streamer-in.c b/gcc/data-streamer-in.c
index ea1628c30dc..0aa604fa61a 100644
--- a/gcc/data-streamer-in.c
+++ b/gcc/data-streamer-in.c
@@ -25,6 +25,15 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "diagnostic.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/data-streamer-out.c b/gcc/data-streamer-out.c
index 4b904767b23..324003ead81 100644
--- a/gcc/data-streamer-out.c
+++ b/gcc/data-streamer-out.c
@@ -24,6 +24,15 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/data-streamer.c b/gcc/data-streamer.c
index 785beb5165f..3d15be11a73 100644
--- a/gcc/data-streamer.c
+++ b/gcc/data-streamer.c
@@ -23,6 +23,15 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/dce.c b/gcc/dce.c
index a52a59c604d..462d3130d26 100644
--- a/gcc/dce.c
+++ b/gcc/dce.c
@@ -28,6 +28,13 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "flags.h"
#include "except.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "cselib.h"
#include "dce.h"
diff --git a/gcc/ddg.c b/gcc/ddg.c
index 52d5ac41208..78a9750c7d9 100644
--- a/gcc/ddg.c
+++ b/gcc/ddg.c
@@ -39,12 +39,15 @@ along with GCC; see the file COPYING3. If not see
#include "insn-attr.h"
#include "except.h"
#include "recog.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "target.h"
#include "cfgloop.h"
#include "sbitmap.h"
#include "expr.h"
#include "bitmap.h"
+#include "df.h"
#include "ddg.h"
#include "rtl-iter.h"
diff --git a/gcc/ddg.h b/gcc/ddg.h
index e372134bd00..27e247d9aba 100644
--- a/gcc/ddg.h
+++ b/gcc/ddg.h
@@ -22,10 +22,6 @@ along with GCC; see the file COPYING3. If not see
#define GCC_DDG_H
/* For sbitmap. */
-#include "sbitmap.h"
-/* For basic_block. */
-#include "basic-block.h"
-#include "df.h"
typedef struct ddg_node *ddg_node_ptr;
typedef struct ddg_edge *ddg_edge_ptr;
diff --git a/gcc/df-core.c b/gcc/df-core.c
index f5af9a66027..691ed715a80 100644
--- a/gcc/df-core.c
+++ b/gcc/df-core.c
@@ -392,6 +392,10 @@ are write-only operations.
#include "regs.h"
#include "alloc-pool.h"
#include "flags.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "sbitmap.h"
#include "bitmap.h"
diff --git a/gcc/df-problems.c b/gcc/df-problems.c
index 389a6491d99..23d6d9473a2 100644
--- a/gcc/df-problems.c
+++ b/gcc/df-problems.c
@@ -39,6 +39,10 @@ along with GCC; see the file COPYING3. If not see
#include "regs.h"
#include "alloc-pool.h"
#include "flags.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "sbitmap.h"
#include "bitmap.h"
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index 2da10d70ecb..90ce6e65b10 100644
--- a/gcc/df-scan.c
+++ b/gcc/df-scan.c
@@ -39,6 +39,9 @@ along with GCC; see the file COPYING3. If not see
#include "regs.h"
#include "alloc-pool.h"
#include "flags.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "sbitmap.h"
#include "bitmap.h"
diff --git a/gcc/df.h b/gcc/df.h
index 0975dda1f0f..484f3512398 100644
--- a/gcc/df.h
+++ b/gcc/df.h
@@ -28,7 +28,15 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "regset.h"
#include "sbitmap.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "alloc-pool.h"
#include "timevar.h"
diff --git a/gcc/dojump.c b/gcc/dojump.c
index 045d1fc5bbe..6a95cf15346 100644
--- a/gcc/dojump.c
+++ b/gcc/dojump.c
@@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
#include "optabs.h"
#include "langhooks.h"
#include "ggc.h"
+#include "predict.h"
#include "basic-block.h"
#include "tm_p.h"
diff --git a/gcc/dominance.c b/gcc/dominance.c
index c8b47a3cf3e..9b49230110c 100644
--- a/gcc/dominance.c
+++ b/gcc/dominance.c
@@ -39,6 +39,16 @@
#include "rtl.h"
#include "hard-reg-set.h"
#include "obstack.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "diagnostic-core.h"
#include "et-forest.h"
diff --git a/gcc/domwalk.c b/gcc/domwalk.c
index e23351535d4..9049c03b892 100644
--- a/gcc/domwalk.c
+++ b/gcc/domwalk.c
@@ -22,6 +22,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "domwalk.h"
#include "sbitmap.h"
diff --git a/gcc/dse.c b/gcc/dse.c
index 4a2f3c7f2c7..6d42cd582f5 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -35,6 +35,11 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "regset.h"
#include "flags.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "cselib.h"
#include "tree-pass.h"
diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c
index d68c167943d..e1a60c2d11a 100644
--- a/gcc/dwarf2cfi.c
+++ b/gcc/dwarf2cfi.c
@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
-#include "basic-block.h"
+#include "cfgbuild.h"
#include "dwarf2.h"
#include "dwarf2out.h"
#include "dwarf2asm.h"
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index aa95f68c166..4ece80d004f 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -39,17 +39,19 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "tree.h"
#include "varasm.h"
-#include "basic-block.h"
-#include "tree-eh.h"
-#include "tm_p.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
+#include "tree-eh.h"
+#include "tm_p.h"
+#include "flags.h"
#include "stringpool.h"
#include "expr.h"
#include "regs.h"
diff --git a/gcc/et-forest.c b/gcc/et-forest.c
index 91b0e937537..4d18861d40d 100644
--- a/gcc/et-forest.c
+++ b/gcc/et-forest.c
@@ -32,7 +32,15 @@ License along with libiberty; see the file COPYING3. If not see
#undef DEBUG_ET
#ifdef DEBUG_ET
-#include "basic-block.h" /* To access index in record_path_before_1. */
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "basic-block.h"
#endif
/* The occurrence of a node in the et tree. */
diff --git a/gcc/except.c b/gcc/except.c
index e846d88f21d..fae9f50fb8f 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -140,6 +140,11 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "common/common-target.h"
#include "langhooks.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "diagnostic.h"
#include "tree-pretty-print.h"
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 82afd7fee50..4c23d3091ca 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -34,6 +34,8 @@ along with GCC; see the file COPYING3. If not see
#include "optabs.h"
#include "recog.h"
#include "langhooks.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "target.h"
#include "expmed.h"
diff --git a/gcc/expr.c b/gcc/expr.c
index 5519af22181..81c92190bca 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -51,6 +51,9 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "tm_p.h"
#include "tree-iterator.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/final.c b/gcc/final.c
index c3dc7a5d78c..a3d004ca11f 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -70,6 +70,10 @@ along with GCC; see the file COPYING3. If not see
#include "toplev.h" /* exact_log2, floor_log2 */
#include "reload.h"
#include "intl.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "target.h"
#include "targhooks.h"
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 8c4971cd470..be6241f7c5d 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -58,6 +58,14 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "langhooks.h"
#include "md5.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/function.c b/gcc/function.c
index 2f9c719040f..ee229ad88d7 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -64,6 +64,13 @@ along with GCC; see the file COPYING3. If not see
#include "gimplify.h"
#include "tree-pass.h"
#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "df.h"
#include "params.h"
#include "bb-reorder.h"
diff --git a/gcc/fwprop.c b/gcc/fwprop.c
index f166bdeb3fb..c59d307614f 100644
--- a/gcc/fwprop.c
+++ b/gcc/fwprop.c
@@ -31,6 +31,18 @@ along with GCC; see the file COPYING3. If not see
#include "recog.h"
#include "flags.h"
#include "obstack.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "df.h"
#include "target.h"
diff --git a/gcc/gcc-plugin.h b/gcc/gcc-plugin.h
index 7b019ad52b9..b632fb3a8ab 100644
--- a/gcc/gcc-plugin.h
+++ b/gcc/gcc-plugin.h
@@ -35,6 +35,15 @@ along with GCC; see the file COPYING3. If not see
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
+#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
/* Event names. */
enum plugin_event
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 9c62f8b3bb1..ac4ec088d3a 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -148,13 +148,20 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "insn-config.h"
#include "recog.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "expr.h"
#include "except.h"
#include "ggc.h"
diff --git a/gcc/genconditions.c b/gcc/genconditions.c
index cdb44f1a4ae..c9d6bad4cdf 100644
--- a/gcc/genconditions.c
+++ b/gcc/genconditions.c
@@ -88,6 +88,8 @@ write_header (void)
#include \"output.h\"\n\
#include \"flags.h\"\n\
#include \"hard-reg-set.h\"\n\
+#include \"predict.h\"\n\
+#include \"basic-block.h\"\n\
#include \"resource.h\"\n\
#include \"diagnostic-core.h\"\n\
#include \"reload.h\"\n\
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 21028d7b573..9dc2d0bcd14 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -815,6 +815,8 @@ from the machine description file `md'. */\n\n");
printf ("#include \"output.h\"\n");
printf ("#include \"insn-config.h\"\n");
printf ("#include \"recog.h\"\n");
+ printf ("#include \"predict.h\"\n");
+ printf ("#include \"basic-block.h\"\n");
printf ("#include \"resource.h\"\n");
printf ("#include \"reload.h\"\n");
printf ("#include \"diagnostic-core.h\"\n");
diff --git a/gcc/generic-match-head.c b/gcc/generic-match-head.c
index 0ed7e1d0c99..adf42894700 100644
--- a/gcc/generic-match-head.c
+++ b/gcc/generic-match-head.c
@@ -27,6 +27,12 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index a4d075b9752..e48b448b3fc 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -1829,11 +1829,11 @@ open_base_files (void)
"config.h", "system.h", "coretypes.h", "tm.h",
"hashtab.h", "splay-tree.h", "obstack.h", "bitmap.h", "input.h",
"tree.h", "rtl.h", "wide-int.h", "hashtab.h", "hash-set.h", "vec.h",
- "machmode.h", "tm.h", "hard-reg-set.h", "input.h",
+ "machmode.h", "tm.h", "hard-reg-set.h", "input.h", "predict.h",
"function.h", "insn-config.h", "expr.h",
"hard-reg-set.h", "basic-block.h", "cselib.h", "insn-addr.h",
"optabs.h", "libfuncs.h", "debug.h", "ggc.h", "cgraph.h",
- "hash-table.h", "vec.h", "ggc.h", "basic-block.h",
+ "hash-table.h", "vec.h", "ggc.h", "dominance.h", "cfg.h", "basic-block.h",
"tree-ssa-alias.h", "internal-fn.h", "gimple-fold.h", "tree-eh.h",
"gimple-expr.h", "is-a.h",
"gimple.h", "gimple-iterator.h", "gimple-ssa.h", "tree-cfg.h",
diff --git a/gcc/genpreds.c b/gcc/genpreds.c
index 0eb1c30aa8d..a51996c4003 100644
--- a/gcc/genpreds.c
+++ b/gcc/genpreds.c
@@ -1434,6 +1434,8 @@ write_insn_preds_c (void)
#include \"output.h\"\n\
#include \"flags.h\"\n\
#include \"hard-reg-set.h\"\n\
+#include \"predict.h\"\n\
+#include \"basic-block.h\"\n\
#include \"resource.h\"\n\
#include \"diagnostic-core.h\"\n\
#include \"reload.h\"\n\
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index a3589d3add0..06ec3e3ee68 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -2317,6 +2317,8 @@ write_header (void)
#include \"output.h\"\n\
#include \"flags.h\"\n\
#include \"hard-reg-set.h\"\n\
+#include \"predict.h\"\n\
+#include \"basic-block.h\"\n\
#include \"resource.h\"\n\
#include \"diagnostic-core.h\"\n\
#include \"reload.h\"\n\
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 2236a3a7d2f..af0c1ef1e63 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -33,6 +33,7 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h"
#include "cfgloop.h"
#include "plugin.h"
+#include "basic-block.h"
/* Prefer MAP_ANON(YMOUS) to /dev/zero, since we don't need to keep a
file open. Prefer either to valloc. */
diff --git a/gcc/gimple-builder.c b/gcc/gimple-builder.c
index ba4be26120a..154994b1382 100644
--- a/gcc/gimple-builder.c
+++ b/gcc/gimple-builder.c
@@ -22,6 +22,15 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tree.h"
#include "stringpool.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-expr.c b/gcc/gimple-expr.c
index 0e8a01ac877..856ffd900e4 100644
--- a/gcc/gimple-expr.c
+++ b/gcc/gimple-expr.c
@@ -24,6 +24,14 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index b2627197b44..8c889303277 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -37,6 +37,8 @@ along with GCC; see the file COPYING3. If not see
#include "function.h"
#include "dumpfile.h"
#include "bitmap.h"
+#include "predict.h"
+#include "dominance.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-iterator.c b/gcc/gimple-iterator.c
index 7077dcec0a8..f7253dcf90c 100644
--- a/gcc/gimple-iterator.c
+++ b/gcc/gimple-iterator.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-low.c b/gcc/gimple-low.c
index 76100c6e6aa..310ade86c1f 100644
--- a/gcc/gimple-low.c
+++ b/gcc/gimple-low.c
@@ -25,6 +25,14 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "tree-nested.h"
#include "calls.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -35,13 +43,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-iterator.h"
#include "tree-inline.h"
#include "flags.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "diagnostic-core.h"
#include "tree-pass.h"
#include "langhooks.h"
diff --git a/gcc/gimple-match-head.c b/gcc/gimple-match-head.c
index 0558e9a892e..9c6da59d44b 100644
--- a/gcc/gimple-match-head.c
+++ b/gcc/gimple-match-head.c
@@ -27,6 +27,12 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c
index 4a42d270a63..e53f92aeb27 100644
--- a/gcc/gimple-pretty-print.c
+++ b/gcc/gimple-pretty-print.c
@@ -29,6 +29,13 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-pretty-print.h"
#include "hashtab.h"
#include "bitmap.h"
+#include "predict.h"
+#include "vec.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-ssa-isolate-paths.c b/gcc/gimple-ssa-isolate-paths.c
index 0b62915f55d..d5fe46c20b1 100644
--- a/gcc/gimple-ssa-isolate-paths.c
+++ b/gcc/gimple-ssa-isolate-paths.c
@@ -24,6 +24,17 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tree.h"
#include "flags.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c
index 6bf54d64605..58160194298 100644
--- a/gcc/gimple-ssa-strength-reduction.c
+++ b/gcc/gimple-ssa-strength-reduction.c
@@ -39,6 +39,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "hash-map.h"
#include "hash-table.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c
index f7b5d0110a7..efcbb347be3 100644
--- a/gcc/gimple-streamer-in.c
+++ b/gcc/gimple-streamer-in.c
@@ -24,6 +24,17 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "diagnostic.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-streamer-out.c b/gcc/gimple-streamer-out.c
index 85a79661631..d2aa68953f3 100644
--- a/gcc/gimple-streamer-out.c
+++ b/gcc/gimple-streamer-out.c
@@ -23,6 +23,15 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple-streamer.h b/gcc/gimple-streamer.h
index 75afe85a327..c900c9ab647 100644
--- a/gcc/gimple-streamer.h
+++ b/gcc/gimple-streamer.h
@@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_GIMPLE_STREAMER_H
#define GCC_GIMPLE_STREAMER_H
-#include "basic-block.h"
#include "hashtab.h"
#include "hash-set.h"
#include "vec.h"
diff --git a/gcc/gimple-walk.c b/gcc/gimple-walk.c
index f4f67572c81..bfa3532c128 100644
--- a/gcc/gimple-walk.c
+++ b/gcc/gimple-walk.c
@@ -25,6 +25,14 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "stmt.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 233b4362911..b86f85c70ac 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -29,6 +29,15 @@ along with GCC; see the file COPYING3. If not see
#include "stmt.h"
#include "stor-layout.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimplify-me.c b/gcc/gimplify-me.c
index 05e986a8ef3..2e71697abeb 100644
--- a/gcc/gimplify-me.c
+++ b/gcc/gimplify-me.c
@@ -27,6 +27,15 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stmt.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index 6ee85f24d36..30260595903 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -27,6 +27,14 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "hash-set.h"
#include "hash-table.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index 22078f0b0fb..9d33a6a05bf 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-27 Andrew MacLeod <amacleod@redhat.com>
+
+ * go-gcc.cc: Adjust include files.
+ * go-lang.c: Ditto.
+
2014-10-23 Ian Lance Taylor <iant@google.com>
* go-gcc.cc (Gcc_backend::complex_constant_expression): Take one
diff --git a/gcc/go/go-gcc.cc b/gcc/go/go-gcc.cc
index caf66db72f6..91b07c6e936 100644
--- a/gcc/go/go-gcc.cc
+++ b/gcc/go/go-gcc.cc
@@ -31,7 +31,14 @@
#include "tree-iterator.h"
#include "cgraph.h"
#include "convert.h"
-#include "basic-block.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "gimple-expr.h"
#include "gimplify.h"
#include "langhooks.h"
diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c
index 24b64375469..403187a33cf 100644
--- a/gcc/go/go-lang.c
+++ b/gcc/go/go-lang.c
@@ -23,7 +23,14 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "opts.h"
#include "tree.h"
-#include "basic-block.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "gimple-expr.h"
#include "gimplify.h"
#include "stor-layout.h"
diff --git a/gcc/graph.c b/gcc/graph.c
index f95a525e9a9..fad48b4a813 100644
--- a/gcc/graph.c
+++ b/gcc/graph.c
@@ -24,6 +24,18 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "diagnostic-core.h" /* for fatal_error */
#include "sbitmap.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "cfgloop.h"
#include "graph.h"
diff --git a/gcc/graphite-blocking.c b/gcc/graphite-blocking.c
index 2e83fea4c7b..0b67bea39a8 100644
--- a/gcc/graphite-blocking.c
+++ b/gcc/graphite-blocking.c
@@ -37,6 +37,16 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c
index 0b0bf520160..dd67eac6c73 100644
--- a/gcc/graphite-clast-to-gimple.c
+++ b/gcc/graphite-clast-to-gimple.c
@@ -44,6 +44,17 @@ extern "C" {
#include "coretypes.h"
#include "diagnostic-core.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c
index cab63478dff..7b3c78ab7ee 100644
--- a/gcc/graphite-dependences.c
+++ b/gcc/graphite-dependences.c
@@ -36,6 +36,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-interchange.c b/gcc/graphite-interchange.c
index 8d691dbc7d5..a7222a54f3c 100644
--- a/gcc/graphite-interchange.c
+++ b/gcc/graphite-interchange.c
@@ -46,6 +46,17 @@ extern "C" {
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c
index 5cb0919a61e..46ccbf4fd05 100644
--- a/gcc/graphite-isl-ast-to-gimple.c
+++ b/gcc/graphite-isl-ast-to-gimple.c
@@ -37,6 +37,17 @@ extern "C" {
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c
index ce372e6e499..c1d04afd3f4 100644
--- a/gcc/graphite-optimize-isl.c
+++ b/gcc/graphite-optimize-isl.c
@@ -33,6 +33,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index 57f62cd2ba1..926cd9ef0e6 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -46,6 +46,17 @@ extern "C" {
#include "coretypes.h"
#include "diagnostic-core.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index 53823b86787..111a166a95c 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -34,6 +34,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c
index c3adfe13e9e..234ddba4f03 100644
--- a/gcc/graphite-sese-to-poly.c
+++ b/gcc/graphite-sese-to-poly.c
@@ -48,6 +48,17 @@ extern "C" {
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 650432d2552..42a4457e66f 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -50,6 +50,17 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "diagnostic-core.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index f64f3f59ed9..6af8aa3e2ad 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -142,6 +142,12 @@ along with GCC; see the file COPYING3. If not see
#include "insn-attr.h"
#include "except.h"
#include "recog.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "target.h"
#include "common/common-target.h"
diff --git a/gcc/hw-doloop.c b/gcc/hw-doloop.c
index 745bfd1dc5f..763928f4cf9 100644
--- a/gcc/hw-doloop.c
+++ b/gcc/hw-doloop.c
@@ -27,6 +27,16 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "hard-reg-set.h"
#include "regs.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "tm_p.h"
#include "df.h"
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index a28f5c13992..653653f96f4 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -35,6 +35,12 @@
#include "insn-config.h"
#include "recog.h"
#include "except.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "expr.h"
#include "output.h"
diff --git a/gcc/init-regs.c b/gcc/init-regs.c
index bf83e51aa92..0ddc4585371 100644
--- a/gcc/init-regs.c
+++ b/gcc/init-regs.c
@@ -26,6 +26,16 @@ along with GCC; see the file COPYING3. If not see
#include "regs.h"
#include "expr.h"
#include "tree-pass.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "flags.h"
#include "df.h"
diff --git a/gcc/internal-fn.c b/gcc/internal-fn.c
index c71259d197f..47cfadeef83 100644
--- a/gcc/internal-fn.c
+++ b/gcc/internal-fn.c
@@ -25,6 +25,17 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "expr.h"
#include "optabs.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -33,7 +44,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "ubsan.h"
#include "target.h"
-#include "predict.h"
#include "stringpool.h"
#include "tree-ssanames.h"
#include "diagnostic-core.h"
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index a6269755036..13da4af13a3 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -107,6 +107,8 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-fold.h"
#include "gimple-expr.h"
#include "target.h"
+#include "predict.h"
+#include "basic-block.h"
#include "ipa-prop.h"
#include "bitmap.h"
#include "tree-pass.h"
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 00fc6bb8285..e9bc8532704 100644
--- a/gcc/ipa-devirt.c
+++ b/gcc/ipa-devirt.c
@@ -112,6 +112,8 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "print-tree.h"
#include "calls.h"
+#include "predict.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "expr.h"
#include "tree-pass.h"
diff --git a/gcc/ipa-icf-gimple.c b/gcc/ipa-icf-gimple.c
index 1369b743ab4..827f53fbd76 100644
--- a/gcc/ipa-icf-gimple.c
+++ b/gcc/ipa-icf-gimple.c
@@ -23,6 +23,15 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c
index e99b3e6bb4d..23816f866a7 100644
--- a/gcc/ipa-icf.c
+++ b/gcc/ipa-icf.c
@@ -55,6 +55,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c
index 38f56d2fcd5..7da02cda91c 100644
--- a/gcc/ipa-inline-analysis.c
+++ b/gcc/ipa-inline-analysis.c
@@ -80,6 +80,17 @@ along with GCC; see the file COPYING3. If not see
#include "params.h"
#include "tree-pass.h"
#include "coverage.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index f0177dfc60d..bb8c99d2287 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -109,6 +109,14 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "bitmap.h"
#include "profile.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-polymorphic-call.c b/gcc/ipa-polymorphic-call.c
index 652c205b882..3f2d303b289 100644
--- a/gcc/ipa-polymorphic-call.c
+++ b/gcc/ipa-polymorphic-call.c
@@ -32,6 +32,8 @@ along with GCC; see the file COPYING3. If not see
#include "hash-table.h"
#include "inchash.h"
#include "tree-pretty-print.h"
+#include "predict.h"
+#include "basic-block.h"
#include "ipa-utils.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c
index ac461e24d17..482d007d6c0 100644
--- a/gcc/ipa-profile.c
+++ b/gcc/ipa-profile.c
@@ -49,6 +49,10 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "tree-pass.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 62db3277ed4..b574889a98d 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -21,6 +21,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c
index c221cd0a3ba..7613e1cf000 100644
--- a/gcc/ipa-pure-const.c
+++ b/gcc/ipa-pure-const.c
@@ -38,6 +38,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "print-tree.h"
#include "calls.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -65,7 +76,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-scalar-evolution.h"
#include "intl.h"
#include "opts.h"
-#include "hash-set.h"
/* Lattice values for const and pure functions. Everything starts out
being const, then may drop to pure and then neither depending on
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c
index f3af47ae832..6993f93c45b 100644
--- a/gcc/ipa-reference.c
+++ b/gcc/ipa-reference.c
@@ -42,6 +42,14 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "calls.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index f57ce9cae83..6a5f5c012e8 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -78,6 +78,18 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c
index 552071ed024..e4ea84c27b5 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/ipa.c b/gcc/ipa.c
index c8d7ab918da..b28e7cced52 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -24,6 +24,8 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "calls.h"
#include "stringpool.h"
+#include "predict.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "tree-pass.h"
#include "hash-map.h"
diff --git a/gcc/ira-build.c b/gcc/ira-build.c
index 98df8cd35a8..9285366169f 100644
--- a/gcc/ira-build.c
+++ b/gcc/ira-build.c
@@ -28,6 +28,15 @@ along with GCC; see the file COPYING3. If not see
#include "regs.h"
#include "flags.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "insn-config.h"
#include "recog.h"
diff --git a/gcc/ira-color.c b/gcc/ira-color.c
index c8e8f9a9d13..1f0cdea8395 100644
--- a/gcc/ira-color.c
+++ b/gcc/ira-color.c
@@ -31,6 +31,15 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "hash-table.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "expr.h"
#include "diagnostic-core.h"
diff --git a/gcc/ira-conflicts.c b/gcc/ira-conflicts.c
index 15ed08bf6a4..c21f24ed571 100644
--- a/gcc/ira-conflicts.c
+++ b/gcc/ira-conflicts.c
@@ -28,6 +28,13 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "flags.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "insn-config.h"
#include "recog.h"
diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c
index 8b6c9f9047d..48ae264cd8f 100644
--- a/gcc/ira-costs.c
+++ b/gcc/ira-costs.c
@@ -28,6 +28,15 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "tm_p.h"
#include "flags.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "regs.h"
#include "addresses.h"
diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c
index 53612348e30..f97b5583dc9 100644
--- a/gcc/ira-emit.c
+++ b/gcc/ira-emit.c
@@ -77,6 +77,17 @@ along with GCC; see the file COPYING3. If not see
#include "obstack.h"
#include "bitmap.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
#include "basic-block.h"
#include "expr.h"
#include "recog.h"
diff --git a/gcc/ira-lives.c b/gcc/ira-lives.c
index 1c9f8841dfe..90453c07a74 100644
--- a/gcc/ira-lives.c
+++ b/gcc/ira-lives.c
@@ -29,6 +29,13 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "except.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "insn-config.h"
#include "recog.h"
diff --git a/gcc/ira.c b/gcc/ira.c
index 235a21171df..0539e615ce3 100644
--- a/gcc/ira.c
+++ b/gcc/ira.c
@@ -376,6 +376,18 @@ along with GCC; see the file COPYING3. If not see
#include "obstack.h"
#include "bitmap.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "df.h"
#include "expr.h"
@@ -386,12 +398,6 @@ along with GCC; see the file COPYING3. If not see
#include "except.h"
#include "reload.h"
#include "diagnostic-core.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "input.h"
-#include "function.h"
#include "ggc.h"
#include "ira-int.h"
#include "lra.h"
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index a366113ec02..6d3813e7935 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-27 Andrew MacLeod <amacleod@redhat.com>
+
+ * java-gimplify.c: Adjust include files.
+
2014-10-22 Alan Modra <amodra@gmail.com>
* mangle.c (finish_mangling): Cast result of obstack_base to (char *).
diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c
index 6c7a1b629e0..3ebced93dfc 100644
--- a/gcc/java/java-gimplify.c
+++ b/gcc/java/java-gimplify.c
@@ -27,6 +27,15 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "tree.h"
#include "java-tree.h"
#include "dumpfile.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/jump.c b/gcc/jump.c
index f1aaf8c9b3c..da096cf8644 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -51,12 +51,15 @@ along with GCC; see the file COPYING3. If not see
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "expr.h"
#include "except.h"
#include "diagnostic-core.h"
#include "reload.h"
-#include "predict.h"
#include "tree-pass.h"
#include "target.h"
#include "rtl-iter.h"
diff --git a/gcc/lcm.c b/gcc/lcm.c
index 694d33e3989..96a20c75f9a 100644
--- a/gcc/lcm.c
+++ b/gcc/lcm.c
@@ -58,14 +58,19 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "insn-config.h"
#include "recog.h"
-#include "basic-block.h"
-#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "basic-block.h"
+#include "tm_p.h"
#include "sbitmap.h"
#include "dumpfile.h"
diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c
index 84a41943e14..a993ae26732 100644
--- a/gcc/loop-doloop.c
+++ b/gcc/loop-doloop.c
@@ -26,10 +26,20 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "expr.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
#include "diagnostic-core.h"
#include "tm_p.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "cfgloop.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
#include "params.h"
#include "target.h"
#include "dumpfile.h"
diff --git a/gcc/loop-init.c b/gcc/loop-init.c
index 767b8ac58d6..3c6f1c73bab 100644
--- a/gcc/loop-init.c
+++ b/gcc/loop-init.c
@@ -25,6 +25,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "regs.h"
#include "obstack.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "cfgloop.h"
#include "tree-pass.h"
diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c
index 783d74a45fe..eb17af21d09 100644
--- a/gcc/loop-invariant.c
+++ b/gcc/loop-invariant.c
@@ -42,17 +42,21 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "tm_p.h"
#include "obstack.h"
-#include "basic-block.h"
-#include "cfgloop.h"
-#include "expr.h"
-#include "recog.h"
-#include "target.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
+#include "cfgloop.h"
+#include "expr.h"
+#include "recog.h"
+#include "target.h"
#include "flags.h"
#include "df.h"
#include "hash-table.h"
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c
index 2e766630fd6..1d106a1527d 100644
--- a/gcc/loop-iv.c
+++ b/gcc/loop-iv.c
@@ -54,6 +54,15 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "hard-reg-set.h"
#include "obstack.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "cfgloop.h"
#include "expr.h"
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c
index d68b8467b3d..62ca28709bb 100644
--- a/gcc/loop-unroll.c
+++ b/gcc/loop-unroll.c
@@ -26,6 +26,16 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "obstack.h"
#include "profile.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "cfgloop.h"
#include "params.h"
diff --git a/gcc/lower-subreg.c b/gcc/lower-subreg.c
index a8ea10f7099..b6972bf312a 100644
--- a/gcc/lower-subreg.c
+++ b/gcc/lower-subreg.c
@@ -30,6 +30,17 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "insn-config.h"
#include "obstack.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
#include "basic-block.h"
#include "recog.h"
#include "bitmap.h"
diff --git a/gcc/lra-assigns.c b/gcc/lra-assigns.c
index 1047acfcce9..84808a52748 100644
--- a/gcc/lra-assigns.c
+++ b/gcc/lra-assigns.c
@@ -94,6 +94,9 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "except.h"
#include "df.h"
diff --git a/gcc/lra-coalesce.c b/gcc/lra-coalesce.c
index d7ea7e212c0..20acd8a2ff3 100644
--- a/gcc/lra-coalesce.c
+++ b/gcc/lra-coalesce.c
@@ -61,6 +61,9 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "except.h"
#include "timevar.h"
diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c
index 7f9f3178507..3fb679d8749 100644
--- a/gcc/lra-constraints.c
+++ b/gcc/lra-constraints.c
@@ -127,6 +127,10 @@
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "except.h"
#include "optabs.h"
diff --git a/gcc/lra-eliminations.c b/gcc/lra-eliminations.c
index 3133e9aa2e2..fe5ac38d752 100644
--- a/gcc/lra-eliminations.c
+++ b/gcc/lra-eliminations.c
@@ -72,6 +72,9 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "except.h"
#include "optabs.h"
diff --git a/gcc/lra-lives.c b/gcc/lra-lives.c
index 38b9d3ba6ad..eaf202f642c 100644
--- a/gcc/lra-lives.c
+++ b/gcc/lra-lives.c
@@ -43,6 +43,10 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "except.h"
#include "df.h"
diff --git a/gcc/lra-spills.c b/gcc/lra-spills.c
index 5f1038bcbe1..2cd171b172b 100644
--- a/gcc/lra-spills.c
+++ b/gcc/lra-spills.c
@@ -74,6 +74,10 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
#include "basic-block.h"
#include "except.h"
#include "timevar.h"
diff --git a/gcc/lra.c b/gcc/lra.c
index dfca2df2291..14bb033478e 100644
--- a/gcc/lra.c
+++ b/gcc/lra.c
@@ -113,6 +113,11 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "expr.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
#include "basic-block.h"
#include "except.h"
#include "tree-pass.h"
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index b5ae3c016ed..3071f0c0c86 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -26,6 +26,14 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "stringpool.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -35,15 +43,8 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "flags.h"
#include "params.h"
-#include "input.h"
-#include "hashtab.h"
-#include "hash-set.h"
#include "langhooks.h"
#include "bitmap.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "function.h"
#include "diagnostic-core.h"
#include "except.h"
#include "timevar.h"
diff --git a/gcc/lto-compress.c b/gcc/lto-compress.c
index 4d718d5c08e..fa4b8f49e4d 100644
--- a/gcc/lto-compress.c
+++ b/gcc/lto-compress.c
@@ -28,6 +28,15 @@ along with GCC; see the file COPYING3. If not see
#include <zlib.h>
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c
index ceccb6f44cb..ea2a2456e48 100644
--- a/gcc/lto-opts.c
+++ b/gcc/lto-opts.c
@@ -23,13 +23,21 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-expr.h"
#include "is-a.h"
#include "gimple.h"
-#include "hashtab.h"
#include "bitmap.h"
#include "flags.h"
#include "opts.h"
diff --git a/gcc/lto-section-in.c b/gcc/lto-section-in.c
index ba4c488bb14..2485da99c24 100644
--- a/gcc/lto-section-in.c
+++ b/gcc/lto-section-in.c
@@ -24,6 +24,14 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -33,13 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "flags.h"
#include "params.h"
-#include "input.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "function.h"
#include "diagnostic-core.h"
#include "except.h"
#include "timevar.h"
diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c
index 2c940cc2e2c..bb0b394e643 100644
--- a/gcc/lto-section-out.c
+++ b/gcc/lto-section-out.c
@@ -24,6 +24,14 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -32,13 +40,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "expr.h"
#include "params.h"
-#include "input.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "function.h"
#include "except.h"
#include "langhooks.h"
#include "data-streamer.h"
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c
index dee19bfccee..52186b5426e 100644
--- a/gcc/lto-streamer-in.c
+++ b/gcc/lto-streamer-in.c
@@ -32,6 +32,14 @@ along with GCC; see the file COPYING3. If not see
#include "params.h"
#include "input.h"
#include "hashtab.h"
+#include "predict.h"
+#include "vec.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -46,11 +54,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-dfa.h"
#include "tree-ssa.h"
#include "tree-pass.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "function.h"
#include "diagnostic.h"
#include "except.h"
#include "debug.h"
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index 7d29d4fc68c..39931e39e15 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -33,6 +33,13 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "hashtab.h"
#include "hash-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -43,10 +50,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-ssa.h"
#include "tree-ssanames.h"
#include "tree-pass.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "function.h"
#include "diagnostic-core.h"
#include "inchash.h"
#include "except.h"
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c
index 34807231bc8..cb647bd3d2b 100644
--- a/gcc/lto-streamer.c
+++ b/gcc/lto-streamer.c
@@ -27,6 +27,14 @@ along with GCC; see the file COPYING3. If not see
#include "toplev.h"
#include "flags.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 5b80db8eefb..39a05e8cc4a 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,11 @@
+2014-10-27 Andrew MacLeod <amacleod@redhat.com>
+
+ * lto-lang.c: Adjust include files.
+ * lto-object.c: Ditto.
+ * lto-partition.c: Ditto.
+ * lto-symtab.c: Ditto.
+ * lto.c: Ditto.
+
2014-10-16 DJ Delorie <dj@redhat.com>
* lto-object.c (lto_obj_begin_section): In the event that pointer
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c
index 3a295308aa6..8ecce5da8db 100644
--- a/gcc/lto/lto-lang.c
+++ b/gcc/lto/lto-lang.c
@@ -33,6 +33,14 @@ along with GCC; see the file COPYING3. If not see
#include "lto-tree.h"
#include "lto.h"
#include "tree-inline.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/lto/lto-object.c b/gcc/lto/lto-object.c
index 8e26079d309..28b459cfa54 100644
--- a/gcc/lto/lto-object.c
+++ b/gcc/lto/lto-object.c
@@ -22,6 +22,15 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -30,7 +39,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "diagnostic-core.h"
#include "lto.h"
-#include "tm.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
#include "simple-object.h"
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c
index 0451a66be34..b6472753da7 100644
--- a/gcc/lto/lto-partition.c
+++ b/gcc/lto/lto-partition.c
@@ -22,13 +22,21 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "toplev.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-expr.h"
#include "is-a.h"
#include "gimple.h"
-#include "tm.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "timevar.h"
diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c
index 4ec1a73f2b1..9ee3cd28d33 100644
--- a/gcc/lto/lto-symtab.c
+++ b/gcc/lto/lto-symtab.c
@@ -23,13 +23,21 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "diagnostic-core.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-expr.h"
#include "is-a.h"
#include "gimple.h"
-#include "hashtab.h"
#include "plugin-api.h"
#include "lto-streamer.h"
#include "ipa-utils.h"
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index bc53632e14e..1234cee4135 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -27,6 +27,8 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "diagnostic-core.h"
#include "tm.h"
+#include "predict.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "tree-ssa-operands.h"
#include "tree-pass.h"
diff --git a/gcc/mcf.c b/gcc/mcf.c
index 709092352f0..b561813330a 100644
--- a/gcc/mcf.c
+++ b/gcc/mcf.c
@@ -45,6 +45,17 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gcov-io.h"
#include "profile.h"
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c
index f75fd5dc20a..04f7b65265d 100644
--- a/gcc/mode-switching.c
+++ b/gcc/mode-switching.c
@@ -28,14 +28,21 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "insn-config.h"
#include "recog.h"
-#include "basic-block.h"
-#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
+#include "tm_p.h"
#include "tree-pass.h"
#include "df.h"
#include "emit-rtl.h"
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index 4a745fddbe5..eba910254d0 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -40,16 +40,22 @@ along with GCC; see the file COPYING3. If not see
#include "insn-attr.h"
#include "except.h"
#include "recog.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "target.h"
#include "cfgloop.h"
#include "expr.h"
#include "params.h"
#include "gcov-io.h"
+#include "sbitmap.h"
+#include "df.h"
#include "ddg.h"
#include "tree-pass.h"
#include "dbgcnt.h"
-#include "df.h"
#include "loop-unroll.h"
#ifdef INSN_SCHEDULING
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 62911fa21d2..fe9bf80c064 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -29,6 +29,17 @@ along with GCC; see the file COPYING3. If not see
#include "stringpool.h"
#include "stor-layout.h"
#include "rtl.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -55,13 +66,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-dfa.h"
#include "tree-ssa.h"
#include "flags.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "expr.h"
#include "tree-pass.h"
#include "except.h"
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 2df84d23472..61e0df8e2bf 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -49,6 +49,9 @@ along with GCC; see the file COPYING3. If not see
#include "recog.h"
#include "reload.h"
#include "ggc.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "target.h"
diff --git a/gcc/opts-global.c b/gcc/opts-global.c
index 111884bb5a6..1eb4de3adaa 100644
--- a/gcc/opts-global.c
+++ b/gcc/opts-global.c
@@ -25,6 +25,15 @@ along with GCC; see the file COPYING3. If not see
#include "opts.h"
#include "flags.h"
#include "tree.h" /* Required by langhooks.h. */
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -32,7 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "is-a.h"
#include "gimple.h"
#include "langhooks.h"
-#include "tm.h" /* Required by rtl.h. */
#include "rtl.h"
#include "dbgcnt.h"
#include "debug.h"
diff --git a/gcc/passes.c b/gcc/passes.c
index 428c79792b7..8432de8cd60 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -47,6 +47,7 @@ along with GCC; see the file COPYING3. If not see
#include "function.h"
#include "toplev.h"
#include "expr.h"
+#include "predict.h"
#include "basic-block.h"
#include "intl.h"
#include "graph.h"
@@ -79,7 +80,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "tree-dump.h"
#include "df.h"
-#include "predict.h"
#include "lto-streamer.h"
#include "plugin.h"
#include "ipa-utils.h"
diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c
index 264e03064f8..1923e189c71 100644
--- a/gcc/postreload-gcse.c
+++ b/gcc/postreload-gcse.c
@@ -32,13 +32,17 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "insn-config.h"
#include "recog.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
#include "profile.h"
#include "expr.h"
#include "except.h"
diff --git a/gcc/postreload.c b/gcc/postreload.c
index dcdfedfd920..d183bbfd2a6 100644
--- a/gcc/postreload.c
+++ b/gcc/postreload.c
@@ -37,6 +37,12 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "optabs.h"
#include "regs.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "reload.h"
#include "recog.h"
diff --git a/gcc/predict.c b/gcc/predict.c
index ec0c16926d9..7ecaab38db1 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -36,22 +36,25 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "tm_p.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "insn-config.h"
-#include "regs.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
+#include "insn-config.h"
+#include "regs.h"
+#include "flags.h"
#include "profile.h"
#include "except.h"
#include "diagnostic-core.h"
#include "recog.h"
#include "expr.h"
-#include "predict.h"
#include "coverage.h"
#include "sreal.h"
#include "params.h"
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 80ec96e9c0d..4824aba3f60 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -37,6 +37,13 @@ along with GCC; see the file COPYING3. If not see
#include "print-tree.h"
#include "flags.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "diagnostic.h"
#include "tree-pretty-print.h"
diff --git a/gcc/profile.c b/gcc/profile.c
index 71b8cbdc97f..d0063d178ec 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -62,6 +62,10 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "diagnostic-core.h"
#include "coverage.h"
diff --git a/gcc/recog.c b/gcc/recog.c
index 1a17510b1d0..831023dae97 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -39,6 +39,12 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "flags.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "reload.h"
#include "target.h"
diff --git a/gcc/ree.c b/gcc/ree.c
index 30a975c9e81..c992e8a3cd6 100644
--- a/gcc/ree.c
+++ b/gcc/ree.c
@@ -225,14 +225,18 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "regs.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "insn-config.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
+#include "insn-config.h"
#include "expr.h"
#include "insn-attr.h"
#include "recog.h"
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 88327ece0a1..2138869f7b0 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -168,6 +168,13 @@
#include "regs.h"
#include "flags.h"
#include "recog.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "reload.h"
#include "ggc.h"
diff --git a/gcc/regcprop.c b/gcc/regcprop.c
index e935a357204..a9938f57730 100644
--- a/gcc/regcprop.c
+++ b/gcc/regcprop.c
@@ -27,14 +27,17 @@
#include "regs.h"
#include "addresses.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "reload.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
+#include "reload.h"
#include "recog.h"
#include "flags.h"
#include "diagnostic-core.h"
diff --git a/gcc/regcprop.h b/gcc/regcprop.h
index ab54eafcaf8..a609b9f4835 100644
--- a/gcc/regcprop.h
+++ b/gcc/regcprop.h
@@ -20,8 +20,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_REGCPROP_H
#define GCC_REGCPROP_H
-#include "basic-block.h"
-
extern void copyprop_hardreg_forward_bb_without_debug_insn (basic_block bb);
#endif /* GCC_REGCPROP_H */
diff --git a/gcc/reginfo.c b/gcc/reginfo.c
index ae15e7d2119..45af98a165e 100644
--- a/gcc/reginfo.c
+++ b/gcc/reginfo.c
@@ -35,15 +35,18 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "tm_p.h"
#include "flags.h"
-#include "basic-block.h"
-#include "regs.h"
-#include "addresses.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
+#include "regs.h"
+#include "addresses.h"
#include "insn-config.h"
#include "recog.h"
#include "reload.h"
diff --git a/gcc/regrename.c b/gcc/regrename.c
index 26bc8606b27..531ae66c990 100644
--- a/gcc/regrename.c
+++ b/gcc/regrename.c
@@ -27,15 +27,19 @@
#include "regs.h"
#include "addresses.h"
#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "reload.h"
-#include "output.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
+#include "reload.h"
+#include "output.h"
#include "recog.h"
#include "flags.h"
#include "obstack.h"
diff --git a/gcc/regstat.c b/gcc/regstat.c
index e5f72e43208..ad2bcca7967 100644
--- a/gcc/regstat.c
+++ b/gcc/regstat.c
@@ -29,6 +29,15 @@ along with GCC; see the file COPYING3. If not see
#include "regs.h"
#include "except.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "timevar.h"
#include "df.h"
diff --git a/gcc/reload.c b/gcc/reload.c
index 5f560a941d3..2d3e9caae43 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -98,6 +98,10 @@ a register with any other reload. */
#include "expr.h"
#include "optabs.h"
#include "recog.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "reload.h"
#include "regs.h"
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 74dee444196..cc70b929f0c 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -39,6 +39,11 @@ along with GCC; see the file COPYING3. If not see
#include "optabs.h"
#include "regs.h"
#include "addresses.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
#include "basic-block.h"
#include "df.h"
#include "reload.h"
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 8d69433e104..6ade95cbe6d 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -117,6 +117,9 @@ along with GCC; see the file COPYING3. If not see
#include "function.h"
#include "insn-config.h"
#include "conditions.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "regs.h"
#include "recog.h"
diff --git a/gcc/resource.c b/gcc/resource.c
index bc69739e4c9..6bf868b0f3d 100644
--- a/gcc/resource.c
+++ b/gcc/resource.c
@@ -34,6 +34,10 @@ along with GCC; see the file COPYING3. If not see
#include "regs.h"
#include "flags.h"
#include "output.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "predict.h"
+#include "basic-block.h"
#include "resource.h"
#include "except.h"
#include "insn-attr.h"
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 153429074eb..cfa0d20d6fe 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -38,6 +38,8 @@ along with GCC; see the file COPYING3. If not see
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "basic-block.h"
#include "df.h"
#include "tree.h"
#include "emit-rtl.h" /* FIXME: Can go away once crtl is moved to rtl.h. */
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 80ca41fec6e..65cb3401d91 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -42,6 +42,11 @@ along with GCC; see the file COPYING3. If not see
#include "except.h"
#include "recog.h"
#include "emit-rtl.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgbuild.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "params.h"
#include "cselib.h"
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index d30fa2e30a1..7b439bbf9f8 100644
--- a/gcc/sched-ebb.c
+++ b/gcc/sched-ebb.c
@@ -41,6 +41,12 @@ along with GCC; see the file COPYING3. If not see
#include "except.h"
#include "recog.h"
#include "params.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "target.h"
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 71a4b5cd5fe..eaeabfa96d6 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
#ifdef INSN_SCHEDULING
#include "df.h"
-#include "basic-block.h"
/* Identificator of a scheduler pass. */
enum sched_pass_id_t { SCHED_PASS_UNKNOWN, SCHED_RGN_PASS, SCHED_EBB_PASS,
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c
index 97bc360582e..7a0af10ddcb 100644
--- a/gcc/sched-rgn.c
+++ b/gcc/sched-rgn.c
@@ -65,6 +65,11 @@ along with GCC; see the file COPYING3. If not see
#include "except.h"
#include "recog.h"
#include "params.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "predict.h"
+#include "basic-block.h"
#include "sched-int.h"
#include "sel-sched.h"
#include "target.h"
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c
index dabe88025a8..0ea923be436 100644
--- a/gcc/sched-vis.c
+++ b/gcc/sched-vis.c
@@ -29,6 +29,16 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "rtl.h"
#include "tree.h" /* FIXME: To dump INSN_VAR_LOCATION_DECL. */
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "dumpfile.h" /* for the TDF_* flags */
#include "pretty-print.h"
diff --git a/gcc/sel-sched-dump.c b/gcc/sel-sched-dump.c
index 70b7e2f0ee1..cae7fcc23c0 100644
--- a/gcc/sel-sched-dump.c
+++ b/gcc/sel-sched-dump.c
@@ -32,11 +32,14 @@ along with GCC; see the file COPYING3. If not see
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "flags.h"
#include "insn-config.h"
#include "insn-attr.h"
#include "params.h"
-#include "basic-block.h"
#include "cselib.h"
#include "target.h"
diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c
index bc191a92762..67496f710f7 100644
--- a/gcc/sel-sched-ir.c
+++ b/gcc/sel-sched-ir.c
@@ -32,6 +32,13 @@ along with GCC; see the file COPYING3. If not see
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "cfgbuild.h"
+#include "basic-block.h"
#include "flags.h"
#include "insn-config.h"
#include "insn-attr.h"
diff --git a/gcc/sel-sched-ir.h b/gcc/sel-sched-ir.h
index 90e7283b07e..3b746e88fb8 100644
--- a/gcc/sel-sched-ir.h
+++ b/gcc/sel-sched-ir.h
@@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see
/* For state_t. */
#include "insn-attr.h"
#include "regset.h"
-#include "basic-block.h"
/* For reg_note. */
#include "rtl.h"
#include "ggc.h"
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c
index 377e1e9b5f6..b8edb6087e6 100644
--- a/gcc/sel-sched.c
+++ b/gcc/sel-sched.c
@@ -31,6 +31,11 @@ along with GCC; see the file COPYING3. If not see
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgbuild.h"
+#include "basic-block.h"
#include "flags.h"
#include "insn-config.h"
#include "insn-attr.h"
diff --git a/gcc/sese.c b/gcc/sese.c
index 71a752eab6a..775d8a928cc 100644
--- a/gcc/sese.c
+++ b/gcc/sese.c
@@ -25,6 +25,17 @@ along with GCC; see the file COPYING3. If not see
#include "hash-map.h"
#include "tree.h"
#include "tree-pretty-print.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c
index d864784d894..cfdcf86dd71 100644
--- a/gcc/shrink-wrap.c
+++ b/gcc/shrink-wrap.c
@@ -52,6 +52,10 @@ along with GCC; see the file COPYING3. If not see
#include "gimplify.h"
#include "tree-pass.h"
#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "basic-block.h"
#include "df.h"
#include "params.h"
#include "bb-reorder.h"
diff --git a/gcc/stack-ptr-mod.c b/gcc/stack-ptr-mod.c
index 45f0c230540..1944c774366 100644
--- a/gcc/stack-ptr-mod.c
+++ b/gcc/stack-ptr-mod.c
@@ -26,6 +26,16 @@ along with GCC; see the file COPYING3. If not see
#include "regs.h"
#include "expr.h"
#include "tree-pass.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "flags.h"
#include "output.h"
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 96a4c627ad1..1f9b1a2468d 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -51,6 +51,7 @@ along with GCC; see the file COPYING3. If not see
#include "predict.h"
#include "optabs.h"
#include "target.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/store-motion.c b/gcc/store-motion.c
index 7d7c961600f..3677fbb46d6 100644
--- a/gcc/store-motion.c
+++ b/gcc/store-motion.c
@@ -32,13 +32,20 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "insn-config.h"
#include "recog.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
+#include "lcm.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
#include "expr.h"
#include "except.h"
#include "ggc.h"
diff --git a/gcc/symtab.c b/gcc/symtab.c
index adfa7af511a..0b1a12146cc 100644
--- a/gcc/symtab.c
+++ b/gcc/symtab.c
@@ -34,6 +34,7 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "emit-rtl.h"
+#include "predict.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 786b051bb6d..c71ff14d095 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-27 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc.dg/plugin/ggcplug.c: Shuffle includes to include
+ gcc-plugin.h earlier.
+
2014-10-27 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/concat1.ads: New test.
diff --git a/gcc/testsuite/gcc.dg/plugin/ggcplug.c b/gcc/testsuite/gcc.dg/plugin/ggcplug.c
index 65d848e9740..3947384bc8e 100644
--- a/gcc/testsuite/gcc.dg/plugin/ggcplug.c
+++ b/gcc/testsuite/gcc.dg/plugin/ggcplug.c
@@ -6,12 +6,12 @@
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "gcc-plugin.h"
#include "toplev.h"
#include "basic-block.h"
#include "hash-table.h"
#include "vec.h"
#include "ggc.h"
-#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-fold.h"
@@ -22,7 +22,6 @@
#include "tree.h"
#include "tree-pass.h"
#include "intl.h"
-#include "gcc-plugin.h"
#include "plugin-version.h"
#include "diagnostic.h"
diff --git a/gcc/toplev.c b/gcc/toplev.c
index adfae0bf93b..7d8cefadc21 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -67,6 +67,8 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "cfgloop.h" /* for init_set_costs */
#include "hosthooks.h"
+#include "predict.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "opts.h"
#include "opts-diagnostic.h"
diff --git a/gcc/tracer.c b/gcc/tracer.c
index b72bcb50321..b3a412cec49 100644
--- a/gcc/tracer.c
+++ b/gcc/tracer.c
@@ -41,6 +41,16 @@
#include "rtl.h"
#include "hard-reg-set.h"
#include "profile.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "fibheap.h"
#include "flags.h"
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c
index 4fe4579fe1f..4b0b6422498 100644
--- a/gcc/trans-mem.c
+++ b/gcc/trans-mem.c
@@ -22,6 +22,17 @@
#include "coretypes.h"
#include "hash-table.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -30,14 +41,6 @@
#include "is-a.h"
#include "gimple.h"
#include "calls.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "tm.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "rtl.h"
#include "emit-rtl.h"
#include "gimplify.h"
@@ -62,7 +65,6 @@
#include "gimple-pretty-print.h"
#include "cfgloop.h"
#include "tree-ssa-address.h"
-#include "predict.h"
#define A_RUNINSTRUMENTEDCODE 0x0001
diff --git a/gcc/tree-affine.c b/gcc/tree-affine.c
index 18b44c15ed3..4c61cd06b2d 100644
--- a/gcc/tree-affine.c
+++ b/gcc/tree-affine.c
@@ -24,6 +24,15 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "tree-pretty-print.h"
#include "tree-affine.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c
index 65027e89e8a..ec1e2d4831c 100644
--- a/gcc/tree-call-cdce.c
+++ b/gcc/tree-call-cdce.c
@@ -22,6 +22,16 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree.h"
#include "stor-layout.h"
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 3e00d7417c4..097de235836 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -29,15 +29,19 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "print-tree.h"
#include "tm_p.h"
-#include "basic-block.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
+#include "flags.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c
index b48da5c624f..ec2f55a95b6 100644
--- a/gcc/tree-cfgcleanup.c
+++ b/gcc/tree-cfgcleanup.c
@@ -23,16 +23,21 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
-#include "basic-block.h"
-#include "diagnostic-core.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
+#include "diagnostic-core.h"
+#include "flags.h"
#include "langhooks.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-chrec.c b/gcc/tree-chrec.c
index c78d9410429..15f007ab0d9 100644
--- a/gcc/tree-chrec.c
+++ b/gcc/tree-chrec.c
@@ -29,6 +29,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "tree-pretty-print.h"
#include "cfgloop.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-expr.h"
#include "tree-ssa-loop-ivopts.h"
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c
index f1bba8bff8a..42ef53f6d42 100644
--- a/gcc/tree-complex.c
+++ b/gcc/tree-complex.c
@@ -24,6 +24,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "flags.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index 89aeb30c1e5..86d94572f40 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -79,6 +79,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "expr.h"
#include "gimple-pretty-print.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c
index b7309e83edf..6fff3217e06 100644
--- a/gcc/tree-dfa.c
+++ b/gcc/tree-dfa.c
@@ -26,15 +26,18 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "tm_p.h"
-#include "basic-block.h"
-#include "langhooks.h"
-#include "flags.h"
-#include "hash-set.h"
+#include "predict.h"
#include "vec.h"
+#include "hash-set.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
+#include "langhooks.h"
+#include "flags.h"
#include "tree-pretty-print.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index d452cf9ba73..7a6e04aeb57 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -34,6 +34,11 @@ along with GCC; see the file COPYING3. If not see
#include "input.h"
#include "function.h"
#include "except.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "cfgcleanup.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c
index c915e3301e4..eaf97778472 100644
--- a/gcc/tree-emutls.c
+++ b/gcc/tree-emutls.c
@@ -23,6 +23,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "varasm.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index 1f8ef03375e..948cda77c07 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -87,6 +87,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "flags.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 2d6fbd69319..787f60b5430 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -33,6 +33,15 @@ along with GCC; see the file COPYING3. If not see
#include "insn-config.h"
#include "hashtab.h"
#include "langhooks.h"
+#include "predict.h"
+#include "vec.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-iterator.h"
#include "intl.h"
@@ -57,11 +66,6 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "tree-dfa.h"
#include "tree-ssa.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "function.h"
#include "tree-pretty-print.h"
#include "except.h"
#include "debug.h"
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index ad5543dd75b..bf99160deea 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -26,14 +26,18 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "tm_p.h"
#include "langhooks.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "hash-table.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c
index 7a18622d338..b5a34caef41 100644
--- a/gcc/tree-loop-distribution.c
+++ b/gcc/tree-loop-distribution.c
@@ -45,6 +45,18 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c
index ce06c45d938..d0041c92c93 100644
--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -34,6 +34,7 @@
#include "function.h"
#include "tree-dump.h"
#include "tree-inline.h"
+#include "predict.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-nrv.c b/gcc/tree-nrv.c
index 944ec8f0c64..7798bd74f92 100644
--- a/gcc/tree-nrv.c
+++ b/gcc/tree-nrv.c
@@ -29,6 +29,9 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c
index 220ad1f784c..48da5bd9421 100644
--- a/gcc/tree-object-size.c
+++ b/gcc/tree-object-size.c
@@ -27,6 +27,16 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "gimple-pretty-print.h"
#include "bitmap.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c
index 2d43bc20c9b..d841fc702f3 100644
--- a/gcc/tree-outof-ssa.c
+++ b/gcc/tree-outof-ssa.c
@@ -24,6 +24,18 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "bitmap.h"
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c
index 112c295a86a..09b3f163c11 100644
--- a/gcc/tree-parloops.c
+++ b/gcc/tree-parloops.c
@@ -23,6 +23,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index 5bd82335698..5de1ead69a0 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -22,6 +22,14 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index 73489851e46..dbb9e7102fc 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -191,6 +191,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "tm_p.h"
#include "cfgloop.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index 0a59aac6572..63d77cf8ca4 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -29,13 +29,13 @@ along with GCC; see the file COPYING3. If not see
#include "hashtab.h"
#include "hash-set.h"
#include "gimple-expr.h"
+#include "predict.h"
#include "cgraph.h"
#include "langhooks.h"
#include "tree-iterator.h"
#include "tree-chrec.h"
#include "dumpfile.h"
#include "value-prof.h"
-#include "predict.h"
#include "wide-int-print.h"
#include "internal-fn.h"
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c
index ceb616968ef..70a51f6cd90 100644
--- a/gcc/tree-profile.c
+++ b/gcc/tree-profile.c
@@ -36,6 +36,9 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "diagnostic-core.h"
#include "coverage.h"
diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c
index 248bb8db069..696436dc143 100644
--- a/gcc/tree-scalar-evolution.c
+++ b/gcc/tree-scalar-evolution.c
@@ -259,6 +259,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "expr.h"
#include "gimple-pretty-print.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index fb24114fa6b..f2013f8d61a 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -79,6 +79,16 @@ along with GCC; see the file COPYING3. If not see
#include "alloc-pool.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-address.c b/gcc/tree-ssa-address.c
index 866afcf0265..b73e8e6acac 100644
--- a/gcc/tree-ssa-address.c
+++ b/gcc/tree-ssa-address.c
@@ -27,6 +27,14 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index 5a14ff9e8fd..29543d69730 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -25,17 +25,19 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "tm_p.h"
#include "target.h"
-#include "basic-block.h"
-#include "timevar.h" /* for TV_ALIAS_STMT_WALK */
-#include "langhooks.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "basic-block.h"
+#include "timevar.h" /* for TV_ALIAS_STMT_WALK */
+#include "langhooks.h"
+#include "flags.h"
#include "tree-pretty-print.h"
#include "dumpfile.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c
index 325a9f05a8a..11965b2812e 100644
--- a/gcc/tree-ssa-ccp.c
+++ b/gcc/tree-ssa-ccp.c
@@ -126,14 +126,17 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "hash-table.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c
index 24ed4b4fed6..0a068a8ec91 100644
--- a/gcc/tree-ssa-coalesce.c
+++ b/gcc/tree-ssa-coalesce.c
@@ -28,6 +28,16 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "dumpfile.h"
#include "hash-table.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index 26824336278..7c22c5e9eb1 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -24,14 +24,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-copyrename.c b/gcc/tree-ssa-copyrename.c
index b4e698de0af..d006d5afb5a 100644
--- a/gcc/tree-ssa-copyrename.c
+++ b/gcc/tree-ssa-copyrename.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -31,13 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "flags.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "tree-pretty-print.h"
#include "bitmap.h"
#include "gimple-ssa.h"
diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c
index fd2e444ce77..68655b84d1f 100644
--- a/gcc/tree-ssa-dce.c
+++ b/gcc/tree-ssa-dce.c
@@ -50,6 +50,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "calls.h"
#include "gimple-pretty-print.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index eb62f567d03..691388523b3 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -27,16 +27,20 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
-#include "cfgloop.h"
-#include "inchash.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
+#include "cfgloop.h"
+#include "inchash.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c
index 6e6204ab901..91017ff8127 100644
--- a/gcc/tree-ssa-dse.c
+++ b/gcc/tree-ssa-dse.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "bitmap.h"
diff --git a/gcc/tree-ssa-forwprop.c b/gcc/tree-ssa-forwprop.c
index 6b584e5c486..08ae6ef4636 100644
--- a/gcc/tree-ssa-forwprop.c
+++ b/gcc/tree-ssa-forwprop.c
@@ -24,6 +24,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
@@ -56,6 +66,7 @@ along with GCC; see the file COPYING3. If not see
#include "builtins.h"
#include "tree-cfgcleanup.h"
#include "tree-into-ssa.h"
+#include "cfganal.h"
/* This pass propagates the RHS of assignment statements into use
sites of the LHS of the assignment. It's basically a specialized
diff --git a/gcc/tree-ssa-ifcombine.c b/gcc/tree-ssa-ifcombine.c
index 118e99cab89..25087f2ac97 100644
--- a/gcc/tree-ssa-ifcombine.c
+++ b/gcc/tree-ssa-ifcombine.c
@@ -28,6 +28,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index 87f5bf84c59..1effb43bd38 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -27,6 +27,16 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-pretty-print.h"
#include "bitmap.h"
#include "sbitmap.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-loop-ch.c b/gcc/tree-ssa-loop-ch.c
index 3d02729daa6..300b2fac91a 100644
--- a/gcc/tree-ssa-loop-ch.c
+++ b/gcc/tree-ssa-loop-ch.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c
index 325f777b8d0..85d811868b7 100644
--- a/gcc/tree-ssa-loop-im.c
+++ b/gcc/tree-ssa-loop-im.c
@@ -23,6 +23,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "hash-map.h"
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c
index 8ab4ad784f1..4be72ccf784 100644
--- a/gcc/tree-ssa-loop-ivcanon.c
+++ b/gcc/tree-ssa-loop-ivcanon.c
@@ -42,6 +42,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "tm_p.h"
#include "profile.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index 087ca26fbba..38b9d321aff 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -68,6 +68,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "hash-map.h"
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c
index ac9693612d6..62cca65ed50 100644
--- a/gcc/tree-ssa-loop-manip.c
+++ b/gcc/tree-ssa-loop-manip.c
@@ -23,6 +23,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c
index 4da18556b76..fd32d2808a3 100644
--- a/gcc/tree-ssa-loop-niter.c
+++ b/gcc/tree-ssa-loop-niter.c
@@ -25,10 +25,19 @@ along with GCC; see the file COPYING3. If not see
#include "calls.h"
#include "expr.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "intl.h"
-#include "hash-set.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-expr.h"
diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c
index 29b02f001a3..4754c0a13aa 100644
--- a/gcc/tree-ssa-loop-prefetch.c
+++ b/gcc/tree-ssa-loop-prefetch.c
@@ -24,6 +24,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-pretty-print.h"
#include "tree-ssa-alias.h"
@@ -43,7 +53,6 @@ along with GCC; see the file COPYING3. If not see
#include "cfgloop.h"
#include "tree-pass.h"
#include "insn-config.h"
-#include "hashtab.h"
#include "tree-chrec.h"
#include "tree-scalar-evolution.h"
#include "diagnostic-core.h"
diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index 06f4a12d1d4..8a0f10a6c54 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c
index 7d1f68e38b5..758b5fc483c 100644
--- a/gcc/tree-ssa-loop.c
+++ b/gcc/tree-ssa-loop.c
@@ -23,6 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c
index 2ef2333bc11..495a9fdb24d 100644
--- a/gcc/tree-ssa-math-opts.c
+++ b/gcc/tree-ssa-math-opts.c
@@ -90,6 +90,16 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "flags.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c
index c068a65c23c..d1d5a01cb58 100644
--- a/gcc/tree-ssa-operands.c
+++ b/gcc/tree-ssa-operands.c
@@ -34,6 +34,7 @@ along with GCC; see the file COPYING3. If not see
#include "function.h"
#include "gimple-pretty-print.h"
#include "bitmap.h"
+#include "predict.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index cac3fd600e4..94c7f4030e9 100644
--- a/gcc/tree-ssa-phiopt.c
+++ b/gcc/tree-ssa-phiopt.c
@@ -26,8 +26,18 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-expr.h"
diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c
index a5492001ea3..96d48b142e7 100644
--- a/gcc/tree-ssa-phiprop.c
+++ b/gcc/tree-ssa-phiprop.c
@@ -24,6 +24,16 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "tm_p.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index c3dad70db01..7774755f789 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -24,6 +24,17 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-inline.h"
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c
index c62749a1623..e5e682629da 100644
--- a/gcc/tree-ssa-propagate.c
+++ b/gcc/tree-ssa-propagate.c
@@ -25,14 +25,17 @@
#include "tree.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "dumpfile.h"
#include "bitmap.h"
diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c
index a760595a1fd..c451467fb58 100644
--- a/gcc/tree-ssa-reassoc.c
+++ b/gcc/tree-ssa-reassoc.c
@@ -27,6 +27,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-inline.h"
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c
index 44656ea0370..81655308c2a 100644
--- a/gcc/tree-ssa-sccvn.c
+++ b/gcc/tree-ssa-sccvn.c
@@ -24,6 +24,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-inline.h"
diff --git a/gcc/tree-ssa-sink.c b/gcc/tree-ssa-sink.c
index d7fd159b366..f85ced44454 100644
--- a/gcc/tree-ssa-sink.c
+++ b/gcc/tree-ssa-sink.c
@@ -24,6 +24,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-inline.h"
@@ -37,7 +48,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-cfg.h"
#include "tree-phinodes.h"
#include "ssa-iterators.h"
-#include "hashtab.h"
#include "tree-iterator.h"
#include "alloc-pool.h"
#include "tree-pass.h"
diff --git a/gcc/tree-ssa-strlen.c b/gcc/tree-ssa-strlen.c
index bb42cc7e263..c224fd9a3f8 100644
--- a/gcc/tree-ssa-strlen.c
+++ b/gcc/tree-ssa-strlen.c
@@ -26,6 +26,17 @@ along with GCC; see the file COPYING3. If not see
#include "hash-table.h"
#include "hash-map.h"
#include "bitmap.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 78e166645a5..129798ae21a 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -26,6 +26,16 @@
#include "bitmap.h"
#include "sbitmap.h"
#include "flags.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree.h"
#include "stor-layout.h"
@@ -46,13 +56,6 @@
#include "tree-dfa.h"
#include "tree-inline.h"
#include "diagnostic-core.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "tree-pass.h"
#include "alloc-pool.h"
#include "splay-tree.h"
diff --git a/gcc/tree-ssa-tail-merge.c b/gcc/tree-ssa-tail-merge.c
index b61711b67f7..303bd5e4c4a 100644
--- a/gcc/tree-ssa-tail-merge.c
+++ b/gcc/tree-ssa-tail-merge.c
@@ -194,15 +194,20 @@ along with GCC; see the file COPYING3. If not see
#include "trans-mem.h"
#include "inchash.h"
#include "tm_p.h"
-#include "basic-block.h"
-#include "flags.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "cfgcleanup.h"
+#include "basic-block.h"
+#include "flags.h"
#include "hash-table.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-ter.c b/gcc/tree-ssa-ter.c
index 78bedfc2e9a..684e6135e07 100644
--- a/gcc/tree-ssa-ter.c
+++ b/gcc/tree-ssa-ter.c
@@ -26,6 +26,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "gimple-pretty-print.h"
#include "bitmap.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c
index 31ba4419abc..de3c819e4e7 100644
--- a/gcc/tree-ssa-threadedge.c
+++ b/gcc/tree-ssa-threadedge.c
@@ -25,15 +25,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
-#include "cfgloop.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "basic-block.h"
+#include "cfgloop.h"
#include "timevar.h"
#include "dumpfile.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c
index d2cf4de3c6a..5d838c3c25f 100644
--- a/gcc/tree-ssa-threadupdate.c
+++ b/gcc/tree-ssa-threadupdate.c
@@ -22,15 +22,19 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tree.h"
#include "flags.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
#include "hash-table.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssa-uncprop.c b/gcc/tree-ssa-uncprop.c
index 8ea1d456817..a15991dbd59 100644
--- a/gcc/tree-ssa-uncprop.c
+++ b/gcc/tree-ssa-uncprop.c
@@ -25,14 +25,18 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
#include "hash-table.h"
#include "hash-map.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c
index be93d5fd318..0d87558f5a9 100644
--- a/gcc/tree-ssa-uninit.c
+++ b/gcc/tree-ssa-uninit.c
@@ -25,14 +25,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "flags.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "bitmap.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c
index bf590d2fdff..bcf65e144e0 100644
--- a/gcc/tree-ssa.c
+++ b/gcc/tree-ssa.c
@@ -27,14 +27,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "target.h"
#include "langhooks.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c
index 3af80a0d236..5e7d3f52cf4 100644
--- a/gcc/tree-ssanames.c
+++ b/gcc/tree-ssanames.c
@@ -23,6 +23,14 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-stdarg.c b/gcc/tree-stdarg.c
index 883b3b5c6f5..c48786d8008 100644
--- a/gcc/tree-stdarg.c
+++ b/gcc/tree-stdarg.c
@@ -34,6 +34,9 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-pretty-print.h"
#include "target.h"
#include "bitmap.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-streamer-in.c b/gcc/tree-streamer-in.c
index 01a55bfdf1b..d6db46fc762 100644
--- a/gcc/tree-streamer-in.c
+++ b/gcc/tree-streamer-in.c
@@ -25,6 +25,15 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "tree.h"
#include "stringpool.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c
index 2124d543a4b..94eab797738 100644
--- a/gcc/tree-streamer-out.c
+++ b/gcc/tree-streamer-out.c
@@ -26,6 +26,14 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c
index 17f304506ae..709e392045f 100644
--- a/gcc/tree-streamer.c
+++ b/gcc/tree-streamer.c
@@ -24,6 +24,15 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c
index f205129ed1f..687b0b7848b 100644
--- a/gcc/tree-switch-conversion.c
+++ b/gcc/tree-switch-conversion.c
@@ -32,6 +32,17 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#include "tree.h"
#include "varasm.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c
index 9e54a466cb8..e5da0909a63 100644
--- a/gcc/tree-tailcall.c
+++ b/gcc/tree-tailcall.c
@@ -24,14 +24,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "tm_p.h"
-#include "basic-block.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "hard-reg-set.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-expr.h"
diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c
index 66ba70a5855..1d30bdf78cb 100644
--- a/gcc/tree-vect-data-refs.c
+++ b/gcc/tree-vect-data-refs.c
@@ -28,6 +28,16 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "tm_p.h"
#include "target.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-vect-generic.c b/gcc/tree-vect-generic.c
index f631c99cc0b..190ba182697 100644
--- a/gcc/tree-vect-generic.c
+++ b/gcc/tree-vect-generic.c
@@ -24,6 +24,16 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "tm.h"
#include "langhooks.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-vect-loop-manip.c b/gcc/tree-vect-loop-manip.c
index 7b79ab1b9d0..b68ea2fadef 100644
--- a/gcc/tree-vect-loop-manip.c
+++ b/gcc/tree-vect-loop-manip.c
@@ -25,6 +25,17 @@ along with GCC; see the file COPYING3. If not see
#include "dumpfile.h"
#include "tm.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
index fd1166f5fd7..8acc6fe9342 100644
--- a/gcc/tree-vect-loop.c
+++ b/gcc/tree-vect-loop.c
@@ -26,6 +26,17 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "stor-layout.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-vect-patterns.c b/gcc/tree-vect-patterns.c
index ea3d542da36..2eadb77008e 100644
--- a/gcc/tree-vect-patterns.c
+++ b/gcc/tree-vect-patterns.c
@@ -25,6 +25,15 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "target.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c
index 81017fbfd8c..90f5ef4b8da 100644
--- a/gcc/tree-vect-slp.c
+++ b/gcc/tree-vect-slp.c
@@ -27,6 +27,14 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "target.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c
index 350557c4f56..681479ed911 100644
--- a/gcc/tree-vect-stmts.c
+++ b/gcc/tree-vect-stmts.c
@@ -27,6 +27,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "target.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "gimple-pretty-print.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c
index c02653748bf..1a15c819552 100644
--- a/gcc/tree-vectorizer.c
+++ b/gcc/tree-vectorizer.c
@@ -62,6 +62,16 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "tree-pretty-print.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index dc5617d17e7..a8d6c930650 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -26,6 +26,17 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "calls.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/tree.c b/gcc/tree.c
index 365e89c4d6c..3f60fd83563 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -55,6 +55,9 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "tree-inline.h"
#include "tree-iterator.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "bitmap.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/tsan.c b/gcc/tsan.c
index 1ba0cbc7216..05771049b21 100644
--- a/gcc/tsan.c
+++ b/gcc/tsan.c
@@ -26,6 +26,16 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "intl.h"
#include "tm.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
@@ -34,13 +44,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimplify.h"
#include "gimple-iterator.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "hard-reg-set.h"
-#include "input.h"
-#include "function.h"
#include "gimple-ssa.h"
#include "cgraph.h"
#include "tree-cfg.h"
diff --git a/gcc/ubsan.c b/gcc/ubsan.c
index f143fcef6bf..7e056356c95 100644
--- a/gcc/ubsan.c
+++ b/gcc/ubsan.c
@@ -24,6 +24,11 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "stor-layout.h"
#include "stringpool.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfganal.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "tree-pass.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/valtrack.c b/gcc/valtrack.c
index 58e7669fa21..4b69566efcc 100644
--- a/gcc/valtrack.c
+++ b/gcc/valtrack.c
@@ -24,6 +24,8 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
+#include "predict.h"
+#include "basic-block.h"
#include "valtrack.h"
#include "hashtab.h"
#include "hash-set.h"
diff --git a/gcc/valtrack.h b/gcc/valtrack.h
index f691c675eeb..f47bb82ccf5 100644
--- a/gcc/valtrack.h
+++ b/gcc/valtrack.h
@@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "df.h"
#include "rtl.h"
-#include "basic-block.h"
#include "hash-table.h"
/* Debug uses of dead regs. */
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 8ed6433ce7f..889720ed052 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -27,6 +27,15 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "expr.h"
#include "hard-reg-set.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "value-prof.h"
#include "flags.h"
@@ -59,7 +68,6 @@ along with GCC; see the file COPYING3. If not see
#include "data-streamer.h"
#include "builtins.h"
#include "tree-nested.h"
-#include "hash-set.h"
#include "params.h"
/* In this file value profile based optimizations are placed. Currently the
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
index 4c5ae41b248..c96e7f06b4f 100644
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -95,9 +95,20 @@
#include "stor-layout.h"
#include "hash-map.h"
#include "hash-table.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfganal.h"
#include "basic-block.h"
#include "tm_p.h"
-#include "hard-reg-set.h"
#include "flags.h"
#include "insn-config.h"
#include "reload.h"
diff --git a/gcc/varasm.c b/gcc/varasm.c
index d4b5c6b027a..a1e5d5d4ef6 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -53,9 +53,12 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "common/common-target.h"
#include "targhooks.h"
+#include "predict.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "asan.h"
-#include "basic-block.h"
#include "rtl-iter.h"
#ifdef XCOFF_DEBUGGING_INFO
diff --git a/gcc/varpool.c b/gcc/varpool.c
index ebb72bd1855..50b5665a291 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -24,6 +24,8 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "varasm.h"
+#include "predict.h"
+#include "basic-block.h"
#include "cgraph.h"
#include "langhooks.h"
#include "diagnostic-core.h"
diff --git a/gcc/vtable-verify.c b/gcc/vtable-verify.c
index cb331d2970f..40dbcadeb29 100644
--- a/gcc/vtable-verify.c
+++ b/gcc/vtable-verify.c
@@ -136,6 +136,17 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tree.h"
+#include "predict.h"
+#include "vec.h"
+#include "hashtab.h"
+#include "hash-set.h"
+#include "machmode.h"
+#include "tm.h"
+#include "hard-reg-set.h"
+#include "input.h"
+#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/web.c b/gcc/web.c
index 90da6c90a75..7e71c90d97a 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -43,14 +43,17 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "flags.h"
#include "obstack.h"
-#include "basic-block.h"
-#include "df.h"
+#include "predict.h"
+#include "vec.h"
#include "hashtab.h"
#include "hash-set.h"
-#include "vec.h"
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "basic-block.h"
+#include "df.h"
#include "insn-config.h"
#include "recog.h"
#include "tree-pass.h"