summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-17 20:00:33 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-17 20:00:33 +0000
commitbf2e0d73d7a2a35de490132cce4d81f1cdb97182 (patch)
tree6b3e6e3f74e1742d7a377e70b96dba3b7daf277d
parent4147cbe98b8be76efe77da77de7091e723a005df (diff)
downloadgcc-bf2e0d73d7a2a35de490132cce4d81f1cdb97182.tar.gz
Yet more Objective-C++...
* Make-lang.in (objcp/objcp-lang.o): Add tree-gimple.h (objcp/objcp-decl.o): Likewise. (objcp/objcp-act.o): Likewise. * objcp-lang.c (LANG_HOOKS_GIMPLIFY_EXPR): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99852 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/objcp/ChangeLog9
-rw-r--r--gcc/objcp/Make-lang.in7
-rw-r--r--gcc/objcp/objcp-lang.c2
3 files changed, 15 insertions, 3 deletions
diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog
index 85bf984d3f3..611957032b2 100644
--- a/gcc/objcp/ChangeLog
+++ b/gcc/objcp/ChangeLog
@@ -1,3 +1,12 @@
+2005-05-17 Mike Stump <mrs@apple.com>
+
+ Yet more Objective-C++...
+
+ * Make-lang.in (objcp/objcp-lang.o): Add tree-gimple.h
+ (objcp/objcp-decl.o): Likewise.
+ (objcp/objcp-act.o): Likewise.
+ * objcp-lang.c (LANG_HOOKS_GIMPLIFY_EXPR): Add.
+
2005-04-21 Mike Stump <mrs@apple.com>
* ChangeLog: New.
diff --git a/gcc/objcp/Make-lang.in b/gcc/objcp/Make-lang.in
index 51875e44d51..1c1724d85f1 100644
--- a/gcc/objcp/Make-lang.in
+++ b/gcc/objcp/Make-lang.in
@@ -60,12 +60,12 @@ cc1objplus$(exeext): $(OBJCXX_OBJS) $(BACKEND) $(LIBDEPS)
objcp/objcp-lang.o : objcp/objcp-lang.c \
$(CXX_TREE_H) $(TM_H) toplev.h debug.h langhooks.h objc/objc-act.h \
$(LANGHOOKS_DEF_H) c-common.h gtype-objcp.h $(CXX_PRETTY_PRINT_H) \
- $(DIAGNOSTIC_H) cp/cp-objcp-common.h
+ $(DIAGNOSTIC_H) cp/cp-objcp-common.h tree-gimple.h
objcp/objcp-decl.o : objcp/objcp-decl.c \
$(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_TREE_H) \
toplev.h $(GGC_H) c-pragma.h input.h flags.h output.h objc/objc-act.h \
- objcp/objcp-decl.h
+ objcp/objcp-decl.h tree-gimple.h
# The following must be an explicit rule; please keep in sync with the implicit
# one in Makefile.in.
@@ -73,7 +73,8 @@ objcp/objcp-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) $(CXX_TREE_H) diagnostic.h toplev.h flags.h \
objc/objc-act.h input.h function.h output.h debug.h langhooks.h \
- objcp/objcp-decl.h $(LANGHOOKS_DEF_H) $(HASHTAB_H) gt-objc-objc-act.h
+ objcp/objcp-decl.h $(LANGHOOKS_DEF_H) $(HASHTAB_H) gt-objc-objc-act.h \
+ tree-gimple.h
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
po-generated:
diff --git a/gcc/objcp/objcp-lang.c b/gcc/objcp/objcp-lang.c
index 8f70419f8e9..63f1953a770 100644
--- a/gcc/objcp/objcp-lang.c
+++ b/gcc/objcp/objcp-lang.c
@@ -48,6 +48,8 @@ enum c_language_kind c_language = clk_objcxx;
#define LANG_HOOKS_DECL_PRINTABLE_NAME objc_printable_name
#undef LANG_HOOKS_TYPES_COMPATIBLE_P
#define LANG_HOOKS_TYPES_COMPATIBLE_P objc_types_compatible_p
+#undef LANG_HOOKS_GIMPLIFY_EXPR
+#define LANG_HOOKS_GIMPLIFY_EXPR objc_gimplify_expr
#undef LANG_HOOKS_GET_CALLEE_FNDECL
#define LANG_HOOKS_GET_CALLEE_FNDECL objc_get_callee_fndecl
/* Each front end provides its own lang hook initializer. */