aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2015-11-11 14:18:08 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2015-11-11 14:18:08 +0000
commit69f293c908216d76996fe18eaf78c01f7fd782ce (patch)
treeefc7bcf14106125681fbca22b2ca56ded39b6a4d /gcc/cp
parent3b1da8bb77bb07285272f2ad9e516197f3fe0835 (diff)
downloadgcc-69f293c908216d76996fe18eaf78c01f7fd782ce.zip
gcc-69f293c908216d76996fe18eaf78c01f7fd782ce.tar.gz
gcc-69f293c908216d76996fe18eaf78c01f7fd782ce.tar.bz2
decl.c: Remove unused header files.
ada * gcc-interface/decl.c: Remove unused header files. * gcc-interface/misc.c: Likewise. * gcc-interface/targtyps.c: Likewise. * gcc-interface/trans.c: Likewise. * gcc-interface/utils.c: Likewise. c * c-array-notation.c: Remove unused header files. * c-aux-info.c: Likewise. * c-convert.c: Likewise. * c-decl.c: Likewise. * c-errors.c: Likewise. * c-lang.c: Likewise. * c-objc-common.c: Likewise. * c-parser.c: Likewise. * c-typeck.c: Likewise. * gccspec.c: Likewise. c-family * array-notation-common.c: Remove unused header files. * c-ada-spec.c: Likewise. * c-cilkplus.c: Likewise. * c-common.c: Likewise. * c-cppbuiltin.c: Likewise. * c-dump.c: Likewise. * c-format.c: Likewise. * c-gimplify.c: Likewise. * c-indentation.c: Likewise. * c-lex.c: Likewise. * c-omp.c: Likewise. * c-opts.c: Likewise. * c-pch.c: Likewise. * c-ppoutput.c: Likewise. * c-pragma.c: Likewise. * c-pretty-print.c: Likewise. * c-semantics.c: Likewise. * c-ubsan.c: Likewise. * cilk.c: Likewise. * stub-objc.c: Likewise. cp * call.c: Remove unused header files. * class.c: Likewise. * constexpr.c: Likewise. * cp-array-notation.c: Likewise. * cp-cilkplus.c: Likewise. * cp-gimplify.c: Likewise. * cp-lang.c: Likewise. * cp-objcp-common.c: Likewise. * cp-ubsan.c: Likewise. * cvt.c: Likewise. * cxx-pretty-print.c: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * dump.c: Likewise. * error.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * friend.c: Likewise. * g++spec.c: Likewise. * init.c: Likewise. * lambda.c: Likewise. * lex.c: Likewise. * mangle.c: Likewise. * method.c: Likewise. * name-lookup.c: Likewise. * optimize.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * ptree.c: Likewise. * repo.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. * vtable-class-hierarchy.c: Likewise. Fortran * array.c: Remove unused header files. * convert.c: Likewise. * cpp.c: Likewise. * decl.c: Likewise. * f95-lang.c: Likewise. * frontend-passes.c: Likewise. * iresolve.c: Likewise. * match.c: Likewise. * module.c: Likewise. * options.c: Likewise. * parse.c: Likewise. * target-memory.c: Likewise. * trans-array.c: Likewise. * trans-common.c: Likewise. * trans-const.c: Likewise. * trans-decl.c: Likewise. * trans-expr.c: Likewise. * trans-intrinsic.c: Likewise. * trans-io.c: Likewise. * trans-openmp.c: Likewise. * trans-stmt.c: Likewise. * trans-types.c: Likewise. * trans.c: Likewise. go * go-backend.c: Remove unused header files. * go-gcc.cc: Likewise. * go-lang.c: Likewise. * gospec.c: Likewise. Java * boehm.c: Remove unused header files. * builtins.c: Likewise. * class.c: Likewise. * constants.c: Likewise. * decl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * java-gimplify.c: Likewise. * jcf-dump.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * jvgenmain.c: Likewise. * lang.c: Likewise. * mangle.c: Likewise. * mangle_name.c: Likewise. * resource.c: Likewise. * typeck.c: Likewise. * verify-glue.c: Likewise. * verify-impl.c: Likewise. * zextract.c: Likewise. jit * dummy-frontend.c: Remove unused header files. * jit-builtins.c: Likewise. * jit-playback.c: Likewise. * jit-recording.c: Likewise. * jit-spec.c: Likewise. * libgccjit.c: Likewise. lto * lto-lang.c: Remove unused header files. * lto-object.c: Likewise. * lto-partition.c: Likewise. * lto-symtab.c: Likewise. * lto.c: Likewise. objc * objc-act.c: Remove unused header files. * objc-encoding.c: Likewise. * objc-gnu-runtime-abi-01.c: Likewise. * objc-lang.c: Likewise. * objc-map.c: Likewise. * objc-next-runtime-abi-01.c: Likewise. * objc-next-runtime-abi-02.c: Likewise. * objc-runtime-shared-support.c: Likewise. objcp * objcp-decl.c: Remove unused header files. * objcp-lang.c: Likewise. From-SVN: r230166
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog40
-rw-r--r--gcc/cp/call.c2
-rw-r--r--gcc/cp/class.c2
-rw-r--r--gcc/cp/constexpr.c2
-rw-r--r--gcc/cp/cp-array-notation.c2
-rw-r--r--gcc/cp/cp-cilkplus.c1
-rw-r--r--gcc/cp/cp-gimplify.c5
-rw-r--r--gcc/cp/cp-lang.c5
-rw-r--r--gcc/cp/cp-objcp-common.c7
-rw-r--r--gcc/cp/cp-ubsan.c14
-rw-r--r--gcc/cp/cvt.c3
-rw-r--r--gcc/cp/cxx-pretty-print.c2
-rw-r--r--gcc/cp/decl.c6
-rw-r--r--gcc/cp/decl2.c4
-rw-r--r--gcc/cp/dump.c3
-rw-r--r--gcc/cp/error.c4
-rw-r--r--gcc/cp/except.c5
-rw-r--r--gcc/cp/expr.c5
-rw-r--r--gcc/cp/friend.c4
-rw-r--r--gcc/cp/g++spec.c1
-rw-r--r--gcc/cp/init.c3
-rw-r--r--gcc/cp/lambda.c5
-rw-r--r--gcc/cp/lex.c6
-rw-r--r--gcc/cp/mangle.c4
-rw-r--r--gcc/cp/method.c4
-rw-r--r--gcc/cp/name-lookup.c5
-rw-r--r--gcc/cp/optimize.c6
-rw-r--r--gcc/cp/parser.c5
-rw-r--r--gcc/cp/pt.c6
-rw-r--r--gcc/cp/ptree.c3
-rw-r--r--gcc/cp/repo.c4
-rw-r--r--gcc/cp/rtti.c4
-rw-r--r--gcc/cp/search.c4
-rw-r--r--gcc/cp/semantics.c7
-rw-r--r--gcc/cp/tree.c5
-rw-r--r--gcc/cp/typeck.c3
-rw-r--r--gcc/cp/typeck2.c4
-rw-r--r--gcc/cp/vtable-class-hierarchy.c1
38 files changed, 40 insertions, 156 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 859f378..b2f8b64 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,43 @@
+2015-11-11 Andrew MacLeod <amacleod@redhat.com>
+
+ * call.c: Remove unused header files.
+ * class.c: Likewise.
+ * constexpr.c: Likewise.
+ * cp-array-notation.c: Likewise.
+ * cp-cilkplus.c: Likewise.
+ * cp-gimplify.c: Likewise.
+ * cp-lang.c: Likewise.
+ * cp-objcp-common.c: Likewise.
+ * cp-ubsan.c: Likewise.
+ * cvt.c: Likewise.
+ * cxx-pretty-print.c: Likewise.
+ * decl.c: Likewise.
+ * decl2.c: Likewise.
+ * dump.c: Likewise.
+ * error.c: Likewise.
+ * except.c: Likewise.
+ * expr.c: Likewise.
+ * friend.c: Likewise.
+ * g++spec.c: Likewise.
+ * init.c: Likewise.
+ * lambda.c: Likewise.
+ * lex.c: Likewise.
+ * mangle.c: Likewise.
+ * method.c: Likewise.
+ * name-lookup.c: Likewise.
+ * optimize.c: Likewise.
+ * parser.c: Likewise.
+ * pt.c: Likewise.
+ * ptree.c: Likewise.
+ * repo.c: Likewise.
+ * rtti.c: Likewise.
+ * search.c: Likewise.
+ * semantics.c: Likewise.
+ * tree.c: Likewise.
+ * typeck.c: Likewise.
+ * typeck2.c: Likewise.
+ * vtable-class-hierarchy.c: Likewise.
+
2015-11-09 Cesar Philippidis <cesar@codesourcery.com>
* parser.c (cp_finalize_oacc_routine): New boolean first argument.
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 13d8438..a860e46 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -26,12 +26,10 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "timevar.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "alias.h"
#include "stor-layout.h"
#include "trans-mem.h"
#include "flags.h"
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index b123932..866e342 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -25,11 +25,9 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "alias.h"
#include "stor-layout.h"
#include "attribs.h"
#include "flags.h"
diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c
index 51fae5a..159c4b3 100644
--- a/gcc/cp/constexpr.c
+++ b/gcc/cp/constexpr.c
@@ -23,9 +23,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "alias.h"
#include "varasm.h"
#include "c-family/c-objc.h"
#include "tree-iterator.h"
diff --git a/gcc/cp/cp-array-notation.c b/gcc/cp/cp-array-notation.c
index 9fd348c..d445054 100644
--- a/gcc/cp/cp-array-notation.c
+++ b/gcc/cp/cp-array-notation.c
@@ -53,9 +53,7 @@
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
#include "tree-iterator.h"
/* Creates a FOR_STMT with INIT, COND, INCR and BODY as the initializer,
diff --git a/gcc/cp/cp-cilkplus.c b/gcc/cp/cp-cilkplus.c
index 42af45f..2b3a551 100644
--- a/gcc/cp/cp-cilkplus.c
+++ b/gcc/cp/cp-cilkplus.c
@@ -25,7 +25,6 @@
#include "coretypes.h"
#include "cp-tree.h"
#include "tree-iterator.h"
-#include "tree-inline.h" /* for copy_tree_body_r. */
#include "cilk.h"
/* Callback for cp_walk_tree to validate the body of a pragma simd loop
diff --git a/gcc/cp/cp-gimplify.c b/gcc/cp/cp-gimplify.c
index e4b50e5..2b77e75 100644
--- a/gcc/cp/cp-gimplify.c
+++ b/gcc/cp/cp-gimplify.c
@@ -23,18 +23,13 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "function.h"
#include "basic-block.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
#include "gimple.h"
#include "predict.h"
#include "stor-layout.h"
#include "tree-iterator.h"
-#include "internal-fn.h"
#include "gimplify.h"
-#include "flags.h"
#include "c-family/c-ubsan.h"
#include "cilk.h"
diff --git a/gcc/cp/cp-lang.c b/gcc/cp/cp-lang.c
index 451e03b..048108d 100644
--- a/gcc/cp/cp-lang.c
+++ b/gcc/cp/cp-lang.c
@@ -21,16 +21,11 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
#include "stor-layout.h"
#include "langhooks.h"
#include "langhooks-def.h"
-#include "debug.h"
#include "cp-objcp-common.h"
-#include "parser.h"
enum c_language_kind c_language = clk_cxx;
static void cp_init_ts (void);
diff --git a/gcc/cp/cp-objcp-common.c b/gcc/cp/cp-objcp-common.c
index e5fe837..2758252 100644
--- a/gcc/cp/cp-objcp-common.c
+++ b/gcc/cp/cp-objcp-common.c
@@ -21,14 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
-#include "langhooks.h"
-#include "langhooks-def.h"
-#include "debug.h"
-#include "cxx-pretty-print.h"
#include "cp-objcp-common.h"
/* Special routine to get the alias set for C++. */
diff --git a/gcc/cp/cp-ubsan.c b/gcc/cp/cp-ubsan.c
index 86af6c7..0aaf0af 100644
--- a/gcc/cp/cp-ubsan.c
+++ b/gcc/cp/cp-ubsan.c
@@ -21,22 +21,8 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "basic-block.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
-#include "gimple.h"
-#include "predict.h"
-#include "stringpool.h"
-#include "cgraph.h"
-#include "output.h"
-#include "toplev.h"
#include "ubsan.h"
-#include "c-family/c-ubsan.h"
-#include "asan.h"
-#include "internal-fn.h"
-#include "stor-layout.h"
-#include "builtins.h"
/* Test if we should instrument vptr access. */
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c
index e764ee1..c6e13f3 100644
--- a/gcc/cp/cvt.c
+++ b/gcc/cp/cvt.c
@@ -28,14 +28,11 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "alias.h"
#include "stor-layout.h"
#include "flags.h"
#include "intl.h"
#include "convert.h"
-#include "decl.h"
static tree cp_convert_to_pointer (tree, tree, tsubst_flags_t);
static tree convert_to_pointer_force (tree, tree, tsubst_flags_t);
diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c
index 72bbfc5..5004e8f 100644
--- a/gcc/cp/cxx-pretty-print.c
+++ b/gcc/cp/cxx-pretty-print.c
@@ -21,9 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
#include "cp-tree.h"
-#include "intl.h"
#include "cxx-pretty-print.h"
#include "tree-pretty-print.h"
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index bd3f2bc6..d124666 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -31,21 +31,15 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "target.h"
#include "c-family/c-target.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
#include "timevar.h"
-#include "tm_p.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "tree-hasher.h"
#include "stor-layout.h"
#include "varasm.h"
#include "attribs.h"
-#include "calls.h"
#include "flags.h"
#include "tree-iterator.h"
-#include "tree-inline.h"
#include "decl.h"
#include "intl.h"
#include "toplev.h"
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index a2d31a3..149f8a1 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -30,7 +30,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "c-family/c-common.h"
#include "timevar.h"
@@ -40,15 +39,12 @@ along with GCC; see the file COPYING3. If not see
#include "attribs.h"
#include "stor-layout.h"
#include "calls.h"
-#include "flags.h"
#include "decl.h"
#include "toplev.h"
#include "c-family/c-objc.h"
-#include "tree-inline.h"
#include "c-family/c-pragma.h"
#include "dumpfile.h"
#include "intl.h"
-#include "langhooks.h"
#include "c-family/c-ada-spec.h"
#include "asan.h"
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index 471e124..8f8fa4f 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -21,10 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "alias.h"
#include "tree-dump.h"
static void dump_access (dump_info_p, tree);
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 286389c..361e41a 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -20,12 +20,8 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
#include "stringpool.h"
-#include "alias.h"
-#include "flags.h"
#include "tree-diagnostic.h"
#include "langhooks-def.h"
#include "intl.h"
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index abcfde8..9b2450d 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -24,15 +24,10 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "stringpool.h"
-#include "alias.h"
#include "trans-mem.h"
#include "attribs.h"
-#include "flags.h"
-#include "tree-inline.h"
#include "tree-iterator.h"
static void push_eh_cleanup (tree);
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index 946ad89..0155872 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -22,12 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "tm_p.h"
-#include "alias.h"
-#include "flags.h"
/* Expand C++-specific constants. Currently, this means PTRMEM_CST. */
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index 9d58efc..5d067bd 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -20,11 +20,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "alias.h"
-#include "flags.h"
/* Friend data structures are described in cp-tree.h. */
diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c
index 6536d7e..35d8cbc 100644
--- a/gcc/cp/g++spec.c
+++ b/gcc/cp/g++spec.c
@@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "gcc.h"
#include "opts.h"
/* This bit is set if we saw a `-xfoo' language specification. */
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 2e11acb..9e582d6 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -24,12 +24,9 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "stringpool.h"
-#include "alias.h"
#include "varasm.h"
-#include "flags.h"
#include "gimplify.h"
#include "c-family/c-ubsan.h"
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c
index d10fff2..5fe3473 100644
--- a/gcc/cp/lambda.c
+++ b/gcc/cp/lambda.c
@@ -24,14 +24,9 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "function.h"
-#include "hard-reg-set.h"
-#include "tree.h"
#include "cp-tree.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "alias.h"
#include "tree-iterator.h"
#include "toplev.h"
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 3dc1155..9365423 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -24,14 +24,8 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "timevar.h"
-#include "tm_p.h"
#include "stringpool.h"
-#include "alias.h"
-#include "flags.h"
#include "c-family/c-pragma.h"
#include "c-family/c-objc.h"
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 182e605..6f8bf68 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -49,13 +49,9 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "target.h"
#include "vtable-verify.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "tm_p.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "alias.h"
-#include "tree-hasher.h"
#include "stor-layout.h"
#include "flags.h"
#include "attribs.h"
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 97643b7..533ae0e 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -25,14 +25,10 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "tm_p.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "alias.h"
#include "varasm.h"
-#include "flags.h"
#include "toplev.h"
#include "common/common-target.h"
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c
index 8744fff..cebe57e 100644
--- a/gcc/cp/name-lookup.c
+++ b/gcc/cp/name-lookup.c
@@ -21,16 +21,11 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
#include "timevar.h"
#include "stringpool.h"
-#include "flags.h"
-#include "alias.h"
#include "print-tree.h"
#include "attribs.h"
-#include "intl.h"
#include "debug.h"
#include "c-family/c-pragma.h"
#include "params.h"
diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c
index f947d09..c4e7020 100644
--- a/gcc/cp/optimize.c
+++ b/gcc/cp/optimize.c
@@ -22,17 +22,11 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "alias.h"
-#include "params.h"
#include "debug.h"
#include "tree-inline.h"
-#include "flags.h"
-#include "langhooks.h"
-#include "dumpfile.h"
#include "tree-iterator.h"
/* Prototypes. */
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index f3b4b46..a87675e 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -21,8 +21,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "c-family/c-common.h"
#include "timevar.h"
@@ -32,14 +30,11 @@ along with GCC; see the file COPYING3. If not see
#include "attribs.h"
#include "trans-mem.h"
#include "intl.h"
-#include "c-family/c-pragma.h"
#include "decl.h"
-#include "flags.h"
#include "c-family/c-objc.h"
#include "plugin.h"
#include "tree-pretty-print.h"
#include "parser.h"
-#include "type-utils.h"
#include "omp-low.h"
#include "gomp-constants.h"
#include "c-family/c-indentation.h"
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index bfea8e2..053a4ef 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -27,21 +27,15 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
#include "timevar.h"
#include "stringpool.h"
#include "varasm.h"
#include "attribs.h"
#include "stor-layout.h"
#include "intl.h"
-#include "flags.h"
#include "c-family/c-objc.h"
#include "cp-objcp-common.h"
-#include "tree-inline.h"
-#include "decl.h"
#include "toplev.h"
#include "tree-iterator.h"
#include "type-utils.h"
diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c
index d01e8ca..a9b3987 100644
--- a/gcc/cp/ptree.c
+++ b/gcc/cp/ptree.c
@@ -22,10 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "alias.h"
#include "print-tree.h"
void
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 2978198..2d5c5da 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -27,13 +27,9 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
#include "stringpool.h"
-#include "alias.h"
#include "toplev.h"
-#include "flags.h"
static const char *extract_string (const char **);
static const char *get_base_filename (const char *);
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index be25be4..b397b55 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -22,15 +22,11 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
#include "tm_p.h"
#include "stringpool.h"
#include "intl.h"
-#include "alias.h"
#include "stor-layout.h"
-#include "flags.h"
-#include "convert.h"
#include "c-family/c-pragma.h"
/* C++ returns type information to the user in struct type_info
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 93054bd..94502f6 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -24,12 +24,8 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "alias.h"
#include "intl.h"
-#include "flags.h"
#include "toplev.h"
static int is_subobject_of_p (tree, tree);
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 7702a41..db37e85 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -28,10 +28,7 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "target.h"
#include "bitmap.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
-#include "timevar.h"
#include "stringpool.h"
#include "cgraph.h"
#include "stmt.h"
@@ -40,12 +37,8 @@ along with GCC; see the file COPYING3. If not see
#include "c-family/c-objc.h"
#include "tree-inline.h"
#include "intl.h"
-#include "toplev.h"
-#include "flags.h"
#include "tree-iterator.h"
-#include "gimplify.h"
#include "omp-low.h"
-#include "builtins.h"
#include "convert.h"
#include "gomp-constants.h"
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 4311212..bd5caf7 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -21,18 +21,13 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
#include "tree.h"
#include "cp-tree.h"
#include "gimple-expr.h"
#include "cgraph.h"
-#include "alias.h"
-#include "fold-const.h"
-#include "tree-hasher.h"
#include "stor-layout.h"
#include "print-tree.h"
#include "tree-iterator.h"
-#include "flags.h"
#include "tree-inline.h"
#include "debug.h"
#include "convert.h"
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index 0501e4d..90c95fb 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -28,12 +28,9 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "c-family/c-common.h"
#include "stor-layout.h"
#include "varasm.h"
-#include "flags.h"
#include "intl.h"
#include "convert.h"
#include "c-family/c-objc.h"
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index e73ea13..cfc76c4 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -28,14 +28,10 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "tree.h"
#include "cp-tree.h"
-#include "alias.h"
#include "stor-layout.h"
#include "varasm.h"
#include "intl.h"
-#include "flags.h"
static tree
process_init_constructor (tree type, tree init, tsubst_flags_t complain);
diff --git a/gcc/cp/vtable-class-hierarchy.c b/gcc/cp/vtable-class-hierarchy.c
index d5c31e8..752345d 100644
--- a/gcc/cp/vtable-class-hierarchy.c
+++ b/gcc/cp/vtable-class-hierarchy.c
@@ -113,7 +113,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
#include "vtable-verify.h"
#include "cp-tree.h"
#include "stringpool.h"