summaryrefslogtreecommitdiffstats
path: root/gcc/alias.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-13 00:13:29 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-13 00:13:29 +0000
commit600380f0c4744b85234a0411a3fb842ef0e248df (patch)
tree236e8b8c5fd6f3c5e5f43238b8fa4a01a97d82fc /gcc/alias.c
parentb02f0a26d61ac4abbe77525cac889d05a98ef956 (diff)
downloadppe42-gcc-600380f0c4744b85234a0411a3fb842ef0e248df.tar.gz
ppe42-gcc-600380f0c4744b85234a0411a3fb842ef0e248df.zip
2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* alias.c (find_symbolic_term): Delete unused function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121869 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index b873e9743bf..3ac68483783 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -149,7 +149,6 @@ struct alias_set_entry GTY(())
typedef struct alias_set_entry *alias_set_entry;
static int rtx_equal_for_memref_p (rtx, rtx);
-static rtx find_symbolic_term (rtx);
static int memrefs_conflict_p (int, rtx, int, rtx, HOST_WIDE_INT);
static void record_set (rtx, rtx, void *);
static int base_alias_check (rtx, rtx, enum machine_mode,
@@ -1345,39 +1344,6 @@ rtx_equal_for_memref_p (rtx x, rtx y)
return 1;
}
-/* Given an rtx X, find a SYMBOL_REF or LABEL_REF within
- X and return it, or return 0 if none found. */
-
-static rtx
-find_symbolic_term (rtx x)
-{
- int i;
- enum rtx_code code;
- const char *fmt;
-
- code = GET_CODE (x);
- if (code == SYMBOL_REF || code == LABEL_REF)
- return x;
- if (OBJECT_P (x))
- return 0;
-
- fmt = GET_RTX_FORMAT (code);
- for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--)
- {
- rtx t;
-
- if (fmt[i] == 'e')
- {
- t = find_symbolic_term (XEXP (x, i));
- if (t != 0)
- return t;
- }
- else if (fmt[i] == 'E')
- break;
- }
- return 0;
-}
-
rtx
find_base_term (rtx x)
{
OpenPOWER on IntegriCloud