From ec2e0095a3a5988b03a2706b5ffe0e807b238ba8 Mon Sep 17 00:00:00 2001 From: amacleod Date: Thu, 25 Jun 2015 18:32:38 +0000 Subject: [PATCH] 2015-06-25 Andrew MacLeod * 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 * 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 * 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 * 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 * 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 * f95-lang.c: Remove ipa-ref.h and plugin-api.h from include list. * trans-decl.c: Likewise. go 2015-06-25 Andrew MacLeod * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list. java 2015-06-25 Andrew MacLeod * 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 * dummy-frontend.c: Remove ipa-ref.h and plugin-api.h from include list. * jit-playback.c: Likewise. lto 2015-06-25 Andrew MacLeod * 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 * objc-act.c: Remove ipa-ref.h and plugin-api.h from include list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224986 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 123 +++++++++++++++++++++++++++++ gcc/ada/ChangeLog | 6 ++ gcc/ada/gcc-interface/trans.c | 2 - gcc/ada/gcc-interface/utils.c | 2 - gcc/asan.c | 2 - gcc/auto-profile.c | 2 - gcc/bb-reorder.c | 2 - gcc/builtins.c | 1 - gcc/c-family/ChangeLog | 8 ++ gcc/c-family/c-common.c | 2 - gcc/c-family/c-gimplify.c | 2 - gcc/c-family/c-pragma.c | 2 - gcc/c-family/c-ubsan.c | 2 - gcc/c-family/cilk.c | 2 - gcc/c/ChangeLog | 5 ++ gcc/c/c-decl.c | 2 - gcc/c/c-parser.c | 2 - gcc/calls.c | 2 - gcc/cfgexpand.c | 2 - gcc/cgraph.c | 25 +++++- gcc/cgraph.h | 28 ++----- gcc/cgraphbuild.c | 2 - gcc/cgraphclones.c | 2 - gcc/cgraphunit.c | 2 - gcc/combine.c | 2 - gcc/config/arm/arm.c | 2 - gcc/config/bfin/bfin.c | 2 - gcc/config/c6x/c6x.c | 2 - gcc/config/cris/cris.c | 2 - gcc/config/darwin-c.c | 2 - gcc/config/darwin.c | 2 - gcc/config/i386/i386.c | 2 - gcc/config/i386/winnt.c | 2 - gcc/config/microblaze/microblaze.c | 2 - gcc/config/mips/mips.c | 2 - gcc/config/rs6000/rs6000.c | 2 - gcc/config/rx/rx.c | 2 - gcc/config/s390/s390.c | 2 - gcc/config/tilegx/mul-tables.c | 11 +++ gcc/coverage.c | 2 - gcc/cp/ChangeLog | 16 ++++ gcc/cp/call.c | 2 - gcc/cp/class.c | 2 - gcc/cp/cp-ubsan.c | 1 - gcc/cp/decl.c | 2 - gcc/cp/decl2.c | 2 - gcc/cp/lambda.c | 2 - gcc/cp/mangle.c | 2 - gcc/cp/method.c | 2 - gcc/cp/optimize.c | 2 - gcc/cp/parser.c | 2 - gcc/cp/semantics.c | 2 - gcc/cp/tree.c | 2 - gcc/cp/vtable-class-hierarchy.c | 2 - gcc/data-streamer-in.c | 2 - gcc/data-streamer-out.c | 2 - gcc/data-streamer.c | 2 - gcc/dbxout.c | 2 - gcc/dwarf2out.c | 2 - gcc/except.c | 2 - gcc/expr.c | 2 - gcc/final.c | 2 - gcc/fold-const.c | 2 - gcc/fortran/ChangeLog | 5 ++ gcc/fortran/f95-lang.c | 2 - gcc/fortran/trans-decl.c | 2 - gcc/function.h | 4 - gcc/ggc-page.c | 2 - gcc/gimple-fold.c | 2 - gcc/gimple-iterator.c | 2 - gcc/gimple-pretty-print.c | 2 - gcc/gimple-streamer-in.c | 2 - gcc/gimple-streamer-out.c | 2 - gcc/gimple.c | 1 - gcc/gimplify.c | 2 - gcc/go/ChangeLog | 4 + gcc/go/go-gcc.cc | 2 - gcc/ipa-chkp.c | 1 - gcc/ipa-comdats.c | 2 - gcc/ipa-cp.c | 2 - gcc/ipa-devirt.c | 2 - gcc/ipa-icf-gimple.c | 2 - gcc/ipa-icf.c | 2 - gcc/ipa-inline-analysis.c | 2 - gcc/ipa-inline-transform.c | 2 - gcc/ipa-inline.c | 2 - gcc/ipa-polymorphic-call.c | 2 - gcc/ipa-profile.c | 2 - gcc/ipa-prop.c | 2 - gcc/ipa-pure-const.c | 2 - gcc/ipa-ref.c | 2 - gcc/ipa-reference.c | 2 - gcc/ipa-split.c | 2 - gcc/ipa-utils.c | 2 - gcc/ipa-visibility.c | 2 - gcc/ipa.c | 2 - gcc/java/ChangeLog | 7 ++ gcc/java/class.c | 2 - gcc/java/decl.c | 2 - gcc/java/jcf-parse.c | 2 - gcc/java/resource.c | 2 - gcc/jit/ChangeLog | 5 ++ gcc/jit/dummy-frontend.c | 2 - gcc/jit/jit-playback.c | 2 - gcc/langhooks.c | 2 - gcc/lto-cgraph.c | 2 - gcc/lto-compress.c | 2 - gcc/lto-opts.c | 2 - gcc/lto-section-in.c | 2 - gcc/lto-section-out.c | 2 - gcc/lto-streamer-in.c | 2 - gcc/lto-streamer-out.c | 2 - gcc/lto-streamer.c | 2 - gcc/lto/ChangeLog | 9 +++ gcc/lto/lto-lang.c | 2 - gcc/lto/lto-object.c | 2 - gcc/lto/lto-partition.c | 2 - gcc/lto/lto-symtab.c | 2 - gcc/lto/lto-tree.h | 2 - gcc/lto/lto.c | 2 - gcc/objc/ChangeLog | 4 + gcc/objc/objc-act.c | 2 - gcc/omp-low.c | 2 - gcc/opts-global.c | 2 - gcc/passes.c | 2 - gcc/predict.c | 2 - gcc/print-tree.c | 2 - gcc/profile.c | 2 - gcc/ree.c | 2 - gcc/sanopt.c | 1 - gcc/stor-layout.c | 2 - gcc/symtab.c | 2 - gcc/toplev.c | 2 - gcc/trans-mem.c | 2 - gcc/tree-cfg.c | 2 - gcc/tree-chkp.c | 1 - gcc/tree-eh.c | 2 - gcc/tree-emutls.c | 2 - gcc/tree-inline.c | 2 - gcc/tree-nested.c | 2 - gcc/tree-parloops.c | 2 - gcc/tree-pretty-print.c | 2 - gcc/tree-profile.c | 2 - gcc/tree-sra.c | 2 - gcc/tree-ssa-alias.c | 2 - gcc/tree-ssa-live.c | 1 - gcc/tree-ssa-loop-ivcanon.c | 2 - gcc/tree-ssa-loop-ivopts.c | 2 - gcc/tree-ssa-pre.c | 2 - gcc/tree-ssa-sccvn.c | 2 - gcc/tree-ssa-strlen.c | 2 - gcc/tree-ssa-structalias.c | 2 - gcc/tree-streamer-in.c | 2 - gcc/tree-streamer-out.c | 2 - gcc/tree-streamer.c | 2 - gcc/tree-switch-conversion.c | 2 - gcc/tree-tailcall.c | 2 - gcc/tree-vect-data-refs.c | 2 - gcc/tree-vect-stmts.c | 2 - gcc/tree-vectorizer.c | 2 - gcc/tree.c | 2 - gcc/tsan.c | 2 - gcc/ubsan.c | 2 - gcc/value-prof.c | 2 - gcc/varasm.c | 2 - gcc/varpool.c | 2 - 166 files changed, 231 insertions(+), 324 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index adf043fd8ecc..4f65eef75f3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,126 @@ +2015-06-25 Andrew MacLeod + + * 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 * config/aarch64/aarch64.c, config/alpha/alpha.c, diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index d07340a459c2..3926d2df39fd 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2015-06-25 Andrew MacLeod + + * 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 * 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 bf15955e4df5..e9a9e4ae5f87 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 f09db5946146..29cc62f7f7c5 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 3d72240917d1..5fac24703231 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 ab5a27ece347..5fdd33f57ac1 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 2fb4e44b646b..dd98527b572b 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 1b5e659c4032..4dc8a1533846 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 780d916b7d73..619bca64c5fe 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,11 @@ +2015-06-25 Andrew MacLeod + + * 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 * 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 18026306f32f..73d0c7f11fcc 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 c557f6665e3e..317891fbffd5 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 5987236311b0..af753c7ecb9d 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 6cf2a74d6543..10524d2acd15 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 29ac1b294227..c6ca288cc73e 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 e727fb51288e..4f89f8f030fa 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2015-06-25 Andrew MacLeod + + * c-decl.c: Remove ipa-ref.h and plugin-api.h from include list. + * c-parser.c: Likewise. + 2015-06-25 Richard Sandiford * 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 862151597a61..6aac8c361577 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 aaf7e326c994..b863dbc64f03 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 7cb2c3df9487..a8a1d0e5ac4f 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 a2b9977ebb1f..05eb2ad51354 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 698f56ea5493..8314ecfc4837 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 (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 (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 affed3a30bc6..0fe58e1f0bf3 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 (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 (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 6726a348e9b0..4dc4c2696c6d 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 baf347a6d45f..aad9b8176fed 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 066a155709d3..1b356467b726 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 f3802d7379a2..8eaae7c4e3e1 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 b5b9fc14755f..83f326996ce1 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 7ddc58ecf4da..8c1e18a27312 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 eb697020f128..1efac2826680 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 d70e4d4a6b40..d77926ea8119 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 455689547e99..e9232c0aaf68 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 93c6d6734b34..6f0c29ad7356 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 0145c78b22d4..7bace3c80c05 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 a30215bcd4b6..51045cbd29fc 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 4b96dd865f2e..7fde179aaef1 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 cc675ea8e8c1..da0943b5df39 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 ccfc0a8b4ce5..1308d0c9060b 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 9d9182010a5b..ae994a42ae20 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 1de8d07a01a6..4ef8e42304df 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 bf9294df10b0..6f5df4730b8c 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 a9c5e86b331a..2ddf710bdf81 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 338e21e1862e..5155540df72a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,19 @@ +2015-06-25 Andrew MacLeod + + * 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 * constexpr.c (constexpr_fundef_hasher): Inherit from ggc_ptr_hash diff --git a/gcc/cp/call.c b/gcc/cp/call.c index a6c313aed591..0e8840bb07ed 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 007c49e4ce09..f4e4f8588e15 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 1ae897b2d7db..0c1b04750aae 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 545f4cd9078b..1fa28b2f6083 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 e24d2d66c078..f045253a1ab8 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 0ac96afef31a..13c12559608a 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 2fdc4b20bcef..c1a81fc70973 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 da03c365a9ab..2d5aa636a115 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 2440d5f4150c..89750c0964c7 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 e0e484a4c47c..6dc79ac6045b 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 cf34ddba1961..2f3303a96fbe 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 f373ddde77b3..9ee203fcadd5 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 9f06a30229d8..a1582e77e824 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 fc48787814d4..7a75edfa2f1e 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 5d7a3b171102..e68d1fb28340 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 1c98baa4b36f..014e5f2801a0 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 469ff35801b9..17261c17fc2c 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 11d11271c676..9d4b39ec00c0 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 fae85a26f197..d5f886e6a176 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 78904c24bf27..408ae1a7a1f6 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 399c2554ae08..a4b0f36c6246 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 c32ac3d0a9a6..8fa32c62f657 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 42a3064aa9d5..0d2855073b15 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2015-06-25 Andrew MacLeod + + * f95-lang.c: Remove ipa-ref.h and plugin-api.h from include list. + * trans-decl.c: Likewise. + 2015-06-25 Richard Sandiford * trans-decl.c (module_hasher): Likewise. diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c index 725cf195f588..1d9609418543 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 09cdcd0a3ce7..5b10524fada0 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 e286188f0184..dc4a8cc7c0f3 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 d46bc42753ea..0f07000e3e10 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 28dafd43510c..ee9abe710cce 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 b51c3c93be52..3781b462237b 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 a006fa924fda..e8e3a6d0494b 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 f1ec3de2b6ae..6081c5b12b7d 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 6732bc1c78c2..b1389fc3f012 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 20cd840f08c3..b32c6b5ada48 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 5f4936c32501..74b2dcd25d20 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 44c33e032be6..b775b20d9033 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,7 @@ +2015-06-25 Andrew MacLeod + + * go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list. + 2015-06-17 Andrew MacLeod * 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 cee100b762b8..41bcdf8c0ffb 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 c0bc4326078a..acb89bed65f7 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 c68deb69ff2e..fda793adfbd7 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 b87c98413724..02b027d0c527 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 80f73a68856e..905776e0a0cb 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 c151cd1a36fb..8317dc1d5c86 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 1f0a55f1fa3c..691c90d59d55 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 d062d7ad847e..18bc68a41b38 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 7baa3025fa4a..6cb9a9e98b60 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 40606b9be26e..6e598d165ca3 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 ac8c78ea8f1d..d876b3b1ab54 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 9f2d67c08d5a..809a677fb09b 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 cf3fa4e1412d..b5044cf3c5f1 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 371234cc80bf..dbceb0481764 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 3e34017c886e..8a2ca4cc256c 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 df018c7d80e8..d53abb6ffe88 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 c1ce1a4e2534..13d9a6447e52 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 e2e0eedfe5ad..d666b0a286c6 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 1389dd9991d7..f6c1f4099e84 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 e7d470491497..fdfb88072da6 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 96a5c6314fa5..320c94260314 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,10 @@ +2015-06-25 Andrew MacLeod + + * 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 * jcf-io.c (memoized_class_lookups): Use nofree_string_hash. diff --git a/gcc/java/class.c b/gcc/java/class.c index d32004670309..902323eecebb 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 53ba65a5e4ce..b855fcaa3c90 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 8da8320b8315..20d412b89787 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 d89575f32197..549a2a7648cd 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 1821a78b274d..e394047fc731 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,8 @@ +2015-06-25 Andrew MacLeod + + * dummy-frontend.c: Remove ipa-ref.h and plugin-api.h from include list. + * jit-playback.c: Likewise. + 2015-06-25 Andrew Macleod * jit-common.h: Don't include alias.h. diff --git a/gcc/jit/dummy-frontend.c b/gcc/jit/dummy-frontend.c index e3611cf73931..8001382e2855 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 14ed277402fc..90a6cd1eeb1d 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 c7982c3bab76..cf89a3a5af35 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 1068b465ac1c..c30fa2354bcb 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 2fb00e2401c5..d979b78b7581 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 ffc8a3fac51b..2270d080ed5a 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 1574649c1457..d24929ee727e 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 66b2fcde99b9..c0a4821566ed 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 895c18c86653..66298ec54a42 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 cb1c4a153e34..15f5933d34f1 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 c3badf8f6de5..3fbbe9ac480e 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 08fb86d4049f..6bc10bf84e71 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,12 @@ +2015-06-25 Andrew MacLeod + + * 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 * 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 5a2ea1349328..0e5bd76844de 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 b8a720fdf864..e102e799d7f0 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 3ef0ad4e00a8..db830fd08637 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 b45dcada8cc1..df3cc44d2a9b 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 c9e89191dd0f..06075e22a966 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 08234d8448cc..0972ff607c8d 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 24fd40f0f4e6..83b423f4bc31 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,7 @@ +2015-06-25 Andrew MacLeod + + * objc-act.c: Remove ipa-ref.h and plugin-api.h from include list. + 2015-06-25 Richard Sandiford * 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 db772605f7c5..f1b56e807669 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 415a2c88a0b9..8218403f6803 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 af71c375ea26..2fc62503f037 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 1316193ad41b..4966334206e1 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 4317bd9cb7d5..9a69c6f4e39a 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 94b4d7db7dac..0336167bee1b 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 75b418d16573..754326b3a362 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 46f7d2edff11..9e3dd7b222f7 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 967926f05193..b3e8ae9ff730 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 604e4fca95bd..4674f5ddda60 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 9aae61d5ad55..aa5162e5b3fe 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 2f43a89cd636..573b144a1387 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 0b7c2da9d362..c809a2ee4996 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 c16e7baddbda..94ed95751a91 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 4c3317af3e0e..2d5249579f98 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 edd43e6a7fdc..d3d46bc16bad 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 ea6309000690..8308643ef8be 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 68321985ef70..6f138edc7f7f 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 f680e26a99bd..f391c652f6ff 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 ac469b39d7a9..ab77f32372a6 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 13587e6b04a6..eb361c0ac24e 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 e22e29449c9a..bcb5cb9953f3 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 7cf9f7eb551a..7f242f72c0c1 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 a1f0beeae633..8376e3bd0fcd 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 45d969763940..450cf90d2efb 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 73fbac8f825d..4b90196fdf71 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 8dd92a6ec8ca..1ce275b096b6 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 9872a3fa8f3d..59924dffe2bd 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 15b8b85d70a0..e2b36a63930b 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 d49875197214..1cbcb011cb07 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 820dae48a9de..5d72d875483c 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 1a8c8e413782..8d8818e5f3df 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 10cbd561987c..28adfb0d8502 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 ad1510df0e82..7a7ea039e1ac 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 3c1ca2c6bda7..2f9ad27d31ac 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 37179c11fd14..476917e75d09 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 ae474566992b..66d3ba85b57d 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 dbcd4879f805..82968199f80d 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 e69cbfb70e36..e49929ab8886 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 139544d603ef..6628a387f621 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 9b7d9069b726..c214310fd1da 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 ded725a55d04..19eafabe8d92 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 2917c30de61d..0424149471bc 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 611b6ca49409..3e760322b3b1 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 9a97f77b389c..58cbbb8826fa 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" -- 2.39.2