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 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