This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]