diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2007-05-28 21:28:31 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2007-05-28 21:28:31 +0000 |
commit | 70ea680b5d510332751fd9f766265d27ce77f7c3 (patch) | |
tree | cf91159ff40c873cd96cf8cff0e74018a447fa9f | |
parent | cf9226fbc52d20e822580fda52851f045f78e69b (diff) | |
download | gcc-70ea680b5d510332751fd9f766265d27ce77f7c3.zip gcc-70ea680b5d510332751fd9f766265d27ce77f7c3.tar.gz gcc-70ea680b5d510332751fd9f766265d27ce77f7c3.tar.bz2 |
langhooks-def.h: Remove the prototype for hook_get_alias_set_0.
* langhooks-def.h: Remove the prototype for
hook_get_alias_set_0.
* langhooks.c (hook_get_alias_set_0): Remove.
From-SVN: r125145
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/langhooks-def.h | 4 | ||||
-rw-r--r-- | gcc/langhooks.c | 9 |
3 files changed, 4 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90d9e40..8b17faf 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 def7a4a..80b8043 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 96234f6..f1d4f14 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 |