aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2015-06-10 00:37:39 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2015-06-10 00:37:39 +0000
commit0f9f9784ad1bb59e89f03e5cb00ebc22f500c059 (patch)
tree44bd2d64a442165a5d4162e8caf3157b8f5557a6 /gcc/alias.c
parenta79b6a3044aa97f8ba6b491ee1796f318c68285a (diff)
downloadgcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.zip
gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.gz
gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.bz2
Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing."
This reverts commit c66acc7cedd89bfd22124caec44b8427c9082dac. Conflicts: gcc/ChangeLog gcc/testsuite/ChangeLog From-SVN: r224310
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 408d058..bc6a0ee 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. */