aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-03-11 05:45:54 -0700
committerJeff Law <law@gcc.gnu.org>1993-03-11 05:45:54 -0700
commit6f9c49e07d99e920512097bd07e3f5c1c00911d8 (patch)
treea2f7333b88824142ceffa2ad43cf5e6afeadf26b
parentdb2e669b70375fb05b48be106feca96d1aaab062 (diff)
downloadgcc-6f9c49e07d99e920512097bd07e3f5c1c00911d8.zip
gcc-6f9c49e07d99e920512097bd07e3f5c1c00911d8.tar.gz
gcc-6f9c49e07d99e920512097bd07e3f5c1c00911d8.tar.bz2
* loop.c (addr_overlap_p): Delete.
From-SVN: r3702
-rw-r--r--gcc/loop.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index d118768..5fb4aba 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -2705,29 +2705,6 @@ invariant_p (x)
return 1 + conditional;
}
-/* Return 1 if OTHER (a mem ref) overlaps the area of memory
- which is SIZE bytes starting at BASE. */
-
-int
-addr_overlap_p (other, base, size)
- rtx other;
- rtx base;
- HOST_WIDE_INT size;
-{
- HOST_WIDE_INT start = 0, end;
-
- if (GET_CODE (base) == CONST)
- base = XEXP (base, 0);
- if (GET_CODE (base) == PLUS
- && GET_CODE (XEXP (base, 1)) == CONST_INT)
- {
- start = INTVAL (XEXP (base, 1));
- base = XEXP (base, 0);
- }
-
- end = start + size;
- return refers_to_mem_p (other, base, start, end);
-}
/* Return nonzero if all the insns in the loop that set REG
are INSN and the immediately following insns,