diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2015-07-09 14:24:20 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2015-07-09 14:24:20 +0000 |
commit | f51ade332ab18b527d3d0908130416edb331e14a (patch) | |
tree | bd5bc34aff65a87e17892434ab21222faf047a27 /gcc | |
parent | 44fc0a5136eea2fb4eb7d46a8065ee518f6eb575 (diff) | |
download | gcc-f51ade332ab18b527d3d0908130416edb331e14a.zip gcc-f51ade332ab18b527d3d0908130416edb331e14a.tar.gz gcc-f51ade332ab18b527d3d0908130416edb331e14a.tar.bz2 |
lto-streamer.h: Don't include target.h and alloc-pool.h.
2015-07-09 Andrew MacLeod <amacleod@redhat.com>
* lto-streamer.h: Don't include target.h and alloc-pool.h.
* builtins.c: Adjust includes.
* gimple.c: Likewise.
* ipa-icf.c: Likewise.
* lto-opts.c: Likewise.
* ipa-reference.c: Likewise.
* lto-section-out.c: Likewise.
* lto-streamer-in.c: Likewise.
* lto-streamer-out.c: Likewise.
* opts-global.c: Likewise.
* symtab.c: Likewise.
* tree-chkp.c: Likewise.
* tree-ssa-live.c: Likewise.
* tree-streamer-in.c: Likewise.
* tree-streamer-out.c: Likewise.
* config/darwin.c: Likewise.
* config/i386/winnt.c: Likewise.
cp
2015-07-09 Andrew MacLeod <amacleod@redhat.com>
* cp-ubsan.c: Don't include alloc-pool.h or lto-streamer.h.
lto
2015-07-09 Andrew MacLeod <amacleod@redhat.com>
* lto-lang.c: Adjust includes of target.h, alloc-pool.h and
lto-streamer.h.
* lto-object.c: Likewise.
* lto-partition.c: Likewise.
* lto-symtab.c: Likewise.
From-SVN: r225612
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 20 | ||||
-rw-r--r-- | gcc/builtins.c | 1 | ||||
-rw-r--r-- | gcc/config/darwin.c | 1 | ||||
-rw-r--r-- | gcc/config/i386/winnt.c | 1 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/cp-ubsan.c | 2 | ||||
-rw-r--r-- | gcc/gimple.c | 1 | ||||
-rw-r--r-- | gcc/ipa-icf.c | 1 | ||||
-rw-r--r-- | gcc/ipa-reference.c | 1 | ||||
-rw-r--r-- | gcc/lto-opts.c | 1 | ||||
-rw-r--r-- | gcc/lto-section-out.c | 1 | ||||
-rw-r--r-- | gcc/lto-streamer-in.c | 1 | ||||
-rw-r--r-- | gcc/lto-streamer-out.c | 1 | ||||
-rw-r--r-- | gcc/lto-streamer.h | 2 | ||||
-rw-r--r-- | gcc/lto/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/lto/lto-lang.c | 1 | ||||
-rw-r--r-- | gcc/lto/lto-object.c | 1 | ||||
-rw-r--r-- | gcc/lto/lto-partition.c | 3 | ||||
-rw-r--r-- | gcc/lto/lto-symtab.c | 3 | ||||
-rw-r--r-- | gcc/opts-global.c | 2 | ||||
-rw-r--r-- | gcc/symtab.c | 1 | ||||
-rw-r--r-- | gcc/tree-chkp.c | 1 | ||||
-rw-r--r-- | gcc/tree-ssa-live.c | 1 | ||||
-rw-r--r-- | gcc/tree-streamer-in.c | 2 | ||||
-rw-r--r-- | gcc/tree-streamer-out.c | 1 |
25 files changed, 46 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e05c42..14c55fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,23 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * lto-streamer.h: Don't include target.h and alloc-pool.h. + * builtins.c: Adjust includes. + * gimple.c: Likewise. + * ipa-icf.c: Likewise. + * lto-opts.c: Likewise. + * ipa-reference.c: Likewise. + * lto-section-out.c: Likewise. + * lto-streamer-in.c: Likewise. + * lto-streamer-out.c: Likewise. + * opts-global.c: Likewise. + * symtab.c: Likewise. + * tree-chkp.c: Likewise. + * tree-ssa-live.c: Likewise. + * tree-streamer-in.c: Likewise. + * tree-streamer-out.c: Likewise. + * config/darwin.c: Likewise. + * config/i386/winnt.c: Likewise. + 2015-07-09 Richard Biener <rguenther@suse.de> * genmatch.c (struct expr): Add force_single_use flag. diff --git a/gcc/builtins.c b/gcc/builtins.c index 530cf85c..4bdf278 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -60,7 +60,6 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "asan.h" #include "cilk.h" -#include "lto-streamer.h" #include "cgraph.h" #include "tree-chkp.h" #include "rtl-chkp.h" diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index ad70328..3e1ae52 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -63,6 +63,7 @@ along with GCC; see the file COPYING3. If not see #include "tree-eh.h" #include "gimplify.h" #include "cgraph.h" +#include "alloc-pool.h" #include "lto-streamer.h" #include "lto-section-names.h" diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index e9c7d28..a2ee1ab 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -51,6 +51,7 @@ along with GCC; see the file COPYING3. If not see #include "gimple-fold.h" #include "tree-eh.h" #include "cgraph.h" +#include "alloc-pool.h" #include "lto-streamer.h" #include "lto-section-names.h" #include "builtins.h" diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b6cca3a..609c7ed 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + + * cp-ubsan.c: Don't include alloc-pool.h or lto-streamer.h. + 2015-07-08 Eric Botcazou <ebotcazou@adacore.com> * decl2.c (cpp_check): Deal with IS_CONSTEXPR. diff --git a/gcc/cp/cp-ubsan.c b/gcc/cp/cp-ubsan.c index 8fab27d..6486218 100644 --- a/gcc/cp/cp-ubsan.c +++ b/gcc/cp/cp-ubsan.c @@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see #include "cp-tree.h" #include "gimple.h" #include "options.h" -#include "alloc-pool.h" #include "output.h" #include "toplev.h" #include "ubsan.h" @@ -40,7 +39,6 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "fold-const.h" #include "stringpool.h" -#include "lto-streamer.h" #include "cgraph.h" /* Test if we should instrument vptr access. */ diff --git a/gcc/gimple.c b/gcc/gimple.c index 3d07857..b73ac2a 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -44,7 +44,6 @@ along with GCC; see the file COPYING3. If not see #include "alias.h" #include "demangle.h" #include "langhooks.h" -#include "lto-streamer.h" #include "cgraph.h" diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index c4386c0..a52448b 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -89,6 +89,7 @@ along with GCC; see the file COPYING3. If not see #include "coverage.h" #include "attribs.h" #include "print-tree.h" +#include "target.h" #include "lto-streamer.h" #include "data-streamer.h" #include "ipa-utils.h" diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index 465a74b..c00fca3 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -57,7 +57,6 @@ along with GCC; see the file COPYING3. If not see #include "flags.h" #include "diagnostic.h" #include "data-streamer.h" -#include "lto-streamer.h" static void remove_node_data (struct cgraph_node *node, void *data ATTRIBUTE_UNUSED); diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c index ae660d9..80cd172 100644 --- a/gcc/lto-opts.c +++ b/gcc/lto-opts.c @@ -36,6 +36,7 @@ along with GCC; see the file COPYING3. If not see #include "common/common-target.h" #include "diagnostic.h" #include "cgraph.h" +#include "target.h" #include "lto-streamer.h" #include "lto-section-names.h" #include "toplev.h" diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c index 83a9758..b4b5b07 100644 --- a/gcc/lto-section-out.c +++ b/gcc/lto-section-out.c @@ -44,7 +44,6 @@ along with GCC; see the file COPYING3. If not see #include "langhooks.h" #include "cgraph.h" #include "data-streamer.h" -#include "lto-streamer.h" #include "lto-compress.h" static vec<lto_out_decl_state_ptr> decl_state_stack; diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index 45a1155..b9cdd00 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -54,6 +54,7 @@ along with GCC; see the file COPYING3. If not see #include "debug.h" #include "cgraph.h" #include "ipa-utils.h" +#include "target.h" #include "data-streamer.h" #include "gimple-streamer.h" #include "lto-streamer.h" diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index a58c54e..8dcfcf5 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -49,6 +49,7 @@ along with GCC; see the file COPYING3. If not see #include "except.h" #include "lto-symtab.h" #include "cgraph.h" +#include "target.h" #include "lto-streamer.h" #include "data-streamer.h" #include "gimple-streamer.h" diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index 945b6ed..66a824e 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -24,8 +24,6 @@ along with GCC; see the file COPYING3. If not see #define GCC_LTO_STREAMER_H #include "plugin-api.h" -#include "target.h" -#include "alloc-pool.h" #include "gcov-io.h" #include "diagnostic.h" diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 03d06e2..4f2d0ec 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,5 +1,13 @@ 2015-07-09 Andrew MacLeod <amacleod@redhat.com> + * lto-lang.c: Adjust includes of target.h, alloc-pool.h and + lto-streamer.h. + * lto-object.c: Likewise. + * lto-partition.c: Likewise. + * lto-symtab.c: Likewise. + +2015-07-09 Andrew MacLeod <amacleod@redhat.com> + * lto-lang.c: Adjust includes for flags.h changes. 2015-07-07 Andrew MacLeod <amacleod@redhat.com> diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index 9bf6496..6e74a9a 100644 --- a/gcc/lto/lto-lang.c +++ b/gcc/lto/lto-lang.c @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic-core.h" #include "toplev.h" #include "cgraph.h" -#include "lto-streamer.h" #include "cilk.h" static tree lto_type_for_size (unsigned, int); diff --git a/gcc/lto/lto-object.c b/gcc/lto/lto-object.c index 3f3ee95..087c6b1 100644 --- a/gcc/lto/lto-object.c +++ b/gcc/lto/lto-object.c @@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic-core.h" #include "lto.h" #include "cgraph.h" -#include "lto-streamer.h" #include "lto-section-names.h" #include "simple-object.h" diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 1f25702..8e5b555 100644 --- a/gcc/lto/lto-partition.c +++ b/gcc/lto/lto-partition.c @@ -33,10 +33,11 @@ along with GCC; see the file COPYING3. If not see #include "fold-const.h" #include "internal-fn.h" #include "cgraph.h" +#include "target.h" +#include "alloc-pool.h" #include "lto-streamer.h" #include "timevar.h" #include "params.h" -#include "alloc-pool.h" #include "symbol-summary.h" #include "ipa-prop.h" #include "ipa-inline.h" diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c index 87c81dd..979579f 100644 --- a/gcc/lto/lto-symtab.c +++ b/gcc/lto/lto-symtab.c @@ -34,9 +34,10 @@ along with GCC; see the file COPYING3. If not see #include "fold-const.h" #include "internal-fn.h" #include "cgraph.h" +#include "target.h" +#include "alloc-pool.h" #include "lto-streamer.h" #include "ipa-utils.h" -#include "alloc-pool.h" #include "symbol-summary.h" #include "ipa-prop.h" #include "ipa-inline.h" diff --git a/gcc/opts-global.c b/gcc/opts-global.c index 50b32ac..9f5050b 100644 --- a/gcc/opts-global.c +++ b/gcc/opts-global.c @@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see #include "dbgcnt.h" #include "debug.h" #include "cgraph.h" -#include "lto-streamer.h" +#include "target.h" #include "output.h" #include "plugin.h" #include "toplev.h" diff --git a/gcc/symtab.c b/gcc/symtab.c index 8abe060..756a62d 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -36,6 +36,7 @@ along with GCC; see the file COPYING3. If not see #include "cgraph.h" #include "diagnostic.h" #include "timevar.h" +#include "target.h" #include "lto-streamer.h" #include "output.h" #include "ipa-utils.h" diff --git a/gcc/tree-chkp.c b/gcc/tree-chkp.c index 731947a..1c8b558 100644 --- a/gcc/tree-chkp.c +++ b/gcc/tree-chkp.c @@ -60,7 +60,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-chkp.h" #include "gimple-walk.h" #include "tree-dfa.h" -#include "lto-streamer.h" #include "cgraph.h" #include "ipa-chkp.h" #include "params.h" diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c index fc7f34e..5b00f58 100644 --- a/gcc/tree-ssa-live.c +++ b/gcc/tree-ssa-live.c @@ -48,7 +48,6 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic-core.h" #include "debug.h" #include "tree-ssa.h" -#include "lto-streamer.h" #include "cgraph.h" #include "ipa-utils.h" diff --git a/gcc/tree-streamer-in.c b/gcc/tree-streamer-in.c index 4ebfeae..14ecfbe 100644 --- a/gcc/tree-streamer-in.c +++ b/gcc/tree-streamer-in.c @@ -33,10 +33,10 @@ along with GCC; see the file COPYING3. If not see #include "stringpool.h" #include "internal-fn.h" #include "cgraph.h" +#include "target.h" #include "tree-streamer.h" #include "data-streamer.h" #include "streamer-hooks.h" -#include "lto-streamer.h" #include "builtins.h" #include "ipa-chkp.h" #include "gomp-constants.h" diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c index dd910b4..a0c4665 100644 --- a/gcc/tree-streamer-out.c +++ b/gcc/tree-streamer-out.c @@ -32,6 +32,7 @@ along with GCC; see the file COPYING3. If not see #include "stor-layout.h" #include "internal-fn.h" #include "cgraph.h" +#include "target.h" #include "tree-streamer.h" #include "data-streamer.h" #include "streamer-hooks.h" |