diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2015-11-11 14:18:08 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2015-11-11 14:18:08 +0000 |
commit | 69f293c908216d76996fe18eaf78c01f7fd782ce (patch) | |
tree | efc7bcf14106125681fbca22b2ca56ded39b6a4d /gcc/c-family | |
parent | 3b1da8bb77bb07285272f2ad9e516197f3fe0835 (diff) | |
download | gcc-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/c-family')
-rw-r--r-- | gcc/c-family/ChangeLog | 23 | ||||
-rw-r--r-- | gcc/c-family/array-notation-common.c | 2 | ||||
-rw-r--r-- | gcc/c-family/c-ada-spec.c | 3 | ||||
-rw-r--r-- | gcc/c-family/c-cilkplus.c | 3 | ||||
-rw-r--r-- | gcc/c-family/c-common.c | 3 | ||||
-rw-r--r-- | gcc/c-family/c-cppbuiltin.c | 3 | ||||
-rw-r--r-- | gcc/c-family/c-dump.c | 3 | ||||
-rw-r--r-- | gcc/c-family/c-format.c | 3 | ||||
-rw-r--r-- | gcc/c-family/c-gimplify.c | 9 | ||||
-rw-r--r-- | gcc/c-family/c-indentation.c | 4 | ||||
-rw-r--r-- | gcc/c-family/c-lex.c | 4 | ||||
-rw-r--r-- | gcc/c-family/c-omp.c | 5 | ||||
-rw-r--r-- | gcc/c-family/c-opts.c | 2 | ||||
-rw-r--r-- | gcc/c-family/c-pch.c | 5 | ||||
-rw-r--r-- | gcc/c-family/c-ppoutput.c | 4 | ||||
-rw-r--r-- | gcc/c-family/c-pragma.c | 4 | ||||
-rw-r--r-- | gcc/c-family/c-pretty-print.c | 4 | ||||
-rw-r--r-- | gcc/c-family/c-semantics.c | 7 | ||||
-rw-r--r-- | gcc/c-family/c-ubsan.c | 8 | ||||
-rw-r--r-- | gcc/c-family/cilk.c | 3 | ||||
-rw-r--r-- | gcc/c-family/stub-objc.c | 2 |
21 files changed, 24 insertions, 80 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 4188535..0a99798 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,26 @@ +2015-11-11 Andrew MacLeod <amacleod@redhat.com> + + * 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. + 2015-11-09 Thomas Schwinge <thomas@codesourcery.com> Cesar Philippidis <cesar@codesourcery.com> James Norris <jnorris@codesourcery.com> diff --git a/gcc/c-family/array-notation-common.c b/gcc/c-family/array-notation-common.c index 960b207..4f7072b 100644 --- a/gcc/c-family/array-notation-common.c +++ b/gcc/c-family/array-notation-common.c @@ -25,9 +25,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "options.h" -#include "tree.h" #include "c-family/c-common.h" -#include "langhooks.h" #include "tree-iterator.h" /* Returns true if the function call in FNDECL is __sec_implicit_index. */ diff --git a/gcc/c-family/c-ada-spec.c b/gcc/c-family/c-ada-spec.c index cf4c6e9..216bd6f 100644 --- a/gcc/c-family/c-ada-spec.c +++ b/gcc/c-family/c-ada-spec.c @@ -25,10 +25,7 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "tree.h" #include "c-ada-spec.h" -#include "alias.h" #include "fold-const.h" -#include "dumpfile.h" -#include "cpplib.h" #include "c-pragma.h" #include "cpp-id-data.h" diff --git a/gcc/c-family/c-cilkplus.c b/gcc/c-family/c-cilkplus.c index 6042462..a73660f 100644 --- a/gcc/c-family/c-cilkplus.c +++ b/gcc/c-family/c-cilkplus.c @@ -23,10 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "options.h" -#include "tree.h" #include "c-common.h" -#include "alias.h" /* Validate the body of a _Cilk_for construct or a <#pragma simd> for loop. diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 53c1d81..8b424d3 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "target.h" #include "function.h" -#include "obstack.h" #include "tree.h" #include "c-common.h" #include "gimple-expr.h" @@ -38,8 +37,6 @@ along with GCC; see the file COPYING3. If not see #include "attribs.h" #include "varasm.h" #include "trans-mem.h" -#include "flags.h" -#include "c-pragma.h" #include "c-objc.h" #include "common/common-target.h" #include "langhooks.h" diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index f729787..313788d 100644 --- a/gcc/c-family/c-cppbuiltin.c +++ b/gcc/c-family/c-cppbuiltin.c @@ -21,13 +21,10 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "target.h" -#include "tree.h" #include "c-common.h" #include "tm_p.h" /* For TARGET_CPU_CPP_BUILTINS & friends. */ #include "stringpool.h" -#include "alias.h" #include "stor-layout.h" -#include "version.h" #include "flags.h" #include "c-pragma.h" #include "output.h" /* For user_label_prefix. */ diff --git a/gcc/c-family/c-dump.c b/gcc/c-family/c-dump.c index 5cebcb9..52a3adc 100644 --- a/gcc/c-family/c-dump.c +++ b/gcc/c-family/c-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 "c-common.h" -#include "alias.h" #include "tree-dump.h" /* Dump any C-specific tree codes and attributes of common codes. */ diff --git a/gcc/c-family/c-format.c b/gcc/c-family/c-format.c index c309a54..6e37265 100644 --- a/gcc/c-family/c-format.c +++ b/gcc/c-family/c-format.c @@ -22,12 +22,9 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "c-target.h" -#include "tree.h" #include "c-common.h" #include "alloc-pool.h" #include "stringpool.h" -#include "alias.h" -#include "flags.h" #include "c-objc.h" #include "intl.h" #include "langhooks.h" diff --git a/gcc/c-family/c-gimplify.c b/gcc/c-family/c-gimplify.c index c67db88..a3d0025 100644 --- a/gcc/c-family/c-gimplify.c +++ b/gcc/c-family/c-gimplify.c @@ -29,21 +29,12 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "function.h" #include "basic-block.h" -#include "hard-reg-set.h" #include "tree.h" -#include "c-common.h" #include "gimple.h" -#include "predict.h" #include "cgraph.h" #include "c-pretty-print.h" -#include "alias.h" -#include "fold-const.h" -#include "internal-fn.h" #include "gimplify.h" -#include "tree-inline.h" #include "langhooks.h" -#include "langhooks-def.h" -#include "flags.h" #include "dumpfile.h" #include "cilk.h" #include "c-ubsan.h" diff --git a/gcc/c-family/c-indentation.c b/gcc/c-family/c-indentation.c index a525e9a..638a9cf 100644 --- a/gcc/c-family/c-indentation.c +++ b/gcc/c-family/c-indentation.c @@ -21,11 +21,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tm.h" -#include "tree.h" #include "c-common.h" -#include "stringpool.h" -#include "alias.h" -#include "stor-layout.h" #include "c-indentation.h" extern cpp_options *cpp_opts; diff --git a/gcc/c-family/c-lex.c b/gcc/c-family/c-lex.c index ae16cfc..7800b7d 100644 --- a/gcc/c-family/c-lex.c +++ b/gcc/c-family/c-lex.c @@ -21,15 +21,11 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "target.h" -#include "tree.h" #include "c-common.h" #include "timevar.h" #include "stringpool.h" -#include "alias.h" #include "stor-layout.h" -#include "flags.h" #include "c-pragma.h" -#include "intl.h" #include "debug.h" #include "attribs.h" diff --git a/gcc/c-family/c-omp.c b/gcc/c-family/c-omp.c index 3e93b59..e3d41a6 100644 --- a/gcc/c-family/c-omp.c +++ b/gcc/c-family/c-omp.c @@ -24,13 +24,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 "options.h" #include "c-common.h" #include "gimple-expr.h" -#include "alias.h" #include "c-pragma.h" -#include "langhooks.h" #include "omp-low.h" #include "gomp-constants.h" diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index e42b7ae..4da6f31 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -23,11 +23,9 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "c-target.h" -#include "tree.h" #include "c-common.h" #include "tm_p.h" /* For C_COMMON_OVERRIDE_OPTIONS. */ #include "diagnostic.h" -#include "alias.h" #include "c-pragma.h" #include "flags.h" #include "toplev.h" diff --git a/gcc/c-family/c-pch.c b/gcc/c-family/c-pch.c index fa256e4..3a84498 100644 --- a/gcc/c-family/c-pch.c +++ b/gcc/c-family/c-pch.c @@ -21,18 +21,13 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "target.h" -#include "tree.h" #include "c-common.h" #include "timevar.h" -#include "version.h" -#include "cpplib.h" -#include "alias.h" #include "flags.h" #include "debug.h" #include "c-pragma.h" #include "langhooks.h" #include "hosthooks.h" -#include "opts.h" /* This is a list of flag variables that must match exactly, and their names for the error message. The possible values for *flag_var must diff --git a/gcc/c-family/c-ppoutput.c b/gcc/c-family/c-ppoutput.c index 6502248..9fe4aa9 100644 --- a/gcc/c-family/c-ppoutput.c +++ b/gcc/c-family/c-ppoutput.c @@ -19,12 +19,8 @@ #include "config.h" #include "system.h" #include "coretypes.h" -#include "options.h" -#include "tree.h" #include "c-common.h" /* For flags. */ -#include "cpplib.h" #include "../libcpp/internal.h" -#include "alias.h" #include "c-pragma.h" /* For parse_in. */ /* Encapsulates state used to convert a stream of tokens into a text diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c index 50324b8..26f001a 100644 --- a/gcc/c-family/c-pragma.c +++ b/gcc/c-family/c-pragma.c @@ -22,18 +22,14 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "target.h" #include "function.h" /* For cfun. */ -#include "tree.h" #include "c-common.h" #include "tm_p.h" /* For REGISTER_TARGET_PRAGMAS. */ #include "stringpool.h" #include "cgraph.h" #include "diagnostic.h" -#include "alias.h" #include "attribs.h" #include "varasm.h" -#include "cpplib.h" #include "c-pragma.h" -#include "flags.h" #include "opts.h" #include "plugin.h" diff --git a/gcc/c-family/c-pretty-print.c b/gcc/c-family/c-pretty-print.c index 6b439ec..ea60375 100644 --- a/gcc/c-family/c-pretty-print.c +++ b/gcc/c-family/c-pretty-print.c @@ -21,16 +21,12 @@ 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 "c-pretty-print.h" #include "diagnostic.h" -#include "alias.h" #include "stor-layout.h" #include "attribs.h" #include "intl.h" #include "tree-pretty-print.h" -#include "tree-iterator.h" /* The pretty-printer code is primarily designed to closely follow (GNU) C and C++ grammars. That is to be contrasted with spaghetti diff --git a/gcc/c-family/c-semantics.c b/gcc/c-family/c-semantics.c index e481f96..0bbc3c9 100644 --- a/gcc/c-family/c-semantics.c +++ b/gcc/c-family/c-semantics.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 "function.h" -#include "hard-reg-set.h" -#include "tree.h" #include "c-common.h" -#include "alias.h" -#include "splay-tree.h" -#include "flags.h" #include "tree-iterator.h" /* Create an empty statement tree rooted at T. */ diff --git a/gcc/c-family/c-ubsan.c b/gcc/c-family/c-ubsan.c index f35e8eb..d5f71a4 100644 --- a/gcc/c-family/c-ubsan.c +++ b/gcc/c-family/c-ubsan.c @@ -22,18 +22,10 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tm.h" -#include "function.h" -#include "hard-reg-set.h" -#include "tree.h" #include "c-family/c-common.h" -#include "alloc-pool.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" #include "gimplify.h" diff --git a/gcc/c-family/cilk.c b/gcc/c-family/cilk.c index 3ab7f4e..e75e20c 100644 --- a/gcc/c-family/cilk.c +++ b/gcc/c-family/cilk.c @@ -25,14 +25,11 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "function.h" -#include "hard-reg-set.h" -#include "tree.h" #include "c-family/c-common.h" #include "gimple-expr.h" #include "stringpool.h" #include "cgraph.h" #include "diagnostic.h" -#include "langhooks.h" #include "gimplify.h" #include "tree-iterator.h" #include "tree-inline.h" diff --git a/gcc/c-family/stub-objc.c b/gcc/c-family/stub-objc.c index 4aa2f4d..5525570 100644 --- a/gcc/c-family/stub-objc.c +++ b/gcc/c-family/stub-objc.c @@ -23,8 +23,6 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "tree.h" -#include "c-common.h" -#include "alias.h" #include "c-objc.h" tree |