diff options
Diffstat (limited to 'gcc/cp')
36 files changed, 38 insertions, 108 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 83071db733e..5a77b30eb88 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,41 @@ +2015-06-04 Andrew MacLeod <amacleod@redhat.com> + + * call.c: Adjust includes for restructured coretypes.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-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR c++/66192 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 71f7e06013c..da5cfbb7ca9 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -27,13 +27,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stor-layout.h" @@ -57,7 +54,6 @@ along with GCC; see the file COPYING3. If not see #include "function.h" #include "ipa-ref.h" #include "cgraph.h" -#include "wide-int.h" #include "internal-fn.h" /* The various kinds of conversion. */ diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 41607055493..09de9cf8d96 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -25,14 +25,11 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" #include "options.h" -#include "wide-int.h" #include "inchash.h" #include "tm.h" #include "tree.h" @@ -56,7 +53,6 @@ along with GCC; see the file COPYING3. If not see #include "dumpfile.h" #include "splay-tree.h" #include "gimplify.h" -#include "wide-int.h" /* The number of nested classes being processed. If we are not in the scope of any class, this is zero. */ diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c index d05372a5ac1..49d0fe4e308 100644 --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -24,14 +24,11 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" #include "options.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "varasm.h" diff --git a/gcc/cp/cp-array-notation.c b/gcc/cp/cp-array-notation.c index c64f7e233bc..e8cf337e97d 100644 --- a/gcc/cp/cp-array-notation.c +++ b/gcc/cp/cp-array-notation.c @@ -54,14 +54,11 @@ #include "system.h" #include "coretypes.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" #include "options.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "cp-tree.h" diff --git a/gcc/cp/cp-gimplify.c b/gcc/cp/cp-gimplify.c index 69fd53b5b28..d8dc1c72cee 100644 --- a/gcc/cp/cp-gimplify.c +++ b/gcc/cp/cp-gimplify.c @@ -24,13 +24,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stor-layout.h" diff --git a/gcc/cp/cp-lang.c b/gcc/cp/cp-lang.c index 825005a241f..c4e80e6a3b5 100644 --- a/gcc/cp/cp-lang.c +++ b/gcc/cp/cp-lang.c @@ -23,13 +23,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stor-layout.h" diff --git a/gcc/cp/cp-objcp-common.c b/gcc/cp/cp-objcp-common.c index dd8e7c59814..8f40ce40206 100644 --- a/gcc/cp/cp-objcp-common.c +++ b/gcc/cp/cp-objcp-common.c @@ -23,13 +23,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "cp-tree.h" diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index efaf1bd879b..26b6cb667dc 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see #include "hashtab.h" #include "hash-set.h" #include "vec.h" -#include "machmode.h" #include "tm.h" #include "hard-reg-set.h" #include "input.h" diff --git a/gcc/cp/cp-ubsan.c b/gcc/cp/cp-ubsan.c index ce122631770..1cdee8632d4 100644 --- a/gcc/cp/cp-ubsan.c +++ b/gcc/cp/cp-ubsan.c @@ -22,14 +22,11 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" #include "options.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "alloc-pool.h" diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c index ae0326eaba2..2ab7b41c029 100644 --- a/gcc/cp/cvt.c +++ b/gcc/cp/cvt.c @@ -29,13 +29,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stor-layout.h" diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 2b57c47904b..e63098f0767 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -31,13 +31,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "tree-hasher.h" @@ -76,7 +73,6 @@ along with GCC; see the file COPYING3. If not see #include "ipa-ref.h" #include "cgraph.h" #include "cilk.h" -#include "wide-int.h" #include "builtins.h" /* Possible cases of bad specifiers type used by bad_specifiers. */ diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index e733e3498d5..a6a628da2d4 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -31,13 +31,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index a318a230d46..21a27e06608 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -23,13 +23,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "cp-tree.h" diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 690cb0c50d3..83efad52874 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -22,13 +22,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 614f2e914b7..67eb5a2226a 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -26,13 +26,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c index dc7b2777f0d..1ea873a3a42 100644 --- a/gcc/cp/expr.c +++ b/gcc/cp/expr.c @@ -24,13 +24,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "flags.h" diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c index 20781cb6df0..564ced6e0b0 100644 --- a/gcc/cp/friend.c +++ b/gcc/cp/friend.c @@ -22,13 +22,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "cp-tree.h" diff --git a/gcc/cp/init.c b/gcc/cp/init.c index 30774070d3c..3f177b6f1cf 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -25,13 +25,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" @@ -40,7 +37,6 @@ along with GCC; see the file COPYING3. If not see #include "flags.h" #include "target.h" #include "gimplify.h" -#include "wide-int.h" #include "c-family/c-ubsan.h" static bool begin_init_stmts (tree *, tree *); diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c index 174700ffa4e..3a4824b10a4 100644 --- a/gcc/cp/lambda.c +++ b/gcc/cp/lambda.c @@ -25,14 +25,11 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" #include "options.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index bde15bcb2d6..3e8ce355596 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -27,13 +27,10 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "input.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index cc5faf7755e..f6ec65e139c 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -49,13 +49,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "tree-hasher.h" @@ -74,7 +71,6 @@ along with GCC; see the file COPYING3. If not see #include "function.h" #include "ipa-ref.h" #include "cgraph.h" -#include "wide-int.h" #include "attribs.h" /* Debugging support. */ diff --git a/gcc/cp/method.c b/gcc/cp/method.c index d41e1125aaa..9187eeb1665 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -26,13 +26,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index 9e4e0e3adf5..62424e0b523 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -24,13 +24,10 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "flags.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c index 2d20e096f7c..d902871a08b 100644 --- a/gcc/cp/optimize.c +++ b/gcc/cp/optimize.c @@ -23,13 +23,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 9ae555c1354..ae9d3f04e9c 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -25,13 +25,10 @@ along with GCC; see the file COPYING3. If not see #include "timevar.h" #include "cpplib.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "print-tree.h" diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index a0c5d7cd586..ec33d96fc6f 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -29,13 +29,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c index fd71bb44089..d105be366d3 100644 --- a/gcc/cp/ptree.c +++ b/gcc/cp/ptree.c @@ -24,13 +24,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "print-tree.h" diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index f417e4b56f1..e98dace3200 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -29,13 +29,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stringpool.h" diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 8200d308829..d01de92ef8a 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -24,13 +24,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "tm_p.h" diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 0031acdd848..fff36195e88 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -26,13 +26,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "cp-tree.h" diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index b1c280f6748..dd53758cde4 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -28,13 +28,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stmt.h" diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index eebb41544fb..9d9956b046e 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -23,13 +23,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "fold-const.h" @@ -54,7 +51,6 @@ along with GCC; see the file COPYING3. If not see #include "hash-table.h" #include "gimple-expr.h" #include "gimplify.h" -#include "wide-int.h" #include "attribs.h" static tree bot_manip (tree *, int *, void *); diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 4da6275f0df..96371a44ab0 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -29,13 +29,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "fold-const.h" diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c index 076f9a03498..5d90806192e 100644 --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -30,13 +30,10 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "hash-set.h" -#include "machmode.h" #include "vec.h" -#include "double-int.h" #include "input.h" #include "alias.h" #include "symtab.h" -#include "wide-int.h" #include "inchash.h" #include "tree.h" #include "stor-layout.h" @@ -45,7 +42,6 @@ along with GCC; see the file COPYING3. If not see #include "cp-tree.h" #include "flags.h" #include "diagnostic-core.h" -#include "wide-int.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 a138ee4e43b..1a94ce225e1 100644 --- a/gcc/cp/vtable-class-hierarchy.c +++ b/gcc/cp/vtable-class-hierarchy.c @@ -121,7 +121,6 @@ along with GCC; see the file COPYING3. If not see #include "vec.h" #include "hashtab.h" #include "hash-set.h" -#include "machmode.h" #include "tm.h" #include "hard-reg-set.h" #include "input.h" |