gimple-pretty-print.h: Don't include pretty-print.h.

* gimple-pretty-print.h: Don't include pretty-print.h.
	* tree-streamer.h: Don't include lto-streamer.h.
	* gimple-streamer.h: Include tree-streamer.h rather than lto-streamer.h.
	* gimple-streamer-in.c: Remove redundant includes.
	* gimple-streamer-out.c: Likewise.
	* ipa-devirt.c: Likewise.
	* ipa-icf.c: Likewise.
	* ipa-inline-analysis.c: Likewise.
	* ipa-polymorphic-call.c: Likewise.
	* ipa-profile.c: Likewise.
	* ipa-prop.c: Likewise.
	* ipa-pure-const.c: Likewise.
	* lto-cgraph.c: Likewise.
	* lto-streamer-in.c: Likewise.
	* lto-streamer-out.c: Likewise.
	* lto-streamer.c: Likewise.
	* tree-streamer-in.c: Likewise.
	* tree-streamer-out.c: Likewise.
	* tree-streamer.c: Likewise.
	* lto/lto.c: Remove redundant includes.

From-SVN: r225847
This commit is contained in:
Andrew MacLeod 2015-07-15 19:57:03 +00:00 committed by Andrew Macleod
parent 903f5c23c8
commit 48d859bb42
22 changed files with 29 additions and 40 deletions

View File

@ -1,3 +1,25 @@
2015-07-15 Andrew MacLeod <amacleod@redhat.com>
* gimple-pretty-print.h: Don't include pretty-print.h.
* tree-streamer.h: Don't include lto-streamer.h.
* gimple-streamer.h: Include tree-streamer.h rather than lto-streamer.h.
* gimple-streamer-in.c: Remove redundant includes.
* gimple-streamer-out.c: Likewise.
* ipa-devirt.c: Likewise.
* ipa-icf.c: Likewise.
* ipa-inline-analysis.c: Likewise.
* ipa-polymorphic-call.c: Likewise.
* ipa-profile.c: Likewise.
* ipa-prop.c: Likewise.
* ipa-pure-const.c: Likewise.
* lto-cgraph.c: Likewise.
* lto-streamer-in.c: Likewise.
* lto-streamer-out.c: Likewise.
* lto-streamer.c: Likewise.
* tree-streamer-in.c: Likewise.
* tree-streamer-out.c: Likewise.
* tree-streamer.c: Likewise.
2015-07-15 Andrew MacLeod <amacleod@redhat.com>
* opth-gen.awk: Check for UNKNOWN_LOCATION rather than GCC_TM_H, don't

View File

@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_GIMPLE_PRETTY_PRINT_H
#define GCC_GIMPLE_PRETTY_PRINT_H
#include "pretty-print.h"
#include "tree-pretty-print.h"
/* In gimple-pretty-print.c */

View File

@ -35,8 +35,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-eh.h"
#include "gimple-iterator.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "tree-streamer.h"
#include "gimple-streamer.h"
#include "value-prof.h"

View File

@ -34,10 +34,7 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-iterator.h"
#include "gimple-ssa.h"
#include "cgraph.h"
#include "data-streamer.h"
#include "gimple-streamer.h"
#include "lto-streamer.h"
#include "tree-streamer.h"
#include "value-prof.h"
/* Output PHI function PHI to the main stream in OB. */

View File

@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_GIMPLE_STREAMER_H
#define GCC_GIMPLE_STREAMER_H
#include "lto-streamer.h"
#include "tree-streamer.h"
/* In gimple-streamer-in.c */
void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *,

View File

@ -128,7 +128,6 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "tree-pass.h"
#include "target.h"
#include "tree-pretty-print.h"
#include "ipa-utils.h"
#include "internal-fn.h"
#include "gimple-fold.h"
@ -143,7 +142,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-pretty-print.h"
#include "stor-layout.h"
#include "intl.h"
#include "streamer-hooks.h"
#include "lto-streamer.h"
/* Hash based set of pairs of types. */

View File

@ -90,7 +90,6 @@ along with GCC; see the file COPYING3. If not see
#include "attribs.h"
#include "print-tree.h"
#include "target.h"
#include "lto-streamer.h"
#include "data-streamer.h"
#include "ipa-utils.h"
#include "ipa-icf-gimple.h"

View File

@ -94,8 +94,6 @@ along with GCC; see the file COPYING3. If not see
#include "alloc-pool.h"
#include "symbol-summary.h"
#include "ipa-prop.h"
#include "lto-streamer.h"
#include "data-streamer.h"
#include "tree-streamer.h"
#include "ipa-inline.h"
#include "cfgloop.h"

View File

@ -40,7 +40,6 @@ along with GCC; see the file COPYING3. If not see
#include "expr.h"
#include "tree-pass.h"
#include "target.h"
#include "tree-pretty-print.h"
#include "cgraph.h"
#include "ipa-utils.h"
#include "internal-fn.h"
@ -57,7 +56,6 @@ along with GCC; see the file COPYING3. If not see
#include "stor-layout.h"
#include "intl.h"
#include "data-streamer.h"
#include "lto-streamer.h"
#include "streamer-hooks.h"
#include "tree-ssa-operands.h"
#include "tree-into-ssa.h"

View File

@ -67,7 +67,6 @@ along with GCC; see the file COPYING3. If not see
#include "value-prof.h"
#include "alloc-pool.h"
#include "tree-inline.h"
#include "lto-streamer.h"
#include "data-streamer.h"
#include "symbol-summary.h"
#include "ipa-prop.h"

View File

@ -61,8 +61,6 @@ along with GCC; see the file COPYING3. If not see
#include "ipa-inline.h"
#include "diagnostic.h"
#include "gimple-pretty-print.h"
#include "lto-streamer.h"
#include "data-streamer.h"
#include "tree-streamer.h"
#include "params.h"
#include "ipa-utils.h"

View File

@ -59,8 +59,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-pretty-print.h"
#include "langhooks.h"
#include "target.h"
#include "lto-streamer.h"
#include "data-streamer.h"
#include "tree-streamer.h"
#include "cfgloop.h"
#include "tree-scalar-evolution.h"

View File

@ -48,8 +48,6 @@ along with GCC; see the file COPYING3. If not see
#include "except.h"
#include "timevar.h"
#include "cgraph.h"
#include "lto-streamer.h"
#include "data-streamer.h"
#include "tree-streamer.h"
#include "gcov-io.h"
#include "tree-pass.h"

View File

@ -56,11 +56,7 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h"
#include "ipa-utils.h"
#include "target.h"
#include "data-streamer.h"
#include "gimple-streamer.h"
#include "lto-streamer.h"
#include "tree-streamer.h"
#include "streamer-hooks.h"
#include "cfgloop.h"

View File

@ -50,11 +50,7 @@ along with GCC; see the file COPYING3. If not see
#include "lto-symtab.h"
#include "cgraph.h"
#include "target.h"
#include "lto-streamer.h"
#include "data-streamer.h"
#include "gimple-streamer.h"
#include "tree-streamer.h"
#include "streamer-hooks.h"
#include "cfgloop.h"
#include "builtins.h"
#include "gomp-constants.h"

View File

@ -37,7 +37,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-streamer.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
#include "streamer-hooks.h"
/* Statistics gathered during LTO, WPA and LTRANS. */
struct lto_stats_d lto_stats;

View File

@ -1,3 +1,7 @@
2015-07-15 Andrew MacLeod <amacleod@redhat.com>
* lto.c: Remove redundant includes.
2015-07-12 Aldy Hernandez <aldyh@redhat.com>
* lto-lang.c: Fix double word typos.

View File

@ -48,12 +48,10 @@ along with GCC; see the file COPYING3. If not see
#include "internal-fn.h"
#include "lto.h"
#include "lto-tree.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
#include "tree-streamer.h"
#include "lto-section-names.h"
#include "splay-tree.h"
#include "lto-partition.h"
#include "data-streamer.h"
#include "context.h"
#include "pass_manager.h"
#include "ipa-inline.h"

View File

@ -35,8 +35,6 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h"
#include "target.h"
#include "tree-streamer.h"
#include "data-streamer.h"
#include "streamer-hooks.h"
#include "builtins.h"
#include "ipa-chkp.h"
#include "gomp-constants.h"

View File

@ -34,8 +34,6 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h"
#include "target.h"
#include "tree-streamer.h"
#include "data-streamer.h"
#include "streamer-hooks.h"
#include "gomp-constants.h"

View File

@ -31,9 +31,8 @@ along with GCC; see the file COPYING3. If not see
#include "options.h"
#include "fold-const.h"
#include "internal-fn.h"
#include "streamer-hooks.h"
#include "cgraph.h"
#include "tree-streamer.h"
#include "cgraph.h"
/* Table indexed by machine_mode, used for 2 different purposes.
During streaming out we record there non-zero value for all modes

View File

@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#define GCC_TREE_STREAMER_H
#include "streamer-hooks.h"
#include "lto-streamer.h"
#include "data-streamer.h"
/* Cache of pickled nodes. Used to avoid writing the same node more