aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBingfeng Mei <bmei@broadcom.com>2010-10-21 15:16:01 +0000
committerBingfeng Mei <meibf@gcc.gnu.org>2010-10-21 15:16:01 +0000
commit4fcf718a6127fc70a3d39011b1c98d829c5fc2df (patch)
treeb60f8e8fc13fc82f35ef0189c4468147049ea922
parentae1f6fcec0d9a0a0551578915a7a83c39be894aa (diff)
downloadgcc-4fcf718a6127fc70a3d39011b1c98d829c5fc2df.zip
gcc-4fcf718a6127fc70a3d39011b1c98d829c5fc2df.tar.gz
gcc-4fcf718a6127fc70a3d39011b1c98d829c5fc2df.tar.bz2
re PR rtl-optimization/45834 (Redundant inter-loop edges in DDG)
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. From-SVN: r165781
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/alias.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8d110cf..51228ec 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2010-10-21 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/45875
diff --git a/gcc/alias.c b/gcc/alias.c
index 298f39b..2e0ac06 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,