This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] RFA Remvoe hook_get_alias_set_0().
- From: Marcin Dalecki <martin at dalecki dot de>
- To: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Dec 2006 03:05:41 +0100
- Subject: [PATCH] RFA Remvoe hook_get_alias_set_0().
This (trivial) function isn't a hook and apparently is not used
anywhere.
OK to remove?
Marcin Dalecki
2006-12-29 Marcin Dalecki <martin@dalecki.de>
* gcc/langhooks.c, gcc-langhooks-def.h (hook_get_aliast_set_0): Remove.
Index: gcc/langhooks.c
===================================================================
--- gcc/langhooks.c (revision 120252)
+++ gcc/langhooks.c (working copy)
@@ -223,15 +223,6 @@
return -1;
}
-/* Provide a hook routine for alias sets that always returns 0.
This is
- used by languages that haven't deal with alias sets yet. */
-
-HOST_WIDE_INT
-hook_get_alias_set_0 (tree ARG_UNUSED (t))
-{
- return 0;
-}
-
/* This is the default expand_expr function. */
rtx
Index: gcc/langhooks-def.h
===================================================================
--- gcc/langhooks-def.h (revision 120252)
+++ gcc/langhooks-def.h (working copy)
@@ -26,10 +26,6 @@
struct diagnostic_context;
-/* Provide a hook routine for alias sets that always returns 1.
This is
- used by languages that haven't deal with alias sets yet. */
-extern HOST_WIDE_INT hook_get_alias_set_0 (tree);
-
/* Note to creators of new hooks:
The macros in this file should NOT be surrounded by a