From 6f9c49e07d99e920512097bd07e3f5c1c00911d8 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 11 Mar 1993 05:45:54 -0700 Subject: [PATCH] * loop.c (addr_overlap_p): Delete. From-SVN: r3702 --- gcc/loop.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/gcc/loop.c b/gcc/loop.c index d1187680644..5fb4aba0eac 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, -- 2.30.2