aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 654ce78..32ec8a5 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -6061,19 +6061,6 @@ signed_type_for (tree type)
return lang_hooks.types.signed_type (type);
}
-/* Return the LABEL_DECL associated with T, which must be a
- CASE_LABEL_EXPR. This will walk through any CASE_LABEL_EXPRs
- appearing in operand 2 until it finds a CASE_LABEL_EXPR with
- a LABEL_DECL in operand 2. */
-
-tree
-get_case_label (tree t)
-{
- while (TREE_CODE (CASE_LEADER_OR_LABEL (t)) == CASE_LABEL_EXPR)
- t = CASE_LEADER_OR_LABEL (t);
- return CASE_LEADER_OR_LABEL (t);
-}
-
/* Returns the largest value obtainable by casting something in INNER type to
OUTER type. */