From bf2e0d73d7a2a35de490132cce4d81f1cdb97182 Mon Sep 17 00:00:00 2001 From: mrs Date: Tue, 17 May 2005 20:00:33 +0000 Subject: [PATCH] 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 --- gcc/objcp/ChangeLog | 9 +++++++++ gcc/objcp/Make-lang.in | 7 ++++--- gcc/objcp/objcp-lang.c | 2 ++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index 85bf984..6119570 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,12 @@ +2005-05-17 Mike Stump + + 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 * ChangeLog: New. diff --git a/gcc/objcp/Make-lang.in b/gcc/objcp/Make-lang.in index 51875e4..1c1724d 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 8f70419..63f1953 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. */ -- 2.7.4