summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-10 00:37:39 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-10 00:37:39 +0000
commit1382992bbdaff4b5e426d77b731b0961ba5f6777 (patch)
tree44bd2d64a442165a5d4162e8caf3157b8f5557a6 /gcc/alias.c
parentd1ad4a2d62169f4b195a00efd68642a4a6d52d4a (diff)
downloadgcc-1382992bbdaff4b5e426d77b731b0961ba5f6777.tar.gz
Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing."
This reverts commit c66acc7cedd89bfd22124caec44b8427c9082dac. Conflicts: gcc/ChangeLog gcc/testsuite/ChangeLog git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 408d058d2e7..bc6a0eef0b8 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -2542,19 +2542,6 @@ nonoverlapping_memrefs_p (const_rtx x, const_rtx y, bool loop_invariant)
if (! DECL_P (exprx) || ! DECL_P (expry))
return 0;
- /* If we refer to different gimple registers, or one gimple register
- and one non-gimple-register, we know they can't overlap. First,
- gimple registers don't have their addresses taken. Now, there
- could be more than one stack slot for (different versions of) the
- same gimple register, but we can presumably tell they don't
- overlap based on offsets from stack base addresses elsewhere.
- It's important that we don't proceed to DECL_RTL, because gimple
- registers may not pass DECL_RTL_SET_P, and make_decl_rtl won't be
- able to do anything about them since no SSA information will have
- remained to guide it. */
- if (is_gimple_reg (exprx) || is_gimple_reg (expry))
- return exprx != expry;
-
/* With invalid code we can end up storing into the constant pool.
Bail out to avoid ICEing when creating RTL for this.
See gfortran.dg/lto/20091028-2_0.f90. */