diff options
author | YamaArashi <shadow962@live.com> | 2016-07-25 23:08:34 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-07-25 23:08:34 -0700 |
commit | 055f692f630b8d6bee804c8d349d7c71a6b43798 (patch) | |
tree | 37b8fae7f85c15b34b53301dc94ebb2d7bd1c32c /gcc/alias.c | |
parent | 0c55c65a7566a9bdb80cbc73a68e600c10d6d2b3 (diff) |
remove unused static functions
Diffstat (limited to 'gcc/alias.c')
-rwxr-xr-x | gcc/alias.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index dca53cf..de75473 100755 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -74,7 +74,6 @@ typedef struct alias_set_entry { static rtx canon_rtx (rtx); 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); @@ -706,40 +705,6 @@ rtx_equal_for_memref_p (x, 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 (x) - rtx x; -{ - register int i; - register enum rtx_code code; - register char *fmt; - - code = GET_CODE (x); - if (code == SYMBOL_REF || code == LABEL_REF) - return x; - if (GET_RTX_CLASS (code) == 'o') - 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; -} - static rtx find_base_term (x) register rtx x; |