aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog23
-rw-r--r--gcc/java/boehm.c2
-rw-r--r--gcc/java/builtins.c11
-rw-r--r--gcc/java/class.c4
-rw-r--r--gcc/java/constants.c2
-rw-r--r--gcc/java/decl.c3
-rw-r--r--gcc/java/except.c4
-rw-r--r--gcc/java/expr.c4
-rw-r--r--gcc/java/java-gimplify.c6
-rw-r--r--gcc/java/jcf-dump.c2
-rw-r--r--gcc/java/jcf-io.c4
-rw-r--r--gcc/java/jcf-parse.c5
-rw-r--r--gcc/java/jvgenmain.c4
-rw-r--r--gcc/java/lang.c4
-rw-r--r--gcc/java/mangle.c4
-rw-r--r--gcc/java/mangle_name.c4
-rw-r--r--gcc/java/resource.c6
-rw-r--r--gcc/java/typeck.c4
-rw-r--r--gcc/java/verify-glue.c2
-rw-r--r--gcc/java/verify-impl.c3
-rw-r--r--gcc/java/zextract.c1
21 files changed, 23 insertions, 79 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 15cd23c..4d9aacc 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,26 @@
+2015-11-11 Andrew MacLeod <amacleod@redhat.com>
+
+ * 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.
+
2015-10-30 Richard Sandiford <richard.sandiford@arm.com>
* jcf-parse.c (get_constant): Use real_from_target rather than
diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c
index fbe99d9..7c508b7 100644
--- a/gcc/java/boehm.c
+++ b/gcc/java/boehm.c
@@ -28,8 +28,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
-#include "diagnostic-core.h"
-#include "alias.h"
#include "java-tree.h"
#include "parse.h"
diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c
index 7f6d745..2a717663 100644
--- a/gcc/java/builtins.c
+++ b/gcc/java/builtins.c
@@ -30,28 +30,17 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "function.h"
#include "rtl.h"
#include "tree.h"
#include "stringpool.h"
#include "expmed.h"
#include "optabs.h"
-#include "emit-rtl.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
-#include "flags.h"
-#include "langhooks.h"
#include "java-tree.h"
/* FIXME: All these headers are necessary for sync_compare_and_swap.
Front ends should never have to look at that. */
-#include "dojump.h"
-#include "explow.h"
-#include "calls.h"
-#include "varasm.h"
-#include "stmt.h"
-#include "expr.h"
static tree max_builtin (tree, tree);
static tree min_builtin (tree, tree);
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 8ecc1d9..cfff618 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -28,16 +28,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "coretypes.h"
#include "target.h"
#include "function.h"
-#include "obstack.h"
#include "tree.h"
#include "stringpool.h"
-#include "cgraph.h"
#include "diagnostic-core.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "varasm.h"
-#include "flags.h"
#include "java-tree.h"
#include "jcf.h"
#include "toplev.h"
diff --git a/gcc/java/constants.c b/gcc/java/constants.c
index 3e99623..6abc0b6 100644
--- a/gcc/java/constants.c
+++ b/gcc/java/constants.c
@@ -26,9 +26,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "tm.h"
#include "tree.h"
#include "stringpool.h"
-#include "diagnostic-core.h"
#include "jcf.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "java-tree.h"
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 43675a9..328d213 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -33,15 +33,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "stringpool.h"
#include "cgraph.h"
#include "diagnostic-core.h"
-#include "alias.h"
#include "stor-layout.h"
#include "varasm.h"
#include "toplev.h"
-#include "flags.h"
#include "java-tree.h"
#include "jcf.h"
#include "java-except.h"
-#include "tree-inline.h"
#include "version.h"
#include "tree-iterator.h"
#include "langhooks.h"
diff --git a/gcc/java/except.c b/gcc/java/except.c
index 03457f6..fa07217 100644
--- a/gcc/java/except.c
+++ b/gcc/java/except.c
@@ -28,13 +28,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "tree.h"
#include "stringpool.h"
#include "diagnostic-core.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "java-tree.h"
-#include "javaop.h"
-#include "java-opcodes.h"
-#include "jcf.h"
#include "java-except.h"
#include "toplev.h"
#include "tree-iterator.h"
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index e1eadd2..31fdd72 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -30,15 +30,11 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "tree.h"
#include "stringpool.h"
#include "diagnostic-core.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
-#include "flags.h"
#include "java-tree.h"
-#include "javaop.h"
#include "java-opcodes.h"
#include "jcf.h"
-#include "java-except.h"
#include "parse.h"
#include "tree-iterator.h"
diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c
index 2e64e8f..b18f25c 100644
--- a/gcc/java/java-gimplify.c
+++ b/gcc/java/java-gimplify.c
@@ -24,18 +24,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
#include "function.h"
#include "basic-block.h"
-#include "hard-reg-set.h"
#include "tree.h"
#include "gimple.h"
-#include "cfghooks.h"
-#include "alias.h"
-#include "fold-const.h"
#include "java-tree.h"
#include "dumpfile.h"
-#include "internal-fn.h"
#include "gimplify.h"
static tree java_gimplify_block (tree);
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index fec3a40..8a4c37f 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -50,13 +50,11 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "options.h"
#include "tree.h"
#include "diagnostic.h"
#include "intl.h"
#include "jcf.h"
-#include "alias.h"
#include "java-tree.h"
#include "version.h"
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c
index 642ca73..c957d3e 100644
--- a/gcc/java/jcf-io.c
+++ b/gcc/java/jcf-io.c
@@ -26,12 +26,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "options.h"
-#include "tree.h"
#include "jcf.h"
-#include "alias.h"
-#include "java-tree.h"
#include <dirent.h>
#include "zlib.h"
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 792fdbf..0018ffa 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -28,18 +28,13 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "coretypes.h"
#include "target.h"
#include "function.h"
-#include "obstack.h"
#include "bitmap.h"
#include "tree.h"
#include "stringpool.h"
#include "cgraph.h"
#include "diagnostic-core.h"
-#include "alias.h"
-#include "flags.h"
-#include "java-except.h"
#include "javaop.h"
#include "java-tree.h"
-#include "parse.h"
#include "debug.h"
#include "toplev.h"
diff --git a/gcc/java/jvgenmain.c b/gcc/java/jvgenmain.c
index aa10377..9b42d31 100644
--- a/gcc/java/jvgenmain.c
+++ b/gcc/java/jvgenmain.c
@@ -26,12 +26,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "options.h"
-#include "obstack.h"
#include "tree.h"
#include "diagnostic.h"
-#include "jcf.h"
-#include "alias.h"
#include "java-tree.h"
#include "intl.h"
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index 94b2dcf..40a36fd 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -29,14 +29,10 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "target.h"
#include "tree.h"
#include "diagnostic.h"
-#include "alias.h"
#include "java-tree.h"
#include "jcf.h"
#include "langhooks.h"
#include "langhooks-def.h"
-#include "flags.h"
-#include "tree-inline.h"
-#include "splay-tree.h"
#include "tree-dump.h"
#include "opts.h"
#include "context.h"
diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c
index c69bcd8..f0265b6 100644
--- a/gcc/java/mangle.c
+++ b/gcc/java/mangle.c
@@ -27,13 +27,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "options.h"
-#include "obstack.h"
#include "tree.h"
#include "stringpool.h"
-#include "diagnostic-core.h"
#include "jcf.h"
-#include "alias.h"
#include "java-tree.h"
#include "langhooks-def.h"
diff --git a/gcc/java/mangle_name.c b/gcc/java/mangle_name.c
index 47e3b52..0d3a0a4 100644
--- a/gcc/java/mangle_name.c
+++ b/gcc/java/mangle_name.c
@@ -27,13 +27,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "options.h"
#include "obstack.h"
-#include "tree.h"
#include "diagnostic-core.h"
#include "jcf.h"
-#include "alias.h"
-#include "java-tree.h"
static void append_unicode_mangled_name (const char *, int);
#ifndef HAVE_AS_UTF8
diff --git a/gcc/java/resource.c b/gcc/java/resource.c
index 922dfe7..7a7ea0c 100644
--- a/gcc/java/resource.c
+++ b/gcc/java/resource.c
@@ -25,19 +25,13 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "function.h"
-#include "hard-reg-set.h"
#include "tree.h"
#include "stringpool.h"
#include "cgraph.h"
-#include "diagnostic-core.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
#include "java-tree.h"
-#include "jcf.h"
#include "toplev.h"
-#include "parse.h"
#include "tree-iterator.h"
/* A list of all the resources files. */
diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c
index 1cdd070..e9a5d6b 100644
--- a/gcc/java/typeck.c
+++ b/gcc/java/typeck.c
@@ -27,16 +27,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "system.h"
#include "coretypes.h"
#include "options.h"
-#include "obstack.h"
#include "tree.h"
#include "stringpool.h"
#include "diagnostic-core.h"
-#include "alias.h"
#include "fold-const.h"
#include "stor-layout.h"
-#include "flags.h"
#include "java-tree.h"
-#include "jcf.h"
#include "convert.h"
static tree convert_ieee_real_to_integer (tree, tree);
diff --git a/gcc/java/verify-glue.c b/gcc/java/verify-glue.c
index 508383d..8664500 100644
--- a/gcc/java/verify-glue.c
+++ b/gcc/java/verify-glue.c
@@ -28,10 +28,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "system.h"
#include "coretypes.h"
#include "options.h"
-#include "tree.h"
#include "stringpool.h"
#include "diagnostic-core.h"
-#include "alias.h"
#include "parse.h"
#include "verify.h"
diff --git a/gcc/java/verify-impl.c b/gcc/java/verify-impl.c
index 4969318..8484e6b 100644
--- a/gcc/java/verify-impl.c
+++ b/gcc/java/verify-impl.c
@@ -14,11 +14,8 @@ details. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "options.h"
-#include "symtab.h"
#include "verify.h"
-#include "alias.h"
/* Hack to work around namespace pollution from java-tree.h. */
#undef current_class
diff --git a/gcc/java/zextract.c b/gcc/java/zextract.c
index 398b91b..fca4337 100644
--- a/gcc/java/zextract.c
+++ b/gcc/java/zextract.c
@@ -28,7 +28,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
#include "zipfile.h"
/* This stuff is partly based on the 28 August 1994 public release of the