This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] gcc/*.h: Remove LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: rguenther at suse dot de
- Date: Sat, 13 Oct 2007 19:25:01 -0700
- Subject: [patch] gcc/*.h: Remove LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN.
Hi,
Attached is a patch to remove
LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN.
Richard Guenther removed c_cannot_inline_tree_fn (but not its
prototype) on 2007-08-24.
This patch removes the unused prototype as well as
LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN, the sole reference to
the unused prototype.
OK to apply?
Kazu Hirata
2007-10-14 Kazu Hirata <kazu@codesourcery.com>
* c-objc-common.h (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN):
Remove.
* c-tree.h: Remove the prototype for c_cannot_inline_tree_fn.
Index: c-objc-common.h
===================================================================
--- c-objc-common.h (revision 129291)
+++ c-objc-common.h (working copy)
@@ -82,9 +82,6 @@ extern void c_initialize_diagnostics (di
#undef LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
#define LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE c_common_format_attribute_table
-#undef LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN
-#define LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN \
- c_cannot_inline_tree_fn
#undef LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN
#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN c_dump_tree
Index: c-tree.h
===================================================================
--- c-tree.h (revision 129292)
+++ c-tree.h (working copy)
@@ -520,7 +520,6 @@ extern struct c_declspecs *declspecs_add
extern struct c_declspecs *finish_declspecs (struct c_declspecs *);
/* in c-objc-common.c */
-extern int c_cannot_inline_tree_fn (tree *);
extern bool c_objc_common_init (void);
extern bool c_missing_noreturn_ok_p (tree);
extern tree c_objc_common_truthvalue_conversion (tree expr);