summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 27e7e3903fd..a92cf857844 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -95,7 +95,6 @@ static void record_set PARAMS ((rtx, rtx, void *));
static rtx find_base_term PARAMS ((rtx));
static int base_alias_check PARAMS ((rtx, rtx, enum machine_mode,
enum machine_mode));
-static int handled_component_p PARAMS ((tree));
static rtx find_base_value PARAMS ((rtx));
static int mems_in_disjoint_alias_sets_p PARAMS ((rtx, rtx));
static int insert_subset_children PARAMS ((splay_tree_node, void*));
@@ -399,31 +398,6 @@ find_base_decl (t)
}
}
-/* Return 1 if T is an expression that get_inner_reference handles. */
-
-static int
-handled_component_p (t)
- tree t;
-{
- switch (TREE_CODE (t))
- {
- case BIT_FIELD_REF:
- case COMPONENT_REF:
- case ARRAY_REF:
- case ARRAY_RANGE_REF:
- case NON_LVALUE_EXPR:
- return 1;
-
- case NOP_EXPR:
- case CONVERT_EXPR:
- return (TYPE_MODE (TREE_TYPE (t))
- == TYPE_MODE (TREE_TYPE (TREE_OPERAND (t, 0))));
-
- default:
- return 0;
- }
-}
-
/* Return 1 if all the nested component references handled by
get_inner_reference in T are such that we can address the object in T. */