diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-25 18:32:38 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-25 18:32:38 +0000 |
commit | ec2e0095a3a5988b03a2706b5ffe0e807b238ba8 (patch) | |
tree | 2772b8c1924eccaec6aead11b83031a8d1852942 | |
parent | 23d1032f15175e34834efb86c9c87b4241424a96 (diff) | |
download | gcc-ec2e0095a3a5988b03a2706b5ffe0e807b238ba8.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224986 138bc75d-0d04-0410-961f-82ee72b054a4
166 files changed, 231 insertions, 324 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index adf043fd8ec..4f65eef75f3 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 d07340a459c..3926d2df39f 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 bf15955e4df..e9a9e4ae5f8 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 f09db594614..29cc62f7f7c 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 3d72240917d..5fac2470323 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 ab5a27ece34..5fdd33f57ac 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 2fb4e44b646..dd98527b572 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 1b5e659c403..4dc8a153384 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 780d916b7d7..619bca64c5f 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 18026306f32..73d0c7f11fc 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 c557f6665e3..317891fbffd 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 5987236311b..af753c7ecb9 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 6cf2a74d654..10524d2acd1 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 29ac1b29422..c6ca288cc73 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 e727fb51288..4f89f8f030f 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 862151597a6..6aac8c36157 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 aaf7e326c99..b863dbc64f0 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 7cb2c3df948..a8a1d0e5ac4 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 a2b9977ebb1..05eb2ad5135 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 698f56ea549..8314ecfc483 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 affed3a30bc..0fe58e1f0bf 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 6726a348e9b..4dc4c2696c6 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 baf347a6d45..aad9b8176fe 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 066a155709d..1b356467b72 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 f3802d7379a..8eaae7c4e3e 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 b5b9fc14755..83f326996ce 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 7ddc58ecf4d..8c1e18a2731 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 eb697020f12..1efac282668 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 d70e4d4a6b4..d77926ea811 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 455689547e9..e9232c0aaf6 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 93c6d6734b3..6f0c29ad735 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 0145c78b22d..7bace3c80c0 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 a30215bcd4b..51045cbd29f 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 4b96dd865f2..7fde179aaef 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 cc675ea8e8c..da0943b5df3 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 ccfc0a8b4ce..1308d0c9060 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 9d9182010a5..ae994a42ae2 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 1de8d07a01a..4ef8e42304d 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 bf9294df10b..6f5df4730b8 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 a9c5e86b331..2ddf710bdf8 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 338e21e1862..5155540df72 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 a6c313aed59..0e8840bb07e 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 007c49e4ce0..f4e4f8588e1 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 1ae897b2d7d..0c1b04750aa 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 545f4cd9078..1fa28b2f608 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 e24d2d66c07..f045253a1ab 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 0ac96afef31..13c12559608 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 2fdc4b20bce..c1a81fc7097 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 da03c365a9a..2d5aa636a11 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 2440d5f4150..89750c0964c 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 e0e484a4c47..6dc79ac6045 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 cf34ddba196..2f3303a96fb 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 f373ddde77b..9ee203fcadd 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 9f06a30229d..a1582e77e82 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 fc48787814d..7a75edfa2f1 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 5d7a3b17110..e68d1fb2834 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 1c98baa4b36..014e5f2801a 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 469ff35801b..17261c17fc2 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 11d11271c67..9d4b39ec00c 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 fae85a26f19..d5f886e6a17 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 78904c24bf2..408ae1a7a1f 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 399c2554ae0..a4b0f36c624 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 c32ac3d0a9a..8fa32c62f65 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 42a3064aa9d..0d2855073b1 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 725cf195f58..1d960941854 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 09cdcd0a3ce..5b10524fada 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 e286188f018..dc4a8cc7c0f 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 d46bc42753e..0f07000e3e1 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 28dafd43510..ee9abe710cc 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 b51c3c93be5..3781b462237 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 a006fa924fd..e8e3a6d0494 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 f1ec3de2b6a..6081c5b12b7 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 6732bc1c78c..b1389fc3f01 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 20cd840f08c..b32c6b5ada4 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 5f4936c3250..74b2dcd25d2 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 44c33e032be..b775b20d903 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 cee100b762b..41bcdf8c0ff 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 c0bc4326078..acb89bed65f 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 c68deb69ff2..fda793adfbd 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 b87c9841372..02b027d0c52 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 80f73a68856..905776e0a0c 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 c151cd1a36f..8317dc1d5c8 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 1f0a55f1fa3..691c90d59d5 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 d062d7ad847..18bc68a41b3 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 7baa3025fa4..6cb9a9e98b6 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 40606b9be26..6e598d165ca 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 ac8c78ea8f1..d876b3b1ab5 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 9f2d67c08d5..809a677fb09 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 cf3fa4e1412..b5044cf3c5f 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 371234cc80b..dbceb048176 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 3e34017c886..8a2ca4cc256 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 df018c7d80e..d53abb6ffe8 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 c1ce1a4e253..13d9a6447e5 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 e2e0eedfe5a..d666b0a286c 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 1389dd9991d..f6c1f4099e8 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 e7d47049149..fdfb88072da 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 96a5c6314fa..320c9426031 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 d3200467030..902323eeceb 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 53ba65a5e4c..b855fcaa3c9 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 8da8320b831..20d412b8978 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 d89575f3219..549a2a7648c 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 1821a78b274..e394047fc73 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 e3611cf7393..8001382e285 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 14ed277402f..90a6cd1eeb1 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 c7982c3bab7..cf89a3a5af3 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 1068b465ac1..c30fa2354bc 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 2fb00e2401c..d979b78b758 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 ffc8a3fac51..2270d080ed5 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 1574649c145..d24929ee727 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 66b2fcde99b..c0a4821566e 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 895c18c8665..66298ec54a4 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 cb1c4a153e3..15f5933d34f 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 c3badf8f6de..3fbbe9ac480 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 08fb86d4049..6bc10bf84e7 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 5a2ea134932..0e5bd76844d 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 b8a720fdf86..e102e799d7f 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 3ef0ad4e00a..db830fd0863 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 b45dcada8cc..df3cc44d2a9 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 c9e89191dd0..06075e22a96 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 08234d8448c..0972ff607c8 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 24fd40f0f4e..83b423f4bc3 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 db772605f7c..f1b56e80766 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 415a2c88a0b..8218403f680 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 af71c375ea2..2fc62503f03 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 1316193ad41..4966334206e 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 4317bd9cb7d..9a69c6f4e39 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 94b4d7db7da..0336167bee1 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 75b418d1657..754326b3a36 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 46f7d2edff1..9e3dd7b222f 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 967926f0519..b3e8ae9ff73 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 604e4fca95b..4674f5ddda6 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 9aae61d5ad5..aa5162e5b3f 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 2f43a89cd63..573b144a138 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 0b7c2da9d36..c809a2ee499 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 c16e7baddbd..94ed95751a9 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 4c3317af3e0..2d5249579f9 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 edd43e6a7fd..d3d46bc16ba 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 ea630900069..8308643ef8b 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 68321985ef7..6f138edc7f7 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 f680e26a99b..f391c652f6f 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 ac469b39d7a..ab77f32372a 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 13587e6b04a..eb361c0ac24 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 e22e29449c9..bcb5cb9953f 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 7cf9f7eb551..7f242f72c0c 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 a1f0beeae63..8376e3bd0fc 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 45d96976394..450cf90d2ef 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 73fbac8f825..4b90196fdf7 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 8dd92a6ec8c..1ce275b096b 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 9872a3fa8f3..59924dffe2b 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 15b8b85d70a..e2b36a63930 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 d4987519721..1cbcb011cb0 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 820dae48a9d..5d72d875483 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 1a8c8e41378..8d8818e5f3d 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 10cbd561987..28adfb0d850 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 ad1510df0e8..7a7ea039e1a 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 3c1ca2c6bda..2f9ad27d31a 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 37179c11fd1..476917e75d0 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 ae474566992..66d3ba85b57 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 dbcd4879f80..82968199f80 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 e69cbfb70e3..e49929ab888 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 139544d603e..6628a387f62 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 9b7d9069b72..c214310fd1d 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 ded725a55d0..19eafabe8d9 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 2917c30de61..0424149471b 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 611b6ca4940..3e760322b3b 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 9a97f77b389..58cbbb8826f 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" |