aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog11
-rw-r--r--gcc/objc/objc-act.c11
-rw-r--r--gcc/objc/objc-encoding.c4
-rw-r--r--gcc/objc/objc-gnu-runtime-abi-01.c3
-rw-r--r--gcc/objc/objc-lang.c4
-rw-r--r--gcc/objc/objc-map.c2
-rw-r--r--gcc/objc/objc-next-runtime-abi-01.c4
-rw-r--r--gcc/objc/objc-next-runtime-abi-02.c5
-rw-r--r--gcc/objc/objc-runtime-shared-support.c4
9 files changed, 11 insertions, 37 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 57b5db4..a1e76fe 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,14 @@
+2015-11-11 Andrew MacLeod <amacleod@redhat.com>
+
+ * 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.
+
2015-11-09 Alan Modra <amodra@gmail.com>
* objc-encoding.c (encode_aggregate_within): Cast obstack_next_free
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index a1e32fc..e09093c 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -22,10 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "alias.h"
#include "tree.h"
-#include "options.h"
-#include "fold-const.h"
#include "stringpool.h"
#include "stor-layout.h"
#include "attribs.h"
@@ -37,31 +34,23 @@ along with GCC; see the file COPYING3. If not see
#include "c/c-lang.h"
#endif
-#include "c-family/c-common.h"
#include "c-family/c-objc.h"
-#include "c-family/c-pragma.h"
-#include "c-family/c-format.h"
-#include "flags.h"
#include "langhooks.h"
#include "objc-act.h"
#include "objc-map.h"
-#include "hard-reg-set.h"
#include "function.h"
#include "toplev.h"
#include "debug.h"
#include "c-family/c-target.h"
-#include "diagnostic-core.h"
#include "intl.h"
#include "cgraph.h"
#include "tree-iterator.h"
-#include "langhooks-def.h"
/* Different initialization, code gen and meta data generation for each
runtime. */
#include "objc-runtime-hooks.h"
/* Routines used mainly by the runtimes. */
#include "objc-runtime-shared-support.h"
/* For default_tree_printer (). */
-#include "tree-pretty-print.h"
/* For enum gimplify_status */
#include "gimple-expr.h"
diff --git a/gcc/objc/objc-encoding.c b/gcc/objc/objc-encoding.c
index 9c577e9..ea32f4c 100644
--- a/gcc/objc/objc-encoding.c
+++ b/gcc/objc/objc-encoding.c
@@ -20,7 +20,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "tree.h"
#include "options.h"
#include "stringpool.h"
@@ -33,7 +32,6 @@ along with GCC; see the file COPYING3. If not see
#include "c/c-lang.h"
#endif
-#include "c-family/c-common.h"
#include "c-family/c-objc.h"
#include "objc-encoding.h"
@@ -43,7 +41,6 @@ along with GCC; see the file COPYING3. If not see
#include "objc-runtime-shared-support.h"
/* For BITS_PER_UNIT. */
-#include "tm.h"
/* When building Objective-C++, we are not linking against the C front-end
and so need to replicate the C tree-construction functions in some way. */
@@ -53,7 +50,6 @@ along with GCC; see the file COPYING3. If not see
#endif /* OBJCPLUS */
/* Set up for use of obstacks. */
-#include "obstack.h"
/* This obstack is used to accumulate the encoding of a data type. */
static struct obstack util_obstack;
diff --git a/gcc/objc/objc-gnu-runtime-abi-01.c b/gcc/objc/objc-gnu-runtime-abi-01.c
index d91db2b..40862de 100644
--- a/gcc/objc/objc-gnu-runtime-abi-01.c
+++ b/gcc/objc/objc-gnu-runtime-abi-01.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 "alias.h"
-#include "tree.h"
#include "options.h"
-#include "fold-const.h"
#include "stringpool.h"
#ifdef OBJCPLUS
diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c
index c2c57d1..1595e5c 100644
--- a/gcc/objc/objc-lang.c
+++ b/gcc/objc/objc-lang.c
@@ -22,16 +22,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-family/c-common.h"
#include "c/c-tree.h"
#include "c-family/c-objc.h"
#include "objc-act.h"
#include "langhooks.h"
#include "langhooks-def.h"
#include "c/c-objc-common.h"
-#include "c/c-lang.h"
enum c_language_kind c_language = clk_objc;
diff --git a/gcc/objc/objc-map.c b/gcc/objc/objc-map.c
index 0915a5a..bda0f09 100644
--- a/gcc/objc/objc-map.c
+++ b/gcc/objc/objc-map.c
@@ -20,9 +20,7 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "options.h"
#include "tree.h"
-#include "alias.h"
#include "objc-map.h"
#define OUT_OF_MEMORY { fprintf (stderr, "Out of memory\n"); abort (); }
diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c
index 337771f..e4bcbf9 100644
--- a/gcc/objc/objc-next-runtime-abi-01.c
+++ b/gcc/objc/objc-next-runtime-abi-01.c
@@ -26,10 +26,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
-#include "tree.h"
-#include "options.h"
-#include "fold-const.h"
#include "stringpool.h"
#ifdef OBJCPLUS
diff --git a/gcc/objc/objc-next-runtime-abi-02.c b/gcc/objc/objc-next-runtime-abi-02.c
index 73b591e..2ac0a98 100644
--- a/gcc/objc/objc-next-runtime-abi-02.c
+++ b/gcc/objc/objc-next-runtime-abi-02.c
@@ -28,11 +28,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "alias.h"
-#include "tree.h"
-#include "options.h"
-#include "fold-const.h"
#include "stringpool.h"
#ifdef OBJCPLUS
diff --git a/gcc/objc/objc-runtime-shared-support.c b/gcc/objc/objc-runtime-shared-support.c
index 56013b1..1242d34 100644
--- a/gcc/objc/objc-runtime-shared-support.c
+++ b/gcc/objc/objc-runtime-shared-support.c
@@ -22,9 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
-#include "alias.h"
-#include "tree.h"
-#include "options.h"
#include "stringpool.h"
#ifdef OBJCPLUS
@@ -33,7 +30,6 @@ along with GCC; see the file COPYING3. If not see
#include "c/c-tree.h"
#include "c/c-lang.h"
#endif
-#include "langhooks.h"
#include "c-family/c-objc.h"
#include "objc-act.h"