diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2013-10-29 12:55:50 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2013-10-29 12:55:50 +0000 |
commit | 8e9055ae62248333310395e2e9fad6f3cc9e24d7 (patch) | |
tree | a393c5521ad64921820e44de6d6aa6ac07df04a3 /gcc | |
parent | 1375873827fca8f264c4c429254702631c20aa63 (diff) | |
download | gcc-8e9055ae62248333310395e2e9fad6f3cc9e24d7.zip gcc-8e9055ae62248333310395e2e9fad6f3cc9e24d7.tar.gz gcc-8e9055ae62248333310395e2e9fad6f3cc9e24d7.tar.bz2 |
tree-outof-ssa.h: Remove include files.
* tree-outof-ssa.h: Remove include files.
* tree-outof-ssa.c: Add required include files from tree-outof-ssa.h.
* expr.c: Likewise.
* tree-ssa-coalesce.c: Likewise.
* cfgexpand.c: Likewise.
* tree-ssa-ter.c: Likewise.
* ipa-prop.h: Remove gimple.h and tree-core.h from include list.
* lto-streamer.h: Likewise.
* cgraphbuild.c: Add gimple.h to include list.
* data-streamer-in.c: Likewise.
* ipa-cp.c: Likewise.
* tree-streamer.c: Likewise.
* lto-compress.c: Likewise.
* ipa-reference.c: Likewise.
* data-streamer-out.c: Likewise.
* lto-cgraph.c: Likewise.
* cgraphclones.c: Likewise.
* ipa-utils.c: Likewise.
* data-streamer.c: Likewise.
* ipa-split.c: Likewise.
* lto-section-in.c: Likewise.
* tree-streamer-out.c: Likewise.
* ipa-prop.c: Likewise.
* tree-streamer-in.c: Likewise.
* symtab.c: Likewise.
* opts-global.c: Likewise.
* lto-opts.c: Likewise.
* lto-section-out.c: Likewise.
* lto-streamer.c: Likewise.
* rtl.h: Add tree-core.h to include list.
* expr.h: Remove tree-core.h from include list.
* gimple.h: Likewise.
* ipa-utils.h: Likewise.
* streamer-hooks.h: Likewise.
* streamer-hooks.c: Include input.h.
* lto/lto-object.c: Add gimple.h to include list.
* lto/lto-partition.c: Likewise.
From-SVN: r204158
Diffstat (limited to 'gcc')
39 files changed, 77 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5855f11..a683e9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,41 @@ +2013-10-29 Andrew MacLeod <amacleod@redhat.com> + + * tree-outof-ssa.h: Remove include files. + * tree-outof-ssa.c: Add required include files from tree-outof-ssa.h. + * expr.c: Likewise. + * tree-ssa-coalesce.c: Likewise. + * cfgexpand.c: Likewise. + * tree-ssa-ter.c: Likewise. + * ipa-prop.h: Remove gimple.h and tree-core.h from include list. + * lto-streamer.h: Likewise. + * cgraphbuild.c: Add gimple.h to include list. + * data-streamer-in.c: Likewise. + * ipa-cp.c: Likewise. + * tree-streamer.c: Likewise. + * lto-compress.c: Likewise. + * ipa-reference.c: Likewise. + * data-streamer-out.c: Likewise. + * lto-cgraph.c: Likewise. + * cgraphclones.c: Likewise. + * ipa-utils.c: Likewise. + * data-streamer.c: Likewise. + * ipa-split.c: Likewise. + * lto-section-in.c: Likewise. + * tree-streamer-out.c: Likewise. + * ipa-prop.c: Likewise. + * tree-streamer-in.c: Likewise. + * symtab.c: Likewise. + * opts-global.c: Likewise. + * lto-opts.c: Likewise. + * lto-section-out.c: Likewise. + * lto-streamer.c: Likewise. + * rtl.h: Add tree-core.h to include list. + * expr.h: Remove tree-core.h from include list. + * gimple.h: Likewise. + * ipa-utils.h: Likewise. + * streamer-hooks.h: Likewise. + * streamer-hooks.c: Include input.h. + 2013-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.c (cortexa7_extra_costs): New table. diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 9705036..c312c37 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -49,6 +49,7 @@ along with GCC; see the file COPYING3. If not see #include "tree-inline.h" #include "value-prof.h" #include "target.h" +#include "tree-ssa-live.h" #include "tree-outof-ssa.h" #include "sbitmap.h" #include "cfgloop.h" diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c index be2d79e..f033bdd 100644 --- a/gcc/cgraphbuild.c +++ b/gcc/cgraphbuild.c @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "langhooks.h" #include "pointer-set.h" #include "intl.h" diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index 800dd2c..05a9067 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -69,6 +69,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "rtl.h" #include "bitmap.h" #include "tree-cfg.h" diff --git a/gcc/data-streamer-in.c b/gcc/data-streamer-in.c index 84db7cf..8424248 100644 --- a/gcc/data-streamer-in.c +++ b/gcc/data-streamer-in.c @@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "diagnostic.h" #include "tree.h" +#include "gimple.h" #include "data-streamer.h" /* Read a string from the string table in DATA_IN using input block diff --git a/gcc/data-streamer-out.c b/gcc/data-streamer-out.c index 2e55e3d..fbbe0db 100644 --- a/gcc/data-streamer-out.c +++ b/gcc/data-streamer-out.c @@ -24,6 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "data-streamer.h" /* Return index used to reference STRING of LEN characters in the string table diff --git a/gcc/data-streamer.c b/gcc/data-streamer.c index 5915a41..675b509 100644 --- a/gcc/data-streamer.c +++ b/gcc/data-streamer.c @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "data-streamer.h" /* Pack WORK into BP in a variant of uleb format. */ @@ -52,6 +52,7 @@ along with GCC; see the file COPYING3. If not see #include "timevar.h" #include "df.h" #include "diagnostic.h" +#include "tree-ssa-live.h" #include "tree-outof-ssa.h" #include "target-globals.h" #include "params.h" @@ -26,9 +26,6 @@ along with GCC; see the file COPYING3. If not see #include "rtl.h" /* For optimize_size */ #include "flags.h" -/* For host_integerp, tree_low_cst, fold_convert, size_binop, ssize_int, - TREE_CODE, TYPE_SIZE, int_size_in_bytes, */ -#include "tree-core.h" /* For GET_MODE_BITSIZE, word_mode */ #include "machmode.h" diff --git a/gcc/gimple.h b/gcc/gimple.h index fef64cd..e34411d 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see #include "vec.h" #include "ggc.h" #include "basic-block.h" -#include "tree-core.h" #include "tree-ssa-alias.h" #include "internal-fn.h" #include "gimple-fold.h" diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 57ec2db..aa19b44 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -104,6 +104,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "target.h" #include "ipa-prop.h" #include "bitmap.h" diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 9a4b528..aa3fd3b 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "langhooks.h" #include "ggc.h" #include "target.h" diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index 363d035..4da22a1 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -20,10 +20,8 @@ along with GCC; see the file COPYING3. If not see #ifndef IPA_PROP_H #define IPA_PROP_H -#include "tree-core.h" #include "vec.h" #include "cgraph.h" -#include "gimple.h" #include "alloc-pool.h" /* The following definitions and interfaces are used by diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index b3e137e..4aa2655 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -41,6 +41,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "tree-inline.h" #include "tree-pass.h" #include "pointer-set.h" diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c index 3bec895..1a974fa 100644 --- a/gcc/ipa-split.c +++ b/gcc/ipa-split.c @@ -78,6 +78,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "target.h" #include "ipa-prop.h" #include "gimple-ssa.h" diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index a99d351..d33beec 100644 --- a/gcc/ipa-utils.c +++ b/gcc/ipa-utils.c @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "tree-inline.h" #include "dumpfile.h" #include "langhooks.h" diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index d2424f7..cc72619 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -20,7 +20,6 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_IPA_UTILS_H #define GCC_IPA_UTILS_H -#include "tree-core.h" #include "cgraph.h" struct ipa_dfs_info { diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index 3d32fe4..e02fa9e 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "expr.h" #include "flags.h" #include "params.h" diff --git a/gcc/lto-compress.c b/gcc/lto-compress.c index 238bb64..3a67616 100644 --- a/gcc/lto-compress.c +++ b/gcc/lto-compress.c @@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see #include <zlib.h> #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "diagnostic-core.h" #include "langhooks.h" #include "lto-streamer.h" diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c index 4d9cdfd..0a63f89 100644 --- a/gcc/lto-opts.c +++ b/gcc/lto-opts.c @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "hashtab.h" #include "ggc.h" #include "vec.h" diff --git a/gcc/lto-section-in.c b/gcc/lto-section-in.c index 2288e86..2d062e8 100644 --- a/gcc/lto-section-in.c +++ b/gcc/lto-section-in.c @@ -24,6 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "expr.h" #include "flags.h" #include "params.h" diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c index 37e9c4e..4a28673 100644 --- a/gcc/lto-section-out.c +++ b/gcc/lto-section-out.c @@ -24,6 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "expr.h" #include "params.h" #include "input.h" diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index 14d51ce..1540e4c 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -27,6 +27,7 @@ along with GCC; see the file COPYING3. If not see #include "toplev.h" #include "flags.h" #include "tree.h" +#include "gimple.h" #include "bitmap.h" #include "diagnostic-core.h" #include "vec.h" diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index de42892..86616d9 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -25,8 +25,6 @@ along with GCC; see the file COPYING3. If not see #include "plugin-api.h" #include "hash-table.h" -#include "tree-core.h" -#include "gimple.h" #include "target.h" #include "cgraph.h" #include "vec.h" diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 6314ce0..65ea3a3 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2013-10-29 Andrew MacLeod <amacleod@redhat.com> + + * lto/lto-object.c: Add gimple.h to include list. + * lto/lto-partition.c: Likewise. + 2013-10-18 Andrew MacLeod <amacleod@redhat.com> * lto.c: Remove tree-flow.h from include list. diff --git a/gcc/lto/lto-object.c b/gcc/lto/lto-object.c index 2f51952..19f10cc 100644 --- a/gcc/lto/lto-object.c +++ b/gcc/lto/lto-object.c @@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "diagnostic-core.h" #include "lto.h" #include "tm.h" diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index e05f805..e131d06 100644 --- a/gcc/lto/lto-partition.c +++ b/gcc/lto/lto-partition.c @@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "toplev.h" #include "tree.h" +#include "gimple.h" #include "tm.h" #include "cgraph.h" #include "lto-streamer.h" diff --git a/gcc/opts-global.c b/gcc/opts-global.c index 8ce705e..ba1bb4c 100644 --- a/gcc/opts-global.c +++ b/gcc/opts-global.c @@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see #include "flags.h" #include "ggc.h" #include "tree.h" /* Required by langhooks.h. */ +#include "gimple.h" #include "langhooks.h" #include "tm.h" /* Required by rtl.h. */ #include "rtl.h" @@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see #include "alias.h" #include "hashtab.h" #include "flags.h" +#include "tree-core.h" /* Value used by some passes to "recognize" noop moves as valid instructions. */ diff --git a/gcc/streamer-hooks.c b/gcc/streamer-hooks.c index 86fc10b..c4f8475 100644 --- a/gcc/streamer-hooks.c +++ b/gcc/streamer-hooks.c @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" +#include "input.h" #include "streamer-hooks.h" /* Streamer hooks. */ diff --git a/gcc/streamer-hooks.h b/gcc/streamer-hooks.h index aeb86b9..afbe013 100644 --- a/gcc/streamer-hooks.h +++ b/gcc/streamer-hooks.h @@ -23,8 +23,6 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_STREAMER_HOOKS_H #define GCC_STREAMER_HOOKS_H -#include "tree-core.h" - /* Forward declarations to avoid including unnecessary headers. */ struct output_block; struct lto_input_block; diff --git a/gcc/symtab.c b/gcc/symtab.c index 62fe166..acffbdd 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" +#include "gimple.h" #include "tree-inline.h" #include "langhooks.h" #include "hashtab.h" diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index 98a0c2c..1e98285 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -36,6 +36,9 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssanames.h" #include "dumpfile.h" #include "diagnostic-core.h" +#include "tree-ssa-live.h" +#include "tree-ssa-ter.h" +#include "tree-ssa-coalesce.h" #include "tree-outof-ssa.h" /* FIXME: A lot of code here deals with expanding to RTL. All that code diff --git a/gcc/tree-outof-ssa.h b/gcc/tree-outof-ssa.h index 8c37f55..69a329f 100644 --- a/gcc/tree-outof-ssa.h +++ b/gcc/tree-outof-ssa.h @@ -21,9 +21,6 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_TREE_OUTOF_SSA_H #define GCC_TREE_OUTOF_SSA_H -#include "tree-ssa-live.h" -#include "tree-ssa-ter.h" -#include "tree-ssa-coalesce.h" /* This structure (of which only a singleton SA exists) is used to pass around information between the outof-SSA functions, cfgexpand diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c index c92c7c5..c445c78 100644 --- a/gcc/tree-ssa-coalesce.c +++ b/gcc/tree-ssa-coalesce.c @@ -33,7 +33,8 @@ along with GCC; see the file COPYING3. If not see #include "ssa-iterators.h" #include "tree-ssanames.h" #include "hash-table.h" -#include "tree-outof-ssa.h" +#include "tree-ssa-live.h" +#include "tree-ssa-coalesce.h" #include "diagnostic-core.h" diff --git a/gcc/tree-ssa-ter.c b/gcc/tree-ssa-ter.c index d453077..6090c5f 100644 --- a/gcc/tree-ssa-ter.c +++ b/gcc/tree-ssa-ter.c @@ -32,6 +32,8 @@ along with GCC; see the file COPYING3. If not see #include "ssa-iterators.h" #include "tree-ssanames.h" #include "dumpfile.h" +#include "tree-ssa-live.h" +#include "tree-ssa-ter.h" #include "tree-outof-ssa.h" #include "flags.h" diff --git a/gcc/tree-streamer-in.c b/gcc/tree-streamer-in.c index 70162f2..92598e3 100644 --- a/gcc/tree-streamer-in.c +++ b/gcc/tree-streamer-in.c @@ -24,6 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "diagnostic.h" #include "tree.h" +#include "gimple.h" #include "tree-streamer.h" #include "data-streamer.h" #include "streamer-hooks.h" diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c index 942ba1e..ea1a054 100644 --- a/gcc/tree-streamer-out.c +++ b/gcc/tree-streamer-out.c @@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "diagnostic.h" #include "tree.h" +#include "gimple.h" #include "tree-streamer.h" #include "data-streamer.h" #include "streamer-hooks.h" diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c index 55c9ad5..8534f4a 100644 --- a/gcc/tree-streamer.c +++ b/gcc/tree-streamer.c @@ -24,6 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" +#include "gimple.h" #include "streamer-hooks.h" #include "tree-streamer.h" |