summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-objc-common.h3
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/f95-lang.c1
-rw-r--r--gcc/treelang/ChangeLog5
-rw-r--r--gcc/treelang/treetree.c13
6 files changed, 13 insertions, 17 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2c1b6d5c3a1..1ac0d6a1ca7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-12 Jan Hubicka <jh@suse.cz>
+
+ * c-objc-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
+
2007-09-12 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/32377
diff --git a/gcc/c-objc-common.h b/gcc/c-objc-common.h
index 66b25b36923..69fcf6cdfcc 100644
--- a/gcc/c-objc-common.h
+++ b/gcc/c-objc-common.h
@@ -88,9 +88,6 @@ extern void c_initialize_diagnostics (diagnostic_context *);
#undef LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN
#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN c_dump_tree
-#undef LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION
-#define LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION c_expand_body
-
#undef LANG_HOOKS_TYPE_FOR_MODE
#define LANG_HOOKS_TYPE_FOR_MODE c_common_type_for_mode
#undef LANG_HOOKS_TYPE_FOR_SIZE
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index c17cac4c499..c6c9ff87e90 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-12 Jan Hubicka <jh@suse.cz>
+
+ * f95-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
+
2007-09-12 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/33395
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c
index c5c602bcc81..ce499919e67 100644
--- a/gcc/fortran/f95-lang.c
+++ b/gcc/fortran/f95-lang.c
@@ -111,7 +111,6 @@ static alias_set_type gfc_get_alias_set (tree);
#undef LANG_HOOKS_MARK_ADDRESSABLE
#undef LANG_HOOKS_TYPE_FOR_MODE
#undef LANG_HOOKS_TYPE_FOR_SIZE
-#undef LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION
#undef LANG_HOOKS_CLEAR_BINDING_STACK
#undef LANG_HOOKS_GET_ALIAS_SET
#undef LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index d98c1c4c85a..f39d5c318d3 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-12 Jan Hubicka <jh@suse.cz>
+
+ * treetree.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
+ (treelang_expand_function): Kill.
+
2007-09-06 Tom Tromey <tromey@redhat.com>
* tree1.c (treelang_init): Update.
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index dd4489b42a8..54e5ada376b 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -141,7 +141,6 @@ static int global_bindings_p (void);
static void insert_block (tree);
static void tree_push_type_decl (tree id, tree type_node);
-static void treelang_expand_function (tree fndecl);
/* The front end language hooks (addresses of code for this front
end). These are not really very language-dependent, i.e.
@@ -158,9 +157,6 @@ static void treelang_expand_function (tree fndecl);
#undef LANG_HOOKS_ATTRIBUTE_TABLE
#define LANG_HOOKS_ATTRIBUTE_TABLE treelang_attribute_table
-#undef LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION
-#define LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION treelang_expand_function
-
/* #undef LANG_HOOKS_TYPES_COMPATIBLE_P
#define LANG_HOOKS_TYPES_COMPATIBLE_P hook_bool_tree_tree_true
*/
@@ -1184,14 +1180,5 @@ const struct attribute_spec treelang_attribute_table[] =
{ NULL, 0, 0, false, false, false, NULL },
};
-/* Treelang expand function langhook. */
-
-static void
-treelang_expand_function (tree fndecl)
-{
- /* We have nothing special to do while expanding functions for treelang. */
- tree_rest_of_compilation (fndecl);
-}
-
#include "debug.h" /* for debug_hooks, needed by gt-treelang-treetree.h */
#include "gt-treelang-treetree.h"