summaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-11 14:18:08 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-11 14:18:08 +0000
commit6e803544acae2aae309df3cbaa7f1217bc83f16f (patch)
treeefc7bcf14106125681fbca22b2ca56ded39b6a4d /gcc/fortran
parent74d500fb012b4ad68acf531784a756dbe271a6d2 (diff)
downloadgcc-6e803544acae2aae309df3cbaa7f1217bc83f16f.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog26
-rw-r--r--gcc/fortran/array.c1
-rw-r--r--gcc/fortran/convert.c2
-rw-r--r--gcc/fortran/cpp.c5
-rw-r--r--gcc/fortran/decl.c1
-rw-r--r--gcc/fortran/f95-lang.c6
-rw-r--r--gcc/fortran/frontend-passes.c2
-rw-r--r--gcc/fortran/iresolve.c2
-rw-r--r--gcc/fortran/match.c4
-rw-r--r--gcc/fortran/module.c1
-rw-r--r--gcc/fortran/options.c5
-rw-r--r--gcc/fortran/parse.c1
-rw-r--r--gcc/fortran/target-memory.c1
-rw-r--r--gcc/fortran/trans-array.c4
-rw-r--r--gcc/fortran/trans-common.c1
-rw-r--r--gcc/fortran/trans-const.c2
-rw-r--r--gcc/fortran/trans-decl.c3
-rw-r--r--gcc/fortran/trans-expr.c2
-rw-r--r--gcc/fortran/trans-intrinsic.c5
-rw-r--r--gcc/fortran/trans-io.c3
-rw-r--r--gcc/fortran/trans-openmp.c2
-rw-r--r--gcc/fortran/trans-stmt.c3
-rw-r--r--gcc/fortran/trans-types.c3
-rw-r--r--gcc/fortran/trans.c3
24 files changed, 26 insertions, 62 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 33c541a38d6..b0c10ad22e0 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,29 @@
+2015-11-11 Andrew MacLeod <amacleod@redhat.com>
+
+ * 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.
+
2015-11-11 Dominique d'Humieres <dominiq@lps.ens.fr>
PR fortran/67826
diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c
index 0b676af551e..144d8e02487 100644
--- a/gcc/fortran/array.c
+++ b/gcc/fortran/array.c
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "options.h"
#include "gfortran.h"
-#include "flags.h"
#include "match.h"
#include "constructor.h"
diff --git a/gcc/fortran/convert.c b/gcc/fortran/convert.c
index 37520770cb3..ad75cf5f05e 100644
--- a/gcc/fortran/convert.c
+++ b/gcc/fortran/convert.c
@@ -25,9 +25,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 "alias.h"
#include "fold-const.h"
#include "convert.h"
diff --git a/gcc/fortran/cpp.c b/gcc/fortran/cpp.c
index 85a2c79cd70..8b126267edb 100644
--- a/gcc/fortran/cpp.c
+++ b/gcc/fortran/cpp.c
@@ -20,13 +20,8 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
-#include "tree.h"
#include "gfortran.h"
-#include "tm_p.h" /* Target prototypes. */
#include "diagnostic.h"
-#include "alias.h"
-#include "version.h"
-#include "flags.h"
#include "toplev.h"
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c
index 0c3377f7b08..157eb237fa7 100644
--- a/gcc/fortran/decl.c
+++ b/gcc/fortran/decl.c
@@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see
#include "match.h"
#include "parse.h"
#include "constructor.h"
-#include "alias.h"
/* Macros to access allocate memory for gfc_data_variable,
gfc_data_value and gfc_data. */
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c
index 2e91470675f..605c2abd01d 100644
--- a/gcc/fortran/f95-lang.c
+++ b/gcc/fortran/f95-lang.c
@@ -30,17 +30,11 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "gfortran.h"
#include "trans.h"
-#include "timevar.h"
-#include "cgraph.h"
#include "diagnostic.h" /* For errorcount/warningcount */
-#include "ansidecl.h"
-#include "alias.h"
-#include "flags.h"
#include "langhooks.h"
#include "langhooks-def.h"
#include "toplev.h"
#include "debug.h"
-#include "dumpfile.h"
#include "cpp.h"
#include "trans-types.h"
#include "trans-const.h"
diff --git a/gcc/fortran/frontend-passes.c b/gcc/fortran/frontend-passes.c
index fbcc96444e8..22b4ce72375 100644
--- a/gcc/fortran/frontend-passes.c
+++ b/gcc/fortran/frontend-passes.c
@@ -23,10 +23,8 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "options.h"
#include "gfortran.h"
-#include "arith.h"
#include "dependency.h"
#include "constructor.h"
-#include "opts.h"
#include "intrinsic.h"
/* Forward declarations. */
diff --git a/gcc/fortran/iresolve.c b/gcc/fortran/iresolve.c
index f176390ffca..80b429fbb36 100644
--- a/gcc/fortran/iresolve.c
+++ b/gcc/fortran/iresolve.c
@@ -29,11 +29,9 @@ 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 "gfortran.h"
#include "stringpool.h"
-#include "alias.h"
#include "intrinsic.h"
#include "constructor.h"
#include "arith.h"
diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c
index 2844262e0f2..d4ba350ab59 100644
--- a/gcc/fortran/match.c
+++ b/gcc/fortran/match.c
@@ -22,13 +22,9 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "options.h"
-#include "tree.h"
#include "gfortran.h"
-#include "stringpool.h"
-#include "flags.h"
#include "match.h"
#include "parse.h"
-#include "alias.h"
int gfc_matching_ptr_assignment = 0;
int gfc_matching_procptr_assignment = 0;
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c
index 91d2bd6b394..54777f74af3 100644
--- a/gcc/fortran/module.c
+++ b/gcc/fortran/module.c
@@ -76,7 +76,6 @@ along with GCC; see the file COPYING3. If not see
#include "parse.h" /* FIXME */
#include "constructor.h"
#include "cpp.h"
-#include "alias.h"
#include "scanner.h"
#include <zlib.h>
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c
index f689518c4c2..d91b0f68cc3 100644
--- a/gcc/fortran/options.c
+++ b/gcc/fortran/options.c
@@ -25,13 +25,8 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "gfortran.h"
#include "diagnostic.h" /* For global_dc. */
-#include "alias.h"
-#include "flags.h"
-#include "intl.h"
#include "opts.h"
#include "toplev.h" /* For save_decoded_options. */
-#include "params.h"
-#include "tree-inline.h"
#include "cpp.h"
#include "langhooks.h"
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c
index b98dda1ef55..bdb5731aad1 100644
--- a/gcc/fortran/parse.c
+++ b/gcc/fortran/parse.c
@@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
#include <setjmp.h>
#include "match.h"
#include "parse.h"
-#include "debug.h"
/* Current statement label. Zero means no statement label. Because new_st
can get wiped during statement matching, we have to keep it separate. */
diff --git a/gcc/fortran/target-memory.c b/gcc/fortran/target-memory.c
index ae339ed430c..826d39e6c57 100644
--- a/gcc/fortran/target-memory.c
+++ b/gcc/fortran/target-memory.c
@@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "gfortran.h"
#include "trans.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "arith.h"
diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c
index e28a5ce3c0b..c294516c74c 100644
--- a/gcc/fortran/trans-array.c
+++ b/gcc/fortran/trans-array.c
@@ -83,12 +83,8 @@ along with GCC; see the file COPYING3. If not see
#include "gfortran.h"
#include "gimple-expr.h"
#include "trans.h"
-#include "diagnostic-core.h" /* For internal_error/fatal_error. */
-#include "alias.h"
#include "fold-const.h"
-#include "flags.h"
#include "constructor.h"
-#include "trans-stmt.h"
#include "trans-types.h"
#include "trans-array.h"
#include "trans-const.h"
diff --git a/gcc/fortran/trans-common.c b/gcc/fortran/trans-common.c
index 6809932a787..af9fadf4690 100644
--- a/gcc/fortran/trans-common.c
+++ b/gcc/fortran/trans-common.c
@@ -103,7 +103,6 @@ along with GCC; see the file COPYING3. If not see
#include <map>
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "varasm.h"
diff --git a/gcc/fortran/trans-const.c b/gcc/fortran/trans-const.c
index 55c5d141bcc..c2b883c37c7 100644
--- a/gcc/fortran/trans-const.c
+++ b/gcc/fortran/trans-const.c
@@ -23,12 +23,10 @@ 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 "gfortran.h"
#include "trans.h"
#include "diagnostic-core.h" /* For fatal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "realmpfr.h"
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index 098a327e91a..7e05e673a8c 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -31,15 +31,12 @@ along with GCC; see the file COPYING3. If not see
#include "trans.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "diagnostic-core.h" /* For internal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "varasm.h"
#include "attribs.h"
#include "tree-dump.h"
#include "toplev.h" /* For announce_function. */
-#include "flags.h"
#include "debug.h"
#include "constructor.h"
#include "trans-types.h"
diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c
index b8f47900bdf..8515315a1d9 100644
--- a/gcc/fortran/trans-expr.c
+++ b/gcc/fortran/trans-expr.c
@@ -30,10 +30,8 @@ along with GCC; see the file COPYING3. If not see
#include "trans.h"
#include "stringpool.h"
#include "diagnostic-core.h" /* For fatal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "langhooks.h"
-#include "flags.h"
#include "arith.h"
#include "constructor.h"
#include "trans-const.h"
diff --git a/gcc/fortran/trans-intrinsic.c b/gcc/fortran/trans-intrinsic.c
index c84f12cbb3a..1dabc26b010 100644
--- a/gcc/fortran/trans-intrinsic.c
+++ b/gcc/fortran/trans-intrinsic.c
@@ -29,21 +29,16 @@ along with GCC; see the file COPYING3. If not see
#include "gfortran.h"
#include "trans.h"
#include "stringpool.h"
-#include "diagnostic-core.h" /* For internal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "tree-nested.h"
#include "stor-layout.h"
#include "toplev.h" /* For rest_of_decl_compilation. */
-#include "flags.h"
#include "arith.h"
-#include "intrinsic.h"
#include "trans-const.h"
#include "trans-types.h"
#include "trans-array.h"
#include "dependency.h" /* For CAF array alias analysis. */
/* Only for gfc_trans_assign and gfc_trans_pointer_assign. */
-#include "trans-stmt.h"
/* This maps Fortran intrinsic math functions to external library or GCC
builtin functions. */
diff --git a/gcc/fortran/trans-io.c b/gcc/fortran/trans-io.c
index 306d2e911e1..d126b27f561 100644
--- a/gcc/fortran/trans-io.c
+++ b/gcc/fortran/trans-io.c
@@ -22,13 +22,10 @@ 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 "gfortran.h"
#include "trans.h"
#include "stringpool.h"
-#include "diagnostic-core.h" /* For internal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "trans-stmt.h"
diff --git a/gcc/fortran/trans-openmp.c b/gcc/fortran/trans-openmp.c
index 9f0d5332a8e..f29f4088c95 100644
--- a/gcc/fortran/trans-openmp.c
+++ b/gcc/fortran/trans-openmp.c
@@ -28,8 +28,6 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-expr.h"
#include "trans.h"
#include "stringpool.h"
-#include "diagnostic-core.h" /* For internal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "gimplify.h" /* For create_tmp_var_raw. */
#include "trans-stmt.h"
diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c
index 1c61606dd14..1af2ad11c02 100644
--- a/gcc/fortran/trans-stmt.c
+++ b/gcc/fortran/trans-stmt.c
@@ -28,14 +28,11 @@ along with GCC; see the file COPYING3. If not see
#include "gfortran.h"
#include "trans.h"
#include "stringpool.h"
-#include "alias.h"
#include "fold-const.h"
-#include "flags.h"
#include "trans-stmt.h"
#include "trans-types.h"
#include "trans-array.h"
#include "trans-const.h"
-#include "arith.h"
#include "dependency.h"
typedef struct iter_info
diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c
index ad6cee87606..6e2b3f1a615 100644
--- a/gcc/fortran/trans-types.c
+++ b/gcc/fortran/trans-types.c
@@ -29,15 +29,12 @@ along with GCC; see the file COPYING3. If not see
#include "gfortran.h"
#include "trans.h"
#include "stringpool.h"
-#include "diagnostic-core.h" /* For fatal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "langhooks.h" /* For iso-c-bindings.def. */
#include "toplev.h" /* For rest_of_decl_compilation. */
#include "trans-types.h"
#include "trans-const.h"
-#include "flags.h"
#include "dwarf2out.h" /* For struct array_descr_info. */
diff --git a/gcc/fortran/trans.c b/gcc/fortran/trans.c
index 9495450b2ba..d9ab346a689 100644
--- a/gcc/fortran/trans.c
+++ b/gcc/fortran/trans.c
@@ -27,11 +27,8 @@ along with GCC; see the file COPYING3. If not see
#include "gimple-expr.h" /* For create_tmp_var_raw. */
#include "trans.h"
#include "stringpool.h"
-#include "diagnostic-core.h" /* For internal_error. */
-#include "alias.h"
#include "fold-const.h"
#include "tree-iterator.h"
-#include "flags.h"
#include "trans-stmt.h"
#include "trans-array.h"
#include "trans-types.h"