diff options
author | Bingfeng Mei <bmei@broadcom.com> | 2010-10-21 15:16:01 +0000 |
---|---|---|
committer | Bingfeng Mei <bmei@broadcom.com> | 2010-10-21 15:16:01 +0000 |
commit | 1f2df75f728cf1ea52cd77c64e80bdd04f84d427 (patch) | |
tree | b60f8e8fc13fc82f35ef0189c4468147049ea922 /gcc/alias.c | |
parent | b5858f49db26b91e2769f99e4e231a913443d205 (diff) |
2010-10-21 Bingfeng Mei <bmei@broadcom.com>
PR c/45834
* alias.c (true_dependence_1): Remove obsolete check for QImode.
(may_alias_p): Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@165781 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index 298f39b5434..2e0ac06ce44 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -2459,7 +2459,7 @@ true_dependence_1 (const_rtx mem, enum machine_mode mem_mode, rtx mem_addr, /* We cannot use aliases_everything_p to test MEM, since we must look at MEM_ADDR, rather than XEXP (mem, 0). */ - if (mem_mode == QImode || GET_CODE (mem_addr) == AND) + if (GET_CODE (mem_addr) == AND) return 1; /* ??? In true_dependence we also allow BLKmode to alias anything. Why @@ -2655,7 +2655,7 @@ may_alias_p (const_rtx mem, const_rtx x) /* We cannot use aliases_everything_p to test MEM, since we must look at MEM_ADDR, rather than XEXP (mem, 0). */ - if (GET_MODE (mem) == QImode || GET_CODE (mem_addr) == AND) + if (GET_CODE (mem_addr) == AND) return 1; if (fixed_scalar_and_varying_struct_p (mem, x, mem_addr, x_addr, |