aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2015-06-25 18:32:38 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2015-06-25 18:32:38 +0000
commitf08899397420db710610435f8b7fe1ac90867634 (patch)
tree2772b8c1924eccaec6aead11b83031a8d1852942
parent67b0404e1241f698f6bc5f5fc0b347565a35e599 (diff)
downloadgcc-f08899397420db710610435f8b7fe1ac90867634.zip
gcc-f08899397420db710610435f8b7fe1ac90867634.tar.gz
gcc-f08899397420db710610435f8b7fe1ac90867634.tar.bz2
function.h (ipa_opt_pass, [...]): Move forward declarations.
2015-06-25 Andrew MacLeod <amacleod@redhat.com> * function.h (ipa_opt_pass, ipa_opt_pass_d): Move forward declarations. * cgraph.h: Include ipa-ref.h and plugin-api.h. (ipa_opt_pass, ipa_opt_pass_d)): Relocate forward declarations here. (symtab_node::address_can_be_compared_p): Move function. * cgraph.c (symtab_node::address_can_be_compared_p): Relocate function definition here. * asan.c: Remove ipa-ref.h and plugin-api.h from include list. * auto-profile.c: Likewise. * bb-reorder.c: Likewise. * builtins.c: Likewise. * calls.c: Likewise. * cfgexpand.c: Likewise. * cgraphbuild.c: Likewise. * cgraphclones.c: Likewise. * cgraphunit.c: Likewise. * combine.c: Likewise. * coverage.c: Likewise. * data-streamer-in.c: Likewise. * data-streamer-out.c: Likewise. * data-streamer.c: Likewise. * dbxout.c: Likewise. * dwarf2out.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * final.c: Likewise. * fold-const.c: Likewise. * ggc-page.c: Likewise. * gimple-fold.c: Likewise. * gimple-iterator.c: Likewise. * gimple-pretty-print.c: Likewise. * gimple-streamer-in.c: Likewise. * gimple-streamer-out.c: Likewise. * gimple.c: Likewise. * gimplify.c: Likewise. * ipa-chkp.c: Likewise. * ipa-comdats.c: Likewise. * ipa-cp.c: Likewise. * ipa-devirt.c: Likewise. * ipa-icf-gimple.c: Likewise. * ipa-icf.c: Likewise. * ipa-inline-analysis.c: Likewise. * ipa-inline-transform.c: Likewise. * ipa-inline.c: Likewise. * ipa-polymorphic-call.c: Likewise. * ipa-profile.c: Likewise. * ipa-prop.c: Likewise. * ipa-pure-const.c: Likewise. * ipa-ref.c: Likewise. * ipa-reference.c: Likewise. * ipa-split.c: Likewise. * ipa-utils.c: Likewise. * ipa-visibility.c: Likewise. * ipa.c: Likewise. * langhooks.c: Likewise. * lto-cgraph.c: Likewise. * lto-compress.c: Likewise. * lto-opts.c: Likewise. * lto-section-in.c: Likewise. * lto-section-out.c: Likewise. * lto-streamer-in.c: Likewise. * lto-streamer-out.c: Likewise. * lto-streamer.c: Likewise. * omp-low.c: Likewise. * opts-global.c: Likewise. * passes.c: Likewise. * predict.c: Likewise. * print-tree.c: Likewise. * profile.c: Likewise. * ree.c: Likewise. * sanopt.c: Likewise. * stor-layout.c: Likewise. * symtab.c: Likewise. * toplev.c: Likewise. * trans-mem.c: Likewise. * tree-cfg.c: Likewise. * tree-chkp.c: Likewise. * tree-eh.c: Likewise. * tree-emutls.c: Likewise. * tree-inline.c: Likewise. * tree-nested.c: Likewise. * tree-parloops.c: Likewise. * tree-pretty-print.c: Likewise. * tree-profile.c: Likewise. * tree-sra.c: Likewise. * tree-ssa-alias.c: Likewise. * tree-ssa-live.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-pre.c: Likewise. * tree-ssa-sccvn.c: Likewise. * tree-ssa-strlen.c: Likewise. * tree-ssa-structalias.c: Likewise. * tree-streamer-in.c: Likewise. * tree-streamer-out.c: Likewise. * tree-streamer.c: Likewise. * tree-switch-conversion.c: Likewise. * tree-tailcall.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-stmts.c: Likewise. * tree-vectorizer.c: Likewise. * tree.c: Likewise. * tsan.c: Likewise. * ubsan.c: Likewise. * value-prof.c: Likewise. * varasm.c: Likewise. * varpool.c: Likewise. * config/arm/arm.c: Likewise. * config/bfin/bfin.c: Likewise. * config/c6x/c6x.c: Likewise. * config/cris/cris.c: Likewise. * config/darwin-c.c: Likewise. * config/darwin.c: Likewise. * config/i386/i386.c: Likewise. * config/i386/winnt.c: Likewise. * config/microblaze/microblaze.c: Likewise. * config/mips/mips.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rx/rx.c: Likewise. * config/s390/s390.c: Likewise. * config/tilegx/mul-tables.c: Likewise. ada 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * gcc-interface/trans.c: Remove ipa-ref.h and plugin-api.h from include list. * gcc-interface/utils.c: Likewise. c 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * c-decl.c: Remove ipa-ref.h and plugin-api.h from include list. * c-parser.c: Likewise. c-family 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * c-common.c: Remove ipa-ref.h and plugin-api.h from include list. * c-gimplify.c: Likewise. * c-pragma.c: Likewise. * c-ubsan.c: Likewise. * cilk.c: Likewise. cp 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * call.c: Remove ipa-ref.h and plugin-api.h from include list. * class.c: Likewise. * cp-ubsan.c: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * lambda.c: Likewise. * mangle.c: Likewise. * method.c: Likewise. * optimize.c: Likewise. * parser.c: Likewise. * semantics.c: Likewise. * tree.c: Likewise. * vtable-class-hierarchy.c: Likewise. fortran 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * f95-lang.c: Remove ipa-ref.h and plugin-api.h from include list. * trans-decl.c: Likewise. go 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list. java 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * class.c: Remove ipa-ref.h and plugin-api.h from include list. * decl.c: Likewise. * jcf-parse.c: Likewise. * resource.c: Likewise. jit 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * dummy-frontend.c: Remove ipa-ref.h and plugin-api.h from include list. * jit-playback.c: Likewise. lto 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * lto-lang.c: Remove ipa-ref.h and plugin-api.h from include list. * lto-object.c: Likewise. * lto-partition.c: Likewise. * lto-symtab.c: Likewise. * lto-tree.h: Likewise. * lto.c: Likewise. objc 2015-06-25 Andrew MacLeod <amacleod@redhat.com> * objc-act.c: Remove ipa-ref.h and plugin-api.h from include list. From-SVN: r224986
-rw-r--r--gcc/ChangeLog123
-rw-r--r--gcc/ada/ChangeLog6
-rw-r--r--gcc/ada/gcc-interface/trans.c2
-rw-r--r--gcc/ada/gcc-interface/utils.c2
-rw-r--r--gcc/asan.c2
-rw-r--r--gcc/auto-profile.c2
-rw-r--r--gcc/bb-reorder.c2
-rw-r--r--gcc/builtins.c1
-rw-r--r--gcc/c-family/ChangeLog8
-rw-r--r--gcc/c-family/c-common.c2
-rw-r--r--gcc/c-family/c-gimplify.c2
-rw-r--r--gcc/c-family/c-pragma.c2
-rw-r--r--gcc/c-family/c-ubsan.c2
-rw-r--r--gcc/c-family/cilk.c2
-rw-r--r--gcc/c/ChangeLog5
-rw-r--r--gcc/c/c-decl.c2
-rw-r--r--gcc/c/c-parser.c2
-rw-r--r--gcc/calls.c2
-rw-r--r--gcc/cfgexpand.c2
-rw-r--r--gcc/cgraph.c25
-rw-r--r--gcc/cgraph.h28
-rw-r--r--gcc/cgraphbuild.c2
-rw-r--r--gcc/cgraphclones.c2
-rw-r--r--gcc/cgraphunit.c2
-rw-r--r--gcc/combine.c2
-rw-r--r--gcc/config/arm/arm.c2
-rw-r--r--gcc/config/bfin/bfin.c2
-rw-r--r--gcc/config/c6x/c6x.c2
-rw-r--r--gcc/config/cris/cris.c2
-rw-r--r--gcc/config/darwin-c.c2
-rw-r--r--gcc/config/darwin.c2
-rw-r--r--gcc/config/i386/i386.c2
-rw-r--r--gcc/config/i386/winnt.c2
-rw-r--r--gcc/config/microblaze/microblaze.c2
-rw-r--r--gcc/config/mips/mips.c2
-rw-r--r--gcc/config/rs6000/rs6000.c2
-rw-r--r--gcc/config/rx/rx.c2
-rw-r--r--gcc/config/s390/s390.c2
-rw-r--r--gcc/config/tilegx/mul-tables.c11
-rw-r--r--gcc/coverage.c2
-rw-r--r--gcc/cp/ChangeLog16
-rw-r--r--gcc/cp/call.c2
-rw-r--r--gcc/cp/class.c2
-rw-r--r--gcc/cp/cp-ubsan.c1
-rw-r--r--gcc/cp/decl.c2
-rw-r--r--gcc/cp/decl2.c2
-rw-r--r--gcc/cp/lambda.c2
-rw-r--r--gcc/cp/mangle.c2
-rw-r--r--gcc/cp/method.c2
-rw-r--r--gcc/cp/optimize.c2
-rw-r--r--gcc/cp/parser.c2
-rw-r--r--gcc/cp/semantics.c2
-rw-r--r--gcc/cp/tree.c2
-rw-r--r--gcc/cp/vtable-class-hierarchy.c2
-rw-r--r--gcc/data-streamer-in.c2
-rw-r--r--gcc/data-streamer-out.c2
-rw-r--r--gcc/data-streamer.c2
-rw-r--r--gcc/dbxout.c2
-rw-r--r--gcc/dwarf2out.c2
-rw-r--r--gcc/except.c2
-rw-r--r--gcc/expr.c2
-rw-r--r--gcc/final.c2
-rw-r--r--gcc/fold-const.c2
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/f95-lang.c2
-rw-r--r--gcc/fortran/trans-decl.c2
-rw-r--r--gcc/function.h4
-rw-r--r--gcc/ggc-page.c2
-rw-r--r--gcc/gimple-fold.c2
-rw-r--r--gcc/gimple-iterator.c2
-rw-r--r--gcc/gimple-pretty-print.c2
-rw-r--r--gcc/gimple-streamer-in.c2
-rw-r--r--gcc/gimple-streamer-out.c2
-rw-r--r--gcc/gimple.c1
-rw-r--r--gcc/gimplify.c2
-rw-r--r--gcc/go/ChangeLog4
-rw-r--r--gcc/go/go-gcc.cc2
-rw-r--r--gcc/ipa-chkp.c1
-rw-r--r--gcc/ipa-comdats.c2
-rw-r--r--gcc/ipa-cp.c2
-rw-r--r--gcc/ipa-devirt.c2
-rw-r--r--gcc/ipa-icf-gimple.c2
-rw-r--r--gcc/ipa-icf.c2
-rw-r--r--gcc/ipa-inline-analysis.c2
-rw-r--r--gcc/ipa-inline-transform.c2
-rw-r--r--gcc/ipa-inline.c2
-rw-r--r--gcc/ipa-polymorphic-call.c2
-rw-r--r--gcc/ipa-profile.c2
-rw-r--r--gcc/ipa-prop.c2
-rw-r--r--gcc/ipa-pure-const.c2
-rw-r--r--gcc/ipa-ref.c2
-rw-r--r--gcc/ipa-reference.c2
-rw-r--r--gcc/ipa-split.c2
-rw-r--r--gcc/ipa-utils.c2
-rw-r--r--gcc/ipa-visibility.c2
-rw-r--r--gcc/ipa.c2
-rw-r--r--gcc/java/ChangeLog7
-rw-r--r--gcc/java/class.c2
-rw-r--r--gcc/java/decl.c2
-rw-r--r--gcc/java/jcf-parse.c2
-rw-r--r--gcc/java/resource.c2
-rw-r--r--gcc/jit/ChangeLog5
-rw-r--r--gcc/jit/dummy-frontend.c2
-rw-r--r--gcc/jit/jit-playback.c2
-rw-r--r--gcc/langhooks.c2
-rw-r--r--gcc/lto-cgraph.c2
-rw-r--r--gcc/lto-compress.c2
-rw-r--r--gcc/lto-opts.c2
-rw-r--r--gcc/lto-section-in.c2
-rw-r--r--gcc/lto-section-out.c2
-rw-r--r--gcc/lto-streamer-in.c2
-rw-r--r--gcc/lto-streamer-out.c2
-rw-r--r--gcc/lto-streamer.c2
-rw-r--r--gcc/lto/ChangeLog9
-rw-r--r--gcc/lto/lto-lang.c2
-rw-r--r--gcc/lto/lto-object.c2
-rw-r--r--gcc/lto/lto-partition.c2
-rw-r--r--gcc/lto/lto-symtab.c2
-rw-r--r--gcc/lto/lto-tree.h2
-rw-r--r--gcc/lto/lto.c2
-rw-r--r--gcc/objc/ChangeLog4
-rw-r--r--gcc/objc/objc-act.c2
-rw-r--r--gcc/omp-low.c2
-rw-r--r--gcc/opts-global.c2
-rw-r--r--gcc/passes.c2
-rw-r--r--gcc/predict.c2
-rw-r--r--gcc/print-tree.c2
-rw-r--r--gcc/profile.c2
-rw-r--r--gcc/ree.c2
-rw-r--r--gcc/sanopt.c1
-rw-r--r--gcc/stor-layout.c2
-rw-r--r--gcc/symtab.c2
-rw-r--r--gcc/toplev.c2
-rw-r--r--gcc/trans-mem.c2
-rw-r--r--gcc/tree-cfg.c2
-rw-r--r--gcc/tree-chkp.c1
-rw-r--r--gcc/tree-eh.c2
-rw-r--r--gcc/tree-emutls.c2
-rw-r--r--gcc/tree-inline.c2
-rw-r--r--gcc/tree-nested.c2
-rw-r--r--gcc/tree-parloops.c2
-rw-r--r--gcc/tree-pretty-print.c2
-rw-r--r--gcc/tree-profile.c2
-rw-r--r--gcc/tree-sra.c2
-rw-r--r--gcc/tree-ssa-alias.c2
-rw-r--r--gcc/tree-ssa-live.c1
-rw-r--r--gcc/tree-ssa-loop-ivcanon.c2
-rw-r--r--gcc/tree-ssa-loop-ivopts.c2
-rw-r--r--gcc/tree-ssa-pre.c2
-rw-r--r--gcc/tree-ssa-sccvn.c2
-rw-r--r--gcc/tree-ssa-strlen.c2
-rw-r--r--gcc/tree-ssa-structalias.c2
-rw-r--r--gcc/tree-streamer-in.c2
-rw-r--r--gcc/tree-streamer-out.c2
-rw-r--r--gcc/tree-streamer.c2
-rw-r--r--gcc/tree-switch-conversion.c2
-rw-r--r--gcc/tree-tailcall.c2
-rw-r--r--gcc/tree-vect-data-refs.c2
-rw-r--r--gcc/tree-vect-stmts.c2
-rw-r--r--gcc/tree-vectorizer.c2
-rw-r--r--gcc/tree.c2
-rw-r--r--gcc/tsan.c2
-rw-r--r--gcc/ubsan.c2
-rw-r--r--gcc/value-prof.c2
-rw-r--r--gcc/varasm.c2
-rw-r--r--gcc/varpool.c2
166 files changed, 231 insertions, 324 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index adf043f..4f65eef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,126 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * function.h (ipa_opt_pass, ipa_opt_pass_d): Move forward declarations.
+ * cgraph.h: Include ipa-ref.h and plugin-api.h.
+ (ipa_opt_pass, ipa_opt_pass_d)): Relocate forward declarations here.
+ (symtab_node::address_can_be_compared_p): Move function.
+ * cgraph.c (symtab_node::address_can_be_compared_p): Relocate function
+ definition here.
+ * asan.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * auto-profile.c: Likewise.
+ * bb-reorder.c: Likewise.
+ * builtins.c: Likewise.
+ * calls.c: Likewise.
+ * cfgexpand.c: Likewise.
+ * cgraphbuild.c: Likewise.
+ * cgraphclones.c: Likewise.
+ * cgraphunit.c: Likewise.
+ * combine.c: Likewise.
+ * coverage.c: Likewise.
+ * data-streamer-in.c: Likewise.
+ * data-streamer-out.c: Likewise.
+ * data-streamer.c: Likewise.
+ * dbxout.c: Likewise.
+ * dwarf2out.c: Likewise.
+ * except.c: Likewise.
+ * expr.c: Likewise.
+ * final.c: Likewise.
+ * fold-const.c: Likewise.
+ * ggc-page.c: Likewise.
+ * gimple-fold.c: Likewise.
+ * gimple-iterator.c: Likewise.
+ * gimple-pretty-print.c: Likewise.
+ * gimple-streamer-in.c: Likewise.
+ * gimple-streamer-out.c: Likewise.
+ * gimple.c: Likewise.
+ * gimplify.c: Likewise.
+ * ipa-chkp.c: Likewise.
+ * ipa-comdats.c: Likewise.
+ * ipa-cp.c: Likewise.
+ * ipa-devirt.c: Likewise.
+ * ipa-icf-gimple.c: Likewise.
+ * ipa-icf.c: Likewise.
+ * ipa-inline-analysis.c: Likewise.
+ * ipa-inline-transform.c: Likewise.
+ * ipa-inline.c: Likewise.
+ * ipa-polymorphic-call.c: Likewise.
+ * ipa-profile.c: Likewise.
+ * ipa-prop.c: Likewise.
+ * ipa-pure-const.c: Likewise.
+ * ipa-ref.c: Likewise.
+ * ipa-reference.c: Likewise.
+ * ipa-split.c: Likewise.
+ * ipa-utils.c: Likewise.
+ * ipa-visibility.c: Likewise.
+ * ipa.c: Likewise.
+ * langhooks.c: Likewise.
+ * lto-cgraph.c: Likewise.
+ * lto-compress.c: Likewise.
+ * lto-opts.c: Likewise.
+ * lto-section-in.c: Likewise.
+ * lto-section-out.c: Likewise.
+ * lto-streamer-in.c: Likewise.
+ * lto-streamer-out.c: Likewise.
+ * lto-streamer.c: Likewise.
+ * omp-low.c: Likewise.
+ * opts-global.c: Likewise.
+ * passes.c: Likewise.
+ * predict.c: Likewise.
+ * print-tree.c: Likewise.
+ * profile.c: Likewise.
+ * ree.c: Likewise.
+ * sanopt.c: Likewise.
+ * stor-layout.c: Likewise.
+ * symtab.c: Likewise.
+ * toplev.c: Likewise.
+ * trans-mem.c: Likewise.
+ * tree-cfg.c: Likewise.
+ * tree-chkp.c: Likewise.
+ * tree-eh.c: Likewise.
+ * tree-emutls.c: Likewise.
+ * tree-inline.c: Likewise.
+ * tree-nested.c: Likewise.
+ * tree-parloops.c: Likewise.
+ * tree-pretty-print.c: Likewise.
+ * tree-profile.c: Likewise.
+ * tree-sra.c: Likewise.
+ * tree-ssa-alias.c: Likewise.
+ * tree-ssa-live.c: Likewise.
+ * tree-ssa-loop-ivcanon.c: Likewise.
+ * tree-ssa-loop-ivopts.c: Likewise.
+ * tree-ssa-pre.c: Likewise.
+ * tree-ssa-sccvn.c: Likewise.
+ * tree-ssa-strlen.c: Likewise.
+ * tree-ssa-structalias.c: Likewise.
+ * tree-streamer-in.c: Likewise.
+ * tree-streamer-out.c: Likewise.
+ * tree-streamer.c: Likewise.
+ * tree-switch-conversion.c: Likewise.
+ * tree-tailcall.c: Likewise.
+ * tree-vect-data-refs.c: Likewise.
+ * tree-vect-stmts.c: Likewise.
+ * tree-vectorizer.c: Likewise.
+ * tree.c: Likewise.
+ * tsan.c: Likewise.
+ * ubsan.c: Likewise.
+ * value-prof.c: Likewise.
+ * varasm.c: Likewise.
+ * varpool.c: Likewise.
+ * config/arm/arm.c: Likewise.
+ * config/bfin/bfin.c: Likewise.
+ * config/c6x/c6x.c: Likewise.
+ * config/cris/cris.c: Likewise.
+ * config/darwin-c.c: Likewise.
+ * config/darwin.c: Likewise.
+ * config/i386/i386.c: Likewise.
+ * config/i386/winnt.c: Likewise.
+ * config/microblaze/microblaze.c: Likewise.
+ * config/mips/mips.c: Likewise.
+ * config/rs6000/rs6000.c: Likewise.
+ * config/rx/rx.c: Likewise.
+ * config/s390/s390.c: Likewise.
+ * config/tilegx/mul-tables.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* config/aarch64/aarch64.c, config/alpha/alpha.c,
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d07340a..3926d2d 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc-interface/trans.c: Remove ipa-ref.h and plugin-api.h from include
+ list.
+ * gcc-interface/utils.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* gcc-interface/decl.c (value_annotation_hasher): Inherit from
diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c
index bf15955..e9a9e4a 100644
--- a/gcc/ada/gcc-interface/trans.c
+++ b/gcc/ada/gcc-interface/trans.c
@@ -45,10 +45,8 @@
#include "gimplify.h"
#include "bitmap.h"
#include "hash-map.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "diagnostic.h"
#include "opts.h"
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index f09db59..29cc62f 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -48,10 +48,8 @@
#include "common/common-target.h"
#include "langhooks.h"
#include "hash-map.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "diagnostic.h"
#include "timevar.h"
diff --git a/gcc/asan.c b/gcc/asan.c
index 3d72240..5fac247 100644
--- a/gcc/asan.c
+++ b/gcc/asan.c
@@ -45,8 +45,6 @@ along with GCC; see the file COPYING3. If not see
#include "varasm.h"
#include "stor-layout.h"
#include "tree-iterator.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "stringpool.h"
#include "tree-ssanames.h"
diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c
index ab5a27e..5fdd33f 100644
--- a/gcc/auto-profile.c
+++ b/gcc/auto-profile.c
@@ -57,8 +57,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "value-prof.h"
#include "coverage.h"
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 2fb4e44..dd98527 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -118,8 +118,6 @@
#include "basic-block.h"
#include "df.h"
#include "bb-reorder.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "except.h"
#include "fibonacci_heap.h"
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 1b5e659..4dc8a15 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -67,7 +67,6 @@ along with GCC; see the file COPYING3. If not see
#include "builtins.h"
#include "asan.h"
#include "cilk.h"
-#include "ipa-ref.h"
#include "lto-streamer.h"
#include "cgraph.h"
#include "tree-chkp.h"
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 780d916b..619bca6 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,11 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * c-common.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * c-gimplify.c: Likewise.
+ * c-pragma.c: Likewise.
+ * c-ubsan.c: Likewise.
+ * cilk.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* c-common.c (c_type_hasher): Inherit from ggc_ptr_hash rather than
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c
index 1802630..73d0c7f 100644
--- a/gcc/c-family/c-common.c
+++ b/gcc/c-family/c-common.c
@@ -47,10 +47,8 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "tree-iterator.h"
#include "opts.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "gimplify.h"
#include "wide-int-print.h"
diff --git a/gcc/c-family/c-gimplify.c b/gcc/c-family/c-gimplify.c
index c557f66..317891f 100644
--- a/gcc/c-family/c-gimplify.c
+++ b/gcc/c-family/c-gimplify.c
@@ -48,8 +48,6 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "dumpfile.h"
#include "c-pretty-print.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "cilk.h"
#include "c-ubsan.h"
diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c
index 5987236..af753c7 100644
--- a/gcc/c-family/c-pragma.c
+++ b/gcc/c-family/c-pragma.c
@@ -42,8 +42,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "opts.h"
#include "plugin.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#define GCC_BAD(gmsgid) \
diff --git a/gcc/c-family/c-ubsan.c b/gcc/c-family/c-ubsan.c
index 6cf2a74..10524d2 100644
--- a/gcc/c-family/c-ubsan.c
+++ b/gcc/c-family/c-ubsan.c
@@ -26,11 +26,9 @@ along with GCC; see the file COPYING3. If not see
#include "options.h"
#include "tree.h"
#include "alloc-pool.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "output.h"
#include "toplev.h"
diff --git a/gcc/c-family/cilk.c b/gcc/c-family/cilk.c
index 29ac1b2..c6ca288 100644
--- a/gcc/c-family/cilk.c
+++ b/gcc/c-family/cilk.c
@@ -36,12 +36,10 @@ along with GCC; see the file COPYING3. If not see
#include "tree-inline.h"
#include "c-family/c-common.h"
#include "toplev.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
#include "calls.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "diagnostic.h"
#include "cilk.h"
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index e727fb5..4f89f8f 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * c-decl.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * c-parser.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* c-decl.c (detect_field_duplicates_hash): Use nofree_ptr_hash
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c
index 8621515..6aac8c3 100644
--- a/gcc/c/c-decl.c
+++ b/gcc/c/c-decl.c
@@ -59,8 +59,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-iterator.h"
#include "diagnostic-core.h"
#include "dumpfile.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "langhooks-def.h"
#include "plugin.h"
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c
index aaf7e32..b863dbc 100644
--- a/gcc/c/c-parser.c
+++ b/gcc/c/c-parser.c
@@ -59,10 +59,8 @@ along with GCC; see the file COPYING3. If not see
#include "c-family/c-common.h"
#include "c-family/c-objc.h"
#include "target.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "plugin.h"
#include "omp-low.h"
diff --git a/gcc/calls.c b/gcc/calls.c
index 7cb2c3d..a8a1d0e 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -59,8 +59,6 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "langhooks.h"
#include "target.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "except.h"
#include "dbgcnt.h"
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index a2b9977..05eb2ad 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -62,8 +62,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-iterator.h"
#include "gimple-walk.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 698f56e..8314ecf 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -44,10 +44,8 @@ along with GCC; see the file COPYING3. If not see
#include "dominance.h"
#include "cfg.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "intl.h"
#include "tree-ssa-alias.h"
@@ -159,6 +157,29 @@ function_version_hasher::equal (cgraph_function_version_info *n1,
static GTY(()) struct cgraph_function_version_info *
version_info_node = NULL;
+/* Return true if NODE's address can be compared. */
+
+bool
+symtab_node::address_can_be_compared_p ()
+{
+ /* Address of virtual tables and functions is never compared. */
+ if (DECL_VIRTUAL_P (decl))
+ return false;
+ /* Address of C++ cdtors is never compared. */
+ if (is_a <cgraph_node *> (this)
+ && (DECL_CXX_CONSTRUCTOR_P (decl)
+ || DECL_CXX_DESTRUCTOR_P (decl)))
+ return false;
+ /* Constant pool symbols addresses are never compared.
+ flag_merge_constants permits us to assume the same on readonly vars. */
+ if (is_a <varpool_node *> (this)
+ && (DECL_IN_CONSTANT_POOL (decl)
+ || (flag_merge_constants >= 2
+ && TREE_READONLY (decl) && !TREE_THIS_VOLATILE (decl))))
+ return false;
+ return true;
+}
+
/* Get the cgraph_function_version_info node corresponding to node. */
cgraph_function_version_info *
cgraph_node::function_version (void)
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index affed3a..0fe58e1 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -21,6 +21,11 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_CGRAPH_H
#define GCC_CGRAPH_H
+#include "ipa-ref.h"
+#include "plugin-api.h"
+
+class ipa_opt_pass_d;
+typedef ipa_opt_pass_d *ipa_opt_pass;
/* Symbol table consists of functions and variables.
TODO: add labels and CONST_DECLs. */
@@ -3005,29 +3010,6 @@ varpool_node::call_for_symbol_and_aliases (bool (*callback) (varpool_node *,
return false;
}
-/* Return true if NODE's address can be compared. */
-
-inline bool
-symtab_node::address_can_be_compared_p ()
-{
- /* Address of virtual tables and functions is never compared. */
- if (DECL_VIRTUAL_P (decl))
- return false;
- /* Address of C++ cdtors is never compared. */
- if (is_a <cgraph_node *> (this)
- && (DECL_CXX_CONSTRUCTOR_P (decl)
- || DECL_CXX_DESTRUCTOR_P (decl)))
- return false;
- /* Constant pool symbols addresses are never compared.
- flag_merge_constants permits us to assume the same on readonly vars. */
- if (is_a <varpool_node *> (this)
- && (DECL_IN_CONSTANT_POOL (decl)
- || (flag_merge_constants >= 2
- && TREE_READONLY (decl) && !TREE_THIS_VOLATILE (decl))))
- return false;
- return true;
-}
-
/* Return true if refernece may be used in address compare. */
inline bool
diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c
index 6726a34..4dc4c26 100644
--- a/gcc/cgraphbuild.c
+++ b/gcc/cgraphbuild.c
@@ -42,8 +42,6 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "intl.h"
#include "tree-pass.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "except.h"
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
index baf347a..aad9b81 100644
--- a/gcc/cgraphclones.c
+++ b/gcc/cgraphclones.c
@@ -95,8 +95,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "params.h"
#include "intl.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 066a155..1b35646 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -198,8 +198,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "params.h"
#include "intl.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/combine.c b/gcc/combine.c
index f3802d7..8eaae7c 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -116,8 +116,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "df.h"
#include "valtrack.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "obstack.h"
#include "rtl-iter.h"
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index b5b9fc1..83f3269 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -62,8 +62,6 @@
#include "cfgbuild.h"
#include "cfgcleanup.h"
#include "basic-block.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "except.h"
#include "tm_p.h"
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 7ddc58e..8c1e18a 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -59,8 +59,6 @@
#include "cfgbuild.h"
#include "cfgcleanup.h"
#include "basic-block.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "langhooks.h"
#include "bfin-protos.h"
diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c
index eb697020..1efac28 100644
--- a/gcc/config/c6x/c6x.c
+++ b/gcc/config/c6x/c6x.c
@@ -65,8 +65,6 @@
#include "tm-constrs.h"
#include "df.h"
#include "diagnostic-core.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "langhooks.h"
#include "target.h"
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index d70e4d4..d77926e 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -65,8 +65,6 @@ along with GCC; see the file COPYING3. If not see
#include "basic-block.h"
#include "df.h"
#include "opts.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "builtins.h"
diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c
index 4556895..e9232c0a 100644
--- a/gcc/config/darwin-c.c
+++ b/gcc/config/darwin-c.c
@@ -47,10 +47,8 @@ along with GCC; see the file COPYING3. If not see
#include "cfgbuild.h"
#include "cfgcleanup.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "../../libcpp/internal.h"
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 93c6d67..6f0c29a 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -71,8 +71,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-expr.h"
#include "gimple.h"
#include "gimplify.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 0145c78..7bace3c 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -65,8 +65,6 @@ along with GCC; see the file COPYING3. If not see
#include "common/common-target.h"
#include "langhooks.h"
#include "reload.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c
index a30215b..51045cb 100644
--- a/gcc/config/i386/winnt.c
+++ b/gcc/config/i386/winnt.c
@@ -55,8 +55,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-eh.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
index 4b96dd8..7fde179 100644
--- a/gcc/config/microblaze/microblaze.c
+++ b/gcc/config/microblaze/microblaze.c
@@ -63,8 +63,6 @@
#include "insn-codes.h"
#include "optabs.h"
#include "diagnostic-core.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "builtins.h"
#include "rtl-iter.h"
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index cc675ea..da0943b 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -82,8 +82,6 @@ along with GCC; see the file COPYING3. If not see
#include "opts.h"
#include "tree-pass.h"
#include "context.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "builtins.h"
#include "rtl-iter.h"
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index ccfc0a8..1308d0c 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -86,8 +86,6 @@
#include "opts.h"
#include "tree-vectorizer.h"
#include "dumpfile.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "target-globals.h"
#include "builtins.h"
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c
index 9d91820..ae994a4 100644
--- a/gcc/config/rx/rx.c
+++ b/gcc/config/rx/rx.c
@@ -69,8 +69,6 @@
#include "target.h"
#include "langhooks.h"
#include "opts.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "builtins.h"
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 1de8d07..4ef8e42 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -83,8 +83,6 @@ along with GCC; see the file COPYING3. If not see
#include "builtins.h"
#include "rtl-iter.h"
#include "intl.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
/* This file should be included last. */
diff --git a/gcc/config/tilegx/mul-tables.c b/gcc/config/tilegx/mul-tables.c
index bf9294d..6f5df47 100644
--- a/gcc/config/tilegx/mul-tables.c
+++ b/gcc/config/tilegx/mul-tables.c
@@ -25,12 +25,23 @@
#include "system.h"
#include "coretypes.h"
#include "symtab.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 "flags.h"
+#include "statistics.h"
+#include "double-int.h"
+#include "real.h"
+#include "fixed-value.h"
#include "alias.h"
+#include "wide-int.h"
+#include "inchash.h"
#include "tree.h"
#include "insn-config.h"
#include "expmed.h"
diff --git a/gcc/coverage.c b/gcc/coverage.c
index a9c5e86..2ddf710 100644
--- a/gcc/coverage.c
+++ b/gcc/coverage.c
@@ -61,8 +61,6 @@ along with GCC; see the file COPYING3. If not see
#include "context.h"
#include "pass_manager.h"
#include "tree-pass.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "dumpfile.h"
#include "diagnostic-core.h"
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 338e21e..5155540 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,19 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * call.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * class.c: Likewise.
+ * cp-ubsan.c: Likewise.
+ * decl.c: Likewise.
+ * decl2.c: Likewise.
+ * lambda.c: Likewise.
+ * mangle.c: Likewise.
+ * method.c: Likewise.
+ * optimize.c: Likewise.
+ * parser.c: Likewise.
+ * semantics.c: Likewise.
+ * tree.c: Likewise.
+ * vtable-class-hierarchy.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* constexpr.c (constexpr_fundef_hasher): Inherit from ggc_ptr_hash
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index a6c313a..0e8840b 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -42,10 +42,8 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "c-family/c-objc.h"
#include "timevar.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "internal-fn.h"
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 007c49e..f4e4f85 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -37,10 +37,8 @@ along with GCC; see the file COPYING3. If not see
#include "toplev.h"
#include "target.h"
#include "convert.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "dumpfile.h"
#include "splay-tree.h"
diff --git a/gcc/cp/cp-ubsan.c b/gcc/cp/cp-ubsan.c
index 1ae897b..0c1b047 100644
--- a/gcc/cp/cp-ubsan.c
+++ b/gcc/cp/cp-ubsan.c
@@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see
#include "basic-block.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "ipa-ref.h"
#include "lto-streamer.h"
#include "cgraph.h"
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 545f4cd..1fa28b2 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -59,10 +59,8 @@ along with GCC; see the file COPYING3. If not see
#include "timevar.h"
#include "splay-tree.h"
#include "plugin.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "cilk.h"
#include "builtins.h"
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index e24d2d6..f045253 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -47,10 +47,8 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "c-family/c-common.h"
#include "c-family/c-objc.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-inline.h"
#include "c-family/c-pragma.h"
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c
index 0ac96af..13c1255 100644
--- a/gcc/cp/lambda.c
+++ b/gcc/cp/lambda.c
@@ -29,11 +29,9 @@ along with GCC; see the file COPYING3. If not see
#include "options.h"
#include "tree.h"
#include "stringpool.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-iterator.h"
#include "cp-tree.h"
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 2fdc4b2..c1a81fc 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -59,10 +59,8 @@ along with GCC; see the file COPYING3. If not see
#include "obstack.h"
#include "flags.h"
#include "target.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "attribs.h"
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index da03c36..2d5aa63 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -37,10 +37,8 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "common/common-target.h"
#include "diagnostic.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
/* Various flags to control the mangling process. */
diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c
index 2440d5f..89750c0 100644
--- a/gcc/cp/optimize.c
+++ b/gcc/cp/optimize.c
@@ -36,10 +36,8 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "dumpfile.h"
#include "tree-iterator.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
/* Prototypes. */
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index e0e484a..6dc79ac 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -38,10 +38,8 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "diagnostic-core.h"
#include "target.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "c-family/c-common.h"
#include "c-family/c-objc.h"
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index cf34ddb..2f3303a 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -43,10 +43,8 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "timevar.h"
#include "diagnostic.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-iterator.h"
#include "target.h"
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index f373ddd..9ee203f 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -35,10 +35,8 @@ along with GCC; see the file COPYING3. If not see
#include "tree-inline.h"
#include "debug.h"
#include "convert.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "splay-tree.h"
#include "gimple-expr.h"
diff --git a/gcc/cp/vtable-class-hierarchy.c b/gcc/cp/vtable-class-hierarchy.c
index 9f06a30..a1582e7 100644
--- a/gcc/cp/vtable-class-hierarchy.c
+++ b/gcc/cp/vtable-class-hierarchy.c
@@ -115,11 +115,9 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "cp-tree.h"
#include "output.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-iterator.h"
#include "vtable-verify.h"
diff --git a/gcc/data-streamer-in.c b/gcc/data-streamer-in.c
index fc48787..7a75edf 100644
--- a/gcc/data-streamer-in.c
+++ b/gcc/data-streamer-in.c
@@ -38,8 +38,6 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
diff --git a/gcc/data-streamer-out.c b/gcc/data-streamer-out.c
index 5d7a3b1..e68d1fb 100644
--- a/gcc/data-streamer-out.c
+++ b/gcc/data-streamer-out.c
@@ -37,8 +37,6 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
diff --git a/gcc/data-streamer.c b/gcc/data-streamer.c
index 1c98baa..014e5f2 100644
--- a/gcc/data-streamer.c
+++ b/gcc/data-streamer.c
@@ -36,8 +36,6 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 469ff35..17261c1 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -100,8 +100,6 @@ along with GCC; see the file COPYING3. If not see
#include "emit-rtl.h"
#include "stmt.h"
#include "expr.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "stringpool.h"
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 11d1127..9d4b39e 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -96,8 +96,6 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "common/common-target.h"
#include "langhooks.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ira.h"
#include "lra.h"
diff --git a/gcc/except.c b/gcc/except.c
index fae85a2..d5f886e 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -151,8 +151,6 @@ along with GCC; see the file COPYING3. If not see
#include "cfg.h"
#include "cfgrtl.h"
#include "basic-block.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "diagnostic.h"
#include "tree-pretty-print.h"
diff --git a/gcc/expr.c b/gcc/expr.c
index 78904c2..408ae1a 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -65,8 +65,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-expr.h"
#include "gimple.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-ssanames.h"
#include "target.h"
diff --git a/gcc/final.c b/gcc/final.c
index 399c255..a4b0f36 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -82,8 +82,6 @@ along with GCC; see the file COPYING3. If not see
#include "stmt.h"
#include "expr.h"
#include "tree-pass.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-ssa.h"
#include "coverage.h"
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index c32ac3d..8fa32c6 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -80,8 +80,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimplify.h"
#include "tree-dfa.h"
#include "builtins.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "generic-match.h"
#include "optabs.h"
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 42a3064..0d28550 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * f95-lang.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * trans-decl.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* trans-decl.c (module_hasher): Likewise.
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c
index 725cf19..1d96094 100644
--- a/gcc/fortran/f95-lang.c
+++ b/gcc/fortran/f95-lang.c
@@ -44,8 +44,6 @@ along with GCC; see the file COPYING3. If not see
#include "debug.h"
#include "diagnostic.h" /* For errorcount/warningcount */
#include "dumpfile.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "cpp.h"
#include "trans.h"
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index 09cdcd0..5b10524 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -41,8 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "hard-reg-set.h"
#include "function.h"
#include "flags.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "debug.h"
#include "constructor.h"
diff --git a/gcc/function.h b/gcc/function.h
index e286188..dc4a8cc 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -156,10 +156,6 @@ struct gimple_df;
struct call_site_record_d;
struct dw_fde_node;
-class ipa_opt_pass_d;
-typedef ipa_opt_pass_d *ipa_opt_pass;
-
-
struct GTY(()) varasm_status {
/* If we're using a per-function constant pool, this is it. */
struct rtx_constant_pool *pool;
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index d46bc42..0f07000 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -31,10 +31,8 @@ along with GCC; see the file COPYING3. If not see
#include "ggc-internal.h"
#include "timevar.h"
#include "params.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "cfgloop.h"
#include "plugin.h"
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index 28dafd4..ee9abe7 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -60,8 +60,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-ssa.h"
#include "tree-ssa-propagate.h"
#include "target.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "gimple-pretty-print.h"
diff --git a/gcc/gimple-iterator.c b/gcc/gimple-iterator.c
index b51c3c9..3781b46 100644
--- a/gcc/gimple-iterator.c
+++ b/gcc/gimple-iterator.c
@@ -39,8 +39,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c
index a006fa9..e8e3a6d 100644
--- a/gcc/gimple-pretty-print.c
+++ b/gcc/gimple-pretty-print.c
@@ -42,8 +42,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-ssanames.h"
diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c
index f1ec3de2..6081c5b 100644
--- a/gcc/gimple-streamer-in.c
+++ b/gcc/gimple-streamer-in.c
@@ -45,8 +45,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-phinodes.h"
#include "stringpool.h"
#include "tree-ssanames.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "tree-streamer.h"
diff --git a/gcc/gimple-streamer-out.c b/gcc/gimple-streamer-out.c
index 6732bc1..b1389fc 100644
--- a/gcc/gimple-streamer-out.c
+++ b/gcc/gimple-streamer-out.c
@@ -39,8 +39,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "gimple-streamer.h"
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 20cd840..b32c6b5 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -55,7 +55,6 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "stringpool.h"
#include "tree-ssanames.h"
-#include "ipa-ref.h"
#include "lto-streamer.h"
#include "cgraph.h"
#include "gimple-ssa.h"
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index 5f4936c..74b2dcd 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -61,8 +61,6 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "bitmap.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-ssanames.h"
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index 44c33e0..b775b20 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list.
+
2015-06-17 Andrew MacLeod <amacleod@redhat.com>
* go-backend.c: Do not include input.h, line-map.h or is-a.h.
diff --git a/gcc/go/go-gcc.cc b/gcc/go/go-gcc.cc
index cee100b..41bcdf8 100644
--- a/gcc/go/go-gcc.cc
+++ b/gcc/go/go-gcc.cc
@@ -36,11 +36,9 @@
#include "varasm.h"
#include "tree-iterator.h"
#include "hash-map.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "convert.h"
#include "gimple-expr.h"
diff --git a/gcc/ipa-chkp.c b/gcc/ipa-chkp.c
index c0bc432..acb89be 100644
--- a/gcc/ipa-chkp.c
+++ b/gcc/ipa-chkp.c
@@ -39,7 +39,6 @@ along with GCC; see the file COPYING3. If not see
#include "predict.h"
#include "basic-block.h"
#include "gimple.h"
-#include "ipa-ref.h"
#include "lto-streamer.h"
#include "cgraph.h"
#include "tree-chkp.h"
diff --git a/gcc/ipa-comdats.c b/gcc/ipa-comdats.c
index c68deb6..fda793a 100644
--- a/gcc/ipa-comdats.c
+++ b/gcc/ipa-comdats.c
@@ -55,10 +55,8 @@ along with GCC; see the file COPYING3. If not see
#include "alias.h"
#include "symtab.h"
#include "tree.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-pass.h"
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index b87c984..02b027d 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -113,11 +113,9 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "predict.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 80f73a6..905776e 100644
--- a/gcc/ipa-devirt.c
+++ b/gcc/ipa-devirt.c
@@ -117,10 +117,8 @@ along with GCC; see the file COPYING3. If not see
#include "calls.h"
#include "predict.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "rtl.h"
#include "flags.h"
diff --git a/gcc/ipa-icf-gimple.c b/gcc/ipa-icf-gimple.c
index c151cd1..8317dc1 100644
--- a/gcc/ipa-icf-gimple.c
+++ b/gcc/ipa-icf-gimple.c
@@ -56,8 +56,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-pretty-print.h"
#include "cfgloop.h"
#include "except.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "ipa-utils.h"
diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c
index 1f0a55f..691c90d 100644
--- a/gcc/ipa-icf.c
+++ b/gcc/ipa-icf.c
@@ -91,8 +91,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-dfa.h"
#include "tree-pass.h"
#include "gimple-pretty-print.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c
index d062d7a..18bc68a 100644
--- a/gcc/ipa-inline-analysis.c
+++ b/gcc/ipa-inline-analysis.c
@@ -102,8 +102,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-ssanames.h"
#include "tree-ssa-loop-niter.h"
#include "tree-ssa-loop.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c
index 7baa302..6cb9a9e 100644
--- a/gcc/ipa-inline-transform.c
+++ b/gcc/ipa-inline-transform.c
@@ -39,10 +39,8 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "coverage.h"
#include "tree-cfg.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index 40606b9..6e598d1 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -120,8 +120,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-expr.h"
#include "gimple.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/ipa-polymorphic-call.c b/gcc/ipa-polymorphic-call.c
index ac8c78e..d876b3b 100644
--- a/gcc/ipa-polymorphic-call.c
+++ b/gcc/ipa-polymorphic-call.c
@@ -45,8 +45,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pretty-print.h"
#include "predict.h"
#include "basic-block.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c
index 9f2d67c..809a677 100644
--- a/gcc/ipa-profile.c
+++ b/gcc/ipa-profile.c
@@ -56,10 +56,8 @@ along with GCC; see the file COPYING3. If not see
#include "dominance.h"
#include "cfg.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.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 cf3fa4e..b5044cf 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -57,8 +57,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-walk.h"
#include "langhooks.h"
#include "target.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c
index 371234c..dbceb04 100644
--- a/gcc/ipa-pure-const.c
+++ b/gcc/ipa-pure-const.c
@@ -60,8 +60,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-inline.h"
#include "tree-pass.h"
#include "langhooks.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "flags.h"
diff --git a/gcc/ipa-ref.c b/gcc/ipa-ref.c
index 3e34017..8a2ca4c 100644
--- a/gcc/ipa-ref.c
+++ b/gcc/ipa-ref.c
@@ -27,11 +27,9 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "fold-const.h"
#include "target.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c
index df018c7..d53abb6 100644
--- a/gcc/ipa-reference.c
+++ b/gcc/ipa-reference.c
@@ -57,8 +57,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-inline.h"
#include "tree-pass.h"
#include "splay-tree.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "bitmap.h"
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index c1ce1a4..13d9a64 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -111,8 +111,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimplify-me.h"
#include "gimple-walk.h"
#include "target.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c
index e2e0eed..d666b0a 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -41,8 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "dumpfile.h"
#include "langhooks.h"
#include "splay-tree.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "bitmap.h"
diff --git a/gcc/ipa-visibility.c b/gcc/ipa-visibility.c
index 1389dd9..f6c1f40 100644
--- a/gcc/ipa-visibility.c
+++ b/gcc/ipa-visibility.c
@@ -79,10 +79,8 @@ along with GCC; see the file COPYING3. If not see
#include "alias.h"
#include "symtab.h"
#include "tree.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-pass.h"
#include "calls.h"
diff --git a/gcc/ipa.c b/gcc/ipa.c
index e7d4704..fdfb880 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -30,10 +30,8 @@ along with GCC; see the file COPYING3. If not see
#include "stringpool.h"
#include "predict.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-pass.h"
#include "gimple-expr.h"
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 96a5c63..320c942 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,10 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * class.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * decl.c: Likewise.
+ * jcf-parse.c: Likewise.
+ * resource.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* jcf-io.c (memoized_class_lookups): Use nofree_string_hash.
diff --git a/gcc/java/class.c b/gcc/java/class.c
index d320046..902323e 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -45,8 +45,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-iterator.h"
#include "target.h"
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 53ba65a..b855fca 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -40,11 +40,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "java-tree.h"
#include "jcf.h"
#include "java-except.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-inline.h"
#include "target.h"
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 8da8320..20d412b 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -39,11 +39,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "diagnostic-core.h"
#include "parse.h"
#include "debug.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "bitmap.h"
#include "target.h"
diff --git a/gcc/java/resource.c b/gcc/java/resource.c
index d89575f..549a2a7 100644
--- a/gcc/java/resource.c
+++ b/gcc/java/resource.c
@@ -40,8 +40,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "hard-reg-set.h"
#include "function.h"
#include "tree-iterator.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
/* A list of all the resources files. */
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index 1821a78..e394047 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * dummy-frontend.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * jit-playback.c: Likewise.
+
2015-06-25 Andrew Macleod <amacleod@redhat.com>
* jit-common.h: Don't include alias.h.
diff --git a/gcc/jit/dummy-frontend.c b/gcc/jit/dummy-frontend.c
index e3611cf..8001382 100644
--- a/gcc/jit/dummy-frontend.c
+++ b/gcc/jit/dummy-frontend.c
@@ -32,13 +32,11 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "langhooks-def.h"
#include "hash-map.h"
-#include "plugin-api.h"
#include "vec.h"
#include "hashtab.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "dumpfile.h"
#include "cgraph.h"
diff --git a/gcc/jit/jit-playback.c b/gcc/jit/jit-playback.c
index 14ed277..90a6cd1 100644
--- a/gcc/jit/jit-playback.c
+++ b/gcc/jit/jit-playback.c
@@ -32,13 +32,11 @@ along with GCC; see the file COPYING3. If not see
#include "inchash.h"
#include "tree.h"
#include "hash-map.h"
-#include "plugin-api.h"
#include "vec.h"
#include "hashtab.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "dumpfile.h"
#include "cgraph.h"
#include "toplev.h"
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index c7982c3..cf89a3a 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -39,10 +39,8 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks-def.h"
#include "diagnostic.h"
#include "tree-diagnostic.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "timevar.h"
#include "output.h"
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 1068b46..c30fa23 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -54,8 +54,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "except.h"
#include "timevar.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "data-streamer.h"
diff --git a/gcc/lto-compress.c b/gcc/lto-compress.c
index 2fb00e2..d979b78 100644
--- a/gcc/lto-compress.c
+++ b/gcc/lto-compress.c
@@ -43,8 +43,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "diagnostic-core.h"
#include "langhooks.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "lto-compress.h"
diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c
index ffc8a3f..2270d08 100644
--- a/gcc/lto-opts.c
+++ b/gcc/lto-opts.c
@@ -42,8 +42,6 @@ along with GCC; see the file COPYING3. If not see
#include "options.h"
#include "common/common-target.h"
#include "diagnostic.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
diff --git a/gcc/lto-section-in.c b/gcc/lto-section-in.c
index 1574649..d24929e 100644
--- a/gcc/lto-section-in.c
+++ b/gcc/lto-section-in.c
@@ -50,8 +50,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "except.h"
#include "timevar.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "lto-compress.h"
diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c
index 66b2fcd..c0a4821 100644
--- a/gcc/lto-section-out.c
+++ b/gcc/lto-section-out.c
@@ -49,8 +49,6 @@ along with GCC; see the file COPYING3. If not see
#include "params.h"
#include "except.h"
#include "langhooks.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "lto-streamer.h"
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c
index 895c18c..66298ec 100644
--- a/gcc/lto-streamer-in.c
+++ b/gcc/lto-streamer-in.c
@@ -63,8 +63,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic.h"
#include "except.h"
#include "debug.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "data-streamer.h"
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index cb1c4a1..15f5933 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -59,8 +59,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "except.h"
#include "lto-symtab.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "data-streamer.h"
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c
index c3badf8..3fbbe9a 100644
--- a/gcc/lto-streamer.c
+++ b/gcc/lto-streamer.c
@@ -40,8 +40,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "bitmap.h"
#include "diagnostic-core.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-streamer.h"
#include "lto-streamer.h"
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 08fb86d..6bc10bf 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,12 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * lto-lang.c: Remove ipa-ref.h and plugin-api.h from include list.
+ * lto-object.c: Likewise.
+ * lto-partition.c: Likewise.
+ * lto-symtab.c: Likewise.
+ * lto-tree.h: Likewise.
+ * lto.c: Likewise.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* lto.c (tree_scc_hasher): Inherit from nofree_ptr_hash rather
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c
index 5a2ea134..0e5bd76 100644
--- a/gcc/lto/lto-lang.c
+++ b/gcc/lto/lto-lang.c
@@ -46,8 +46,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "diagnostic-core.h"
#include "toplev.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "cilk.h"
diff --git a/gcc/lto/lto-object.c b/gcc/lto/lto-object.c
index b8a720f..e102e79 100644
--- a/gcc/lto/lto-object.c
+++ b/gcc/lto/lto-object.c
@@ -37,8 +37,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "diagnostic-core.h"
#include "lto.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c
index 3ef0ad4..db830fd 100644
--- a/gcc/lto/lto-partition.c
+++ b/gcc/lto/lto-partition.c
@@ -35,8 +35,6 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.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 b45dcad..df3cc44 100644
--- a/gcc/lto/lto-symtab.c
+++ b/gcc/lto/lto-symtab.c
@@ -36,8 +36,6 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "ipa-utils.h"
diff --git a/gcc/lto/lto-tree.h b/gcc/lto/lto-tree.h
index c9e8919..06075e2 100644
--- a/gcc/lto/lto-tree.h
+++ b/gcc/lto/lto-tree.h
@@ -21,8 +21,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_LTO_TREE_H
#define GCC_LTO_TREE_H
-#include "plugin-api.h"
-
struct GTY(()) lang_identifier
{
struct tree_identifier base;
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index 08234d8..0972ff6 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -33,10 +33,8 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "predict.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-ssa-operands.h"
#include "tree-pass.h"
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 24fd40f..83b423f 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * objc-act.c: Remove ipa-ref.h and plugin-api.h from include list.
+
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
* objc-act.c (objc_string_hasher): Inherit from ggc_ptr_hash
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index db77260..f1b56e8 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -53,8 +53,6 @@ along with GCC; see the file COPYING3. If not see
#include "c-family/c-target.h"
#include "diagnostic-core.h"
#include "intl.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-iterator.h"
#include "langhooks-def.h"
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 415a2c8..8218403 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -54,8 +54,6 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "diagnostic-core.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/opts-global.c b/gcc/opts-global.c
index af71c375..2fc6250 100644
--- a/gcc/opts-global.c
+++ b/gcc/opts-global.c
@@ -41,8 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "rtl.h"
#include "dbgcnt.h"
#include "debug.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "output.h"
diff --git a/gcc/passes.c b/gcc/passes.c
index 1316193..4966334 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -82,8 +82,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "tree-dump.h"
#include "df.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "plugin.h"
diff --git a/gcc/predict.c b/gcc/predict.c
index 4317bd9..9a69c6f 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -70,8 +70,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 94b4d7d..0336167 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -32,10 +32,8 @@ along with GCC; see the file COPYING3. If not see
#include "tree-iterator.h"
#include "diagnostic.h"
#include "gimple-pretty-print.h" /* FIXME */
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-dump.h"
diff --git a/gcc/profile.c b/gcc/profile.c
index 75b418d..754326b 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -85,8 +85,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-cfg.h"
#include "cfgloop.h"
#include "dumpfile.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "profile.h"
diff --git a/gcc/ree.c b/gcc/ree.c
index 46f7d2e..9e3dd7b 100644
--- a/gcc/ree.c
+++ b/gcc/ree.c
@@ -252,8 +252,6 @@ along with GCC; see the file COPYING3. If not see
#include "params.h"
#include "tree-pass.h"
#include "df.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
/* This structure represents a candidate for elimination. */
diff --git a/gcc/sanopt.c b/gcc/sanopt.c
index 967926f..b3e8ae9 100644
--- a/gcc/sanopt.c
+++ b/gcc/sanopt.c
@@ -39,7 +39,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimplify.h"
#include "gimple-iterator.h"
-#include "plugin-api.h"
#include "tree-pass.h"
#include "asan.h"
#include "gimple-pretty-print.h"
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 604e4fc..4674f5d 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -48,8 +48,6 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "regs.h"
#include "params.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-inline.h"
#include "tree-dump.h"
diff --git a/gcc/symtab.c b/gcc/symtab.c
index 9aae61d..aa5162e 100644
--- a/gcc/symtab.c
+++ b/gcc/symtab.c
@@ -40,8 +40,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "tree-inline.h"
#include "langhooks.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "diagnostic.h"
#include "timevar.h"
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2f43a89..573b144 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -72,8 +72,6 @@ along with GCC; see the file COPYING3. If not see
#include "hosthooks.h"
#include "predict.h"
#include "basic-block.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "opts.h"
#include "opts-diagnostic.h"
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c
index 0b7c2da..c809a2e 100644
--- a/gcc/trans-mem.c
+++ b/gcc/trans-mem.c
@@ -45,8 +45,6 @@
#include "gimplify-me.h"
#include "gimple-walk.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "stringpool.h"
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index c16e7ba..94ed957 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -49,8 +49,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimplify-me.h"
#include "gimple-walk.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/tree-chkp.c b/gcc/tree-chkp.c
index 4c3317a..2d52495 100644
--- a/gcc/tree-chkp.c
+++ b/gcc/tree-chkp.c
@@ -75,7 +75,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-walk.h"
#include "rtl.h" /* For MEM_P, assign_temp. */
#include "tree-dfa.h"
-#include "ipa-ref.h"
#include "lto-streamer.h"
#include "cgraph.h"
#include "ipa-chkp.h"
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index edd43e6..d3d46bc 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -52,8 +52,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c
index ea63090..8308643 100644
--- a/gcc/tree-emutls.c
+++ b/gcc/tree-emutls.c
@@ -42,8 +42,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-walk.h"
#include "tree-pass.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-phinodes.h"
#include "ssa-iterators.h"
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 6832198..6f138ed 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -73,8 +73,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pretty-print.h"
#include "except.h"
#include "debug.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "alloc-pool.h"
#include "symbol-summary.h"
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c
index f680e26..f391c65 100644
--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -43,8 +43,6 @@
#include "gimple-walk.h"
#include "tree-iterator.h"
#include "bitmap.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "rtl.h"
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c
index ac469b3..ab77f32 100644
--- a/gcc/tree-parloops.c
+++ b/gcc/tree-parloops.c
@@ -66,8 +66,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-parloops.h"
#include "omp-low.h"
#include "tree-nested.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-ssa.h"
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index 13587e6..eb361c0 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -42,8 +42,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pretty-print.h"
#include "gimple-expr.h"
#include "predict.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "langhooks.h"
#include "tree-iterator.h"
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c
index e22e294..bcb5cb9 100644
--- a/gcc/tree-profile.c
+++ b/gcc/tree-profile.c
@@ -51,8 +51,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-iterator.h"
#include "gimplify-me.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "stringpool.h"
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index 7cf9f7e..7f242f7 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -117,8 +117,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-dfa.h"
#include "tree-ssa.h"
#include "tree-pass.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "symbol-summary.h"
#include "ipa-prop.h"
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index a1f0bee..8376e3b 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -62,8 +62,6 @@ along with GCC; see the file COPYING3. If not see
#include "params.h"
#include "alloc-pool.h"
#include "bitmap.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-reference.h"
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index 45d9697..450cf90 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -64,7 +64,6 @@ along with GCC; see the file COPYING3. If not see
#include "debug.h"
#include "tree-ssa.h"
#include "lto-streamer.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c
index 73fbac8..4b90196 100644
--- a/gcc/tree-ssa-loop-ivcanon.c
+++ b/gcc/tree-ssa-loop-ivcanon.c
@@ -60,8 +60,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index 8dd92a6..1ce275b 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -87,8 +87,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-iterator.h"
#include "gimplify-me.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index 9872a3f..59924df 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -77,8 +77,6 @@ along with GCC; see the file COPYING3. If not see
#include "params.h"
#include "dbgcnt.h"
#include "domwalk.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "symbol-summary.h"
#include "ipa-prop.h"
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c
index 15b8b85..e2b36a6 100644
--- a/gcc/tree-ssa-sccvn.c
+++ b/gcc/tree-ssa-sccvn.c
@@ -69,8 +69,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-ssa-sccvn.h"
#include "tree-cfg.h"
#include "domwalk.h"
-#include "ipa-ref.h"
-#include "plugin-api.h"
#include "cgraph.h"
/* This algorithm is based on the SCC algorithm presented by Keith
diff --git a/gcc/tree-ssa-strlen.c b/gcc/tree-ssa-strlen.c
index d498751..1cbcb01 100644
--- a/gcc/tree-ssa-strlen.c
+++ b/gcc/tree-ssa-strlen.c
@@ -67,8 +67,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-ssa-propagate.h"
#include "gimple-pretty-print.h"
#include "params.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-chkp.h"
#include "tree-hash-traits.h"
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 820dae4..5d72d87 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -44,8 +44,6 @@
#include "gimple.h"
#include "gimple-iterator.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "stringpool.h"
#include "tree-ssanames.h"
diff --git a/gcc/tree-streamer-in.c b/gcc/tree-streamer-in.c
index 1a8c8e4..8d8818e 100644
--- a/gcc/tree-streamer-in.c
+++ b/gcc/tree-streamer-in.c
@@ -38,8 +38,6 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-streamer.h"
#include "data-streamer.h"
diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c
index 10cbd56..28adfb0 100644
--- a/gcc/tree-streamer-out.c
+++ b/gcc/tree-streamer-out.c
@@ -37,8 +37,6 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "gimple-expr.h"
#include "gimple.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-streamer.h"
#include "data-streamer.h"
diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c
index ad1510d..7a7ea03 100644
--- a/gcc/tree-streamer.c
+++ b/gcc/tree-streamer.c
@@ -38,8 +38,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-expr.h"
#include "gimple.h"
#include "streamer-hooks.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-streamer.h"
diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c
index 3c1ca2c..2f9ad27 100644
--- a/gcc/tree-switch-conversion.c
+++ b/gcc/tree-switch-conversion.c
@@ -49,8 +49,6 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#include "gimple-iterator.h"
#include "gimplify-me.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "tree-phinodes.h"
diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c
index 37179c1..476917e 100644
--- a/gcc/tree-tailcall.c
+++ b/gcc/tree-tailcall.c
@@ -65,8 +65,6 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "cfgloop.h"
#include "common/common-target.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "ipa-utils.h"
diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c
index ae47456..66d3ba8 100644
--- a/gcc/tree-vect-data-refs.c
+++ b/gcc/tree-vect-data-refs.c
@@ -59,8 +59,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-scalar-evolution.h"
#include "tree-vectorizer.h"
#include "diagnostic-core.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
/* Need to include rtl.h, expr.h, etc. for optabs. */
#include "rtl.h"
diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c
index dbcd487..8296819 100644
--- a/gcc/tree-vect-stmts.c
+++ b/gcc/tree-vect-stmts.c
@@ -71,8 +71,6 @@ along with GCC; see the file COPYING3. If not see
#include "optabs.h"
#include "diagnostic-core.h"
#include "tree-vectorizer.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "builtins.h"
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c
index e69cbfb..e49929a 100644
--- a/gcc/tree-vectorizer.c
+++ b/gcc/tree-vectorizer.c
@@ -78,8 +78,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-iterator.h"
#include "gimple-walk.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-phinodes.h"
#include "ssa-iterators.h"
diff --git a/gcc/tree.c b/gcc/tree.c
index 139544d..6628a38 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -64,8 +64,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-iterator.h"
#include "gimplify.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-phinodes.h"
#include "stringpool.h"
diff --git a/gcc/tsan.c b/gcc/tsan.c
index 9b7d906..c214310 100644
--- a/gcc/tsan.c
+++ b/gcc/tsan.c
@@ -54,8 +54,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-iterator.h"
#include "gimplify-me.h"
#include "gimple-ssa.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-cfg.h"
#include "stringpool.h"
diff --git a/gcc/ubsan.c b/gcc/ubsan.c
index ded725a..19eafab 100644
--- a/gcc/ubsan.c
+++ b/gcc/ubsan.c
@@ -33,11 +33,9 @@ along with GCC; see the file COPYING3. If not see
#include "cfg.h"
#include "cfganal.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "tree-pass.h"
#include "tree-ssa-alias.h"
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 2917c30..04241494 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -68,8 +68,6 @@ along with GCC; see the file COPYING3. If not see
#include "timevar.h"
#include "dumpfile.h"
#include "profile.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "builtins.h"
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 611b6ca..3e76032 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -61,8 +61,6 @@ along with GCC; see the file COPYING3. If not see
#include "dominance.h"
#include "cfg.h"
#include "basic-block.h"
-#include "plugin-api.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "asan.h"
#include "rtl-iter.h"
diff --git a/gcc/varpool.c b/gcc/varpool.c
index 9a97f77..58cbbb8 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -29,10 +29,8 @@ along with GCC; see the file COPYING3. If not see
#include "varasm.h"
#include "predict.h"
#include "basic-block.h"
-#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
-#include "ipa-ref.h"
#include "cgraph.h"
#include "langhooks.h"
#include "diagnostic-core.h"