summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-28 21:28:31 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-28 21:28:31 +0000
commit171822d57cea66ff1f9cdaf0e12cc812398dc7e1 (patch)
treecf91159ff40c873cd96cf8cff0e74018a447fa9f
parent87772ee1b209ca6b7dbf2ab725f0d43d3dc39a07 (diff)
downloadppe42-gcc-171822d57cea66ff1f9cdaf0e12cc812398dc7e1.tar.gz
ppe42-gcc-171822d57cea66ff1f9cdaf0e12cc812398dc7e1.zip
* langhooks-def.h: Remove the prototype for
hook_get_alias_set_0. * langhooks.c (hook_get_alias_set_0): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125145 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/langhooks-def.h4
-rw-r--r--gcc/langhooks.c9
3 files changed, 4 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 90d9e40bcc3..8b17fafd094 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -4,6 +4,10 @@
* targhooks.h: Remove the prototype for
default_narrow_bitfield.
+ * langhooks-def.h: Remove the prototype for
+ hook_get_alias_set_0.
+ * langhooks.c (hook_get_alias_set_0): Remove.
+
2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/32100
diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h
index def7a4a5381..80b80435cf8 100644
--- a/gcc/langhooks-def.h
+++ b/gcc/langhooks-def.h
@@ -26,10 +26,6 @@ Boston, MA 02110-1301, USA. */
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
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index 96234f60e16..f1d4f142d1d 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -217,15 +217,6 @@ lhd_get_alias_set (tree ARG_UNUSED (t))
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
OpenPOWER on IntegriCloud