diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 18:14:23 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 18:14:23 +0000 |
commit | c4b9c21a2470c2d1d1cca1577a802531752ab067 (patch) | |
tree | dcdfd08bbc0f7551efb5079919f14b18d155048e /gcc/objc | |
parent | d5156c99fe61ac2fe67f1c51f0fc7718d0b3d293 (diff) | |
download | gcc-c4b9c21a2470c2d1d1cca1577a802531752ab067.tar.gz |
gcc/ChangeLog:
* Makefile.in (EXCEPT_H): Fix typo.
objc/ChangeLog:
* objc-act.h: Do not include gimple.h.
* objc-act.c: Do not include rtl.h, expr.h, libfuncs.h, and tm_p.h.
Include gimple.h. Explain why except.h has to be included.
* objc-lang.c: Do not include diagnostics.h.
* Make-lang.in: Update dependencies.
objcp/ChangeLog:
* objcp-decl.c: Do not include tm.h, rtl.h, expr.h, c-common.h,
flags.h, input.h, except.h, output.h, toplev.h, cpplib.h, debug.h,
and target.h.
* objcp-lang.c: Do not include tm.h, toplev.h, diagnostics.h,
and debug.h. Explain why except.h has to be included.
* Make-lang.in: Update dependencies.
cp/ChangeLog:
* cp-tree.h: Do not include splay-tree.h.
(struct prtmem_cst): Remove unused field and false comment.
* typeck.c: Do not include rtl.h, expr.h, and tm_p.h.
* optimize.c: Do not inclde rtl.h, insn-config.h, and integrate.h.
* init.c: Do not include rtl.h and expr.h.
* class.c: Do not include rtl.h. Include splay-tree.h.
(build_clone): Use plain NULL instead of NULL_RTX.
* decl.c: Do not include expr.h. Explain why rtl.h has to be
included. Include splay-tree.h.
* method.c: Do not include rtl.h and expr.h.
(use_thunk): Use plain NULL instead of NULL_RTX.
* except.c: Do not include rtl.h, expr.h, and libfuncs.h.
* tree.c: Do not include rtl.h, insn-config.h, integrate.h,
and target.h. Include splay-tree.h.
* expr.c: Do not include rtl.h and expr.h.
* pt.c: Do not include obstack.h and rtl.h.
(tsubst_friend_function): Use plain NULL instead of NULL_RTX.
(tsubst_decl): Likewise.
(instantiate_decl): Likewise.
* semantics.c: Do not include exprt.h and debug.h. Explain why
rtl.h has to be included.
* decl2.c: Do not include rtl.h and expr.h. Include splay-tree.h.
* call.c: Do not include rtl.h and expr.h.
* search.c: Do not include obstack.h and rtl.h.
* friend.c: Do not include rtl.h and expr.h.
* Make-lang.in: Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159839 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/objc/Make-lang.in | 9 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 9 | ||||
-rw-r--r-- | gcc/objc/objc-act.h | 3 | ||||
-rw-r--r-- | gcc/objc/objc-lang.c | 1 |
5 files changed, 16 insertions, 14 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 743764b69fc..d48ff16c9e9 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,11 @@ +2010-05-25 Steven Bosscher <steven@gcc.gnu.org> + + * objc-act.h: Do not include gimple.h. + * objc-act.c: Do not include rtl.h, expr.h, libfuncs.h, and tm_p.h. + Include gimple.h. Explain why except.h has to be included. + * objc-lang.c: Do not include diagnostics.h. + * Make-lang.in: Update dependencies. + 2010-05-25 Nathan Froyd <froydnj@codesourcery.com> * objc-act.c (objc_build_constructor): Adjust OBJCPLUS impedance diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in index d4da7361e03..144d01a5185 100644 --- a/gcc/objc/Make-lang.in +++ b/gcc/objc/Make-lang.in @@ -69,14 +69,13 @@ cc1obj$(exeext): $(OBJC_OBJS) $(C_AND_OBJC_OBJS) cc1obj-checksum.o $(BACKEND) $( # Objective C language specific files. objc/objc-lang.o : objc/objc-lang.c \ - $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ - $(C_TREE_H) $(DIAGNOSTIC_H) \ + $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_TREE_H) \ $(GGC_H) langhooks.h $(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-objc.h \ - c-objc-common.h objc/objc-act.h $(GIMPLE_H) + c-objc-common.h objc/objc-act.h objc/objc-act.o : objc/objc-act.c \ - $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(RTL_H) $(TM_P_H) \ - $(EXPR_H) $(TARGET_H) $(C_TREE_H) $(DIAGNOSTIC_H) toplev.h $(FLAGS_H) \ + $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ + $(TARGET_H) $(C_TREE_H) $(DIAGNOSTIC_H) toplev.h $(FLAGS_H) \ objc/objc-act.h input.h $(FUNCTION_H) output.h debug.h langhooks.h \ $(LANGHOOKS_DEF_H) $(HASHTAB_H) $(C_PRAGMA_H) gt-objc-objc-act.h \ $(GIMPLE_H) c-lang.h diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 5961531d691..b1ca2e4249c 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -45,9 +45,6 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "tree.h" -#include "rtl.h" -#include "tm_p.h" -#include "expr.h" #ifdef OBJCPLUS #include "cp-tree.h" @@ -62,7 +59,7 @@ along with GCC; see the file COPYING3. If not see #include "langhooks.h" #include "objc-act.h" #include "input.h" -#include "except.h" +#include "except.h" /* For USING_SJLJ_EXCEPTIONS. */ #include "function.h" #include "output.h" #include "toplev.h" @@ -73,10 +70,12 @@ along with GCC; see the file COPYING3. If not see #include "intl.h" #include "cgraph.h" #include "tree-iterator.h" -#include "libfuncs.h" #include "hashtab.h" #include "langhooks-def.h" +/* For enum gimplify_status */ +#include "gimple.h" + #define OBJC_VOID_AT_END void_list_node static unsigned int should_call_super_dealloc = 0; diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index f0970f90bfd..d8bf0f62f93 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -22,9 +22,6 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_OBJC_ACT_H #define GCC_OBJC_ACT_H -/* For enum gimplify_status */ -#include "gimple.h" - /*** Language hooks ***/ bool objc_init (void); diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c index acb1c84649d..04cea974f45 100644 --- a/gcc/objc/objc-lang.c +++ b/gcc/objc/objc-lang.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "objc-act.h" #include "langhooks.h" #include "langhooks-def.h" -#include "diagnostic.h" #include "c-objc-common.h" enum c_language_kind c_language = clk_objc; |