Index: alias.c
===================================================================
--- alias.c     (revision 162821)
+++ alias.c     (working copy)
@@ -454,7 +454,7 @@
 {
   if (MEM_P (*x))
     {
-      if (alias_sets_conflict_p (MEM_ALIAS_SET(*x), MEM_ALIAS_SET(mem)))
+      if (rtx_refs_may_alias_p (*x, mem, true))
         return 1;

       return -1;
