aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog38
-rw-r--r--gcc/cp/call.c3
-rw-r--r--gcc/cp/class.c3
-rw-r--r--gcc/cp/constexpr.c1
-rw-r--r--gcc/cp/cp-array-notation.c1
-rw-r--r--gcc/cp/cp-gimplify.c3
-rw-r--r--gcc/cp/cp-lang.c1
-rw-r--r--gcc/cp/cp-objcp-common.c1
-rw-r--r--gcc/cp/cp-tree.h1
-rw-r--r--gcc/cp/cp-ubsan.c2
-rw-r--r--gcc/cp/cvt.c1
-rw-r--r--gcc/cp/decl.c3
-rw-r--r--gcc/cp/decl2.c3
-rw-r--r--gcc/cp/dump.c1
-rw-r--r--gcc/cp/error.c1
-rw-r--r--gcc/cp/except.c1
-rw-r--r--gcc/cp/expr.c1
-rw-r--r--gcc/cp/friend.c1
-rw-r--r--gcc/cp/init.c1
-rw-r--r--gcc/cp/lambda.c3
-rw-r--r--gcc/cp/lex.c2
-rw-r--r--gcc/cp/mangle.c3
-rw-r--r--gcc/cp/method.c3
-rw-r--r--gcc/cp/name-lookup.c1
-rw-r--r--gcc/cp/optimize.c3
-rw-r--r--gcc/cp/parser.c3
-rw-r--r--gcc/cp/pt.c1
-rw-r--r--gcc/cp/ptree.c1
-rw-r--r--gcc/cp/repo.c2
-rw-r--r--gcc/cp/rtti.c1
-rw-r--r--gcc/cp/search.c1
-rw-r--r--gcc/cp/semantics.c3
-rw-r--r--gcc/cp/tree.c3
-rw-r--r--gcc/cp/typeck.c1
-rw-r--r--gcc/cp/typeck2.c1
-rw-r--r--gcc/cp/vtable-class-hierarchy.c2
36 files changed, 38 insertions, 63 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 88f33d7..cfa392b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,41 @@
+2015-06-17 Andrew MacLeod <amacleod@redhat.com>
+
+ * call.c: Do not include input.h, line-map.h or is-a.h.
+ * class.c: Likewise.
+ * constexpr.c: Likewise.
+ * cp-array-notation.c: Likewise.
+ * cp-gimplify.c: Likewise.
+ * cp-lang.c: Likewise.
+ * cp-objcp-common.c: Likewise.
+ * cp-tree.h: Likewise.
+ * cp-ubsan.c: Likewise.
+ * cvt.c: Likewise.
+ * decl.c: Likewise.
+ * decl2.c: Likewise.
+ * dump.c: Likewise.
+ * error.c: Likewise.
+ * except.c: Likewise.
+ * expr.c: Likewise.
+ * friend.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-06-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59682
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 2f0c53a..d4da80a 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -43,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 "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 5b9bba8..9da532e 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "options.h"
@@ -38,10 +37,8 @@ along with GCC; see the file COPYING3. If not see
#include "toplev.h"
#include "target.h"
#include "convert.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c
index 5dc59a4..a52c96f 100644
--- a/gcc/cp/constexpr.c
+++ b/gcc/cp/constexpr.c
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "options.h"
diff --git a/gcc/cp/cp-array-notation.c b/gcc/cp/cp-array-notation.c
index a3656d3..3b8610f 100644
--- a/gcc/cp/cp-array-notation.c
+++ b/gcc/cp/cp-array-notation.c
@@ -53,7 +53,6 @@
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "options.h"
diff --git a/gcc/cp/cp-gimplify.c b/gcc/cp/cp-gimplify.c
index 05a0091..1a627db 100644
--- a/gcc/cp/cp-gimplify.c
+++ b/gcc/cp/cp-gimplify.c
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -33,13 +32,11 @@ along with GCC; see the file COPYING3. If not see
#include "tree-iterator.h"
#include "predict.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "basic-block.h"
#include "tree-ssa-alias.h"
#include "internal-fn.h"
#include "gimple-expr.h"
-#include "is-a.h"
#include "gimple.h"
#include "gimplify.h"
#include "flags.h"
diff --git a/gcc/cp/cp-lang.c b/gcc/cp/cp-lang.c
index 6eb7741..3645a06 100644
--- a/gcc/cp/cp-lang.c
+++ b/gcc/cp/cp-lang.c
@@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/cp-objcp-common.c b/gcc/cp/cp-objcp-common.c
index 13e2e22..cb17daf 100644
--- a/gcc/cp/cp-objcp-common.c
+++ b/gcc/cp/cp-objcp-common.c
@@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 303a432..37128be 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
/* In order for the format checking to accept the C++ front end
diff --git a/gcc/cp/cp-ubsan.c b/gcc/cp/cp-ubsan.c
index ac9e38c..1ae897b 100644
--- a/gcc/cp/cp-ubsan.c
+++ b/gcc/cp/cp-ubsan.c
@@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "options.h"
@@ -39,7 +38,6 @@ along with GCC; see the file COPYING3. If not see
#include "builtins.h"
#include "fold-const.h"
#include "stringpool.h"
-#include "is-a.h"
#include "predict.h"
#include "tree-ssa-alias.h"
#include "basic-block.h"
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c
index 9f93c68..d29c64b 100644
--- a/gcc/cp/cvt.c
+++ b/gcc/cp/cvt.c
@@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index ffd068a..3cb9ca1 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -30,7 +30,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -60,10 +59,8 @@ along with GCC; see the file COPYING3. If not see
#include "timevar.h"
#include "splay-tree.h"
#include "plugin.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index ce7ab52c2..8e0eae3 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 "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -48,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 "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index 465fadc..2382e27 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 3287786..bb5106c 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.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 "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 894cc28..c5d80d9 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index 5d90039..4270fff 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index 4f7e808..96655f3 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.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 "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index aa964b9..fc30fef 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c
index c423830..0ac96af 100644
--- a/gcc/cp/lambda.c
+++ b/gcc/cp/lambda.c
@@ -24,17 +24,14 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "options.h"
#include "tree.h"
#include "stringpool.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index e04600b..9bbdba5 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -25,8 +25,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index d1bb765..69ecb67 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -48,7 +48,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -60,10 +59,8 @@ along with GCC; see the file COPYING3. If not see
#include "obstack.h"
#include "flags.h"
#include "target.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index e279458..79e4bbc 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -38,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 "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c
index cafc31f..cc11698 100644
--- a/gcc/cp/name-lookup.c
+++ b/gcc/cp/name-lookup.c
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "tm.h"
#include "flags.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c
index cc54508..2440d5f 100644
--- a/gcc/cp/optimize.c
+++ b/gcc/cp/optimize.c
@@ -22,13 +22,11 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
#include "stringpool.h"
#include "cp-tree.h"
-#include "input.h"
#include "params.h"
#include "target.h"
#include "debug.h"
@@ -38,7 +36,6 @@ along with GCC; see the file COPYING3. If not see
#include "diagnostic-core.h"
#include "dumpfile.h"
#include "tree-iterator.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
#include "function.h"
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index b821871..9a1cbd8 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "timevar.h"
#include "cpplib.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -39,10 +38,8 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "diagnostic-core.h"
#include "target.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 9236311..6a73a2e 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c
index 91438ac..9e0073a 100644
--- a/gcc/cp/ptree.c
+++ b/gcc/cp/ptree.c
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 850b256..62c35f9 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -28,13 +28,11 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
#include "stringpool.h"
#include "cp-tree.h"
-#include "input.h"
#include "obstack.h"
#include "toplev.h"
#include "diagnostic-core.h"
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index 5acef1b..baa1187 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 26d58e8..53b038e 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index a1519b9..9b5f050d 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -44,10 +43,8 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "timevar.h"
#include "diagnostic.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index e6442cd..a9c9214 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
@@ -36,10 +35,8 @@ along with GCC; see the file COPYING3. If not see
#include "tree-inline.h"
#include "debug.h"
#include "convert.h"
-#include "is-a.h"
#include "plugin-api.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index 7716c21..c33ffd5 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index 709875c..6c3aa4c 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "tree.h"
diff --git a/gcc/cp/vtable-class-hierarchy.c b/gcc/cp/vtable-class-hierarchy.c
index dfd8af8..9f06a30 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 "is-a.h"
#include "plugin-api.h"
#include "tm.h"
#include "hard-reg-set.h"
-#include "input.h"
#include "function.h"
#include "ipa-ref.h"
#include "cgraph.h"