]> gcc.gnu.org Git - gcc.git/commitdiff
reload1.c (reload_cse_mem_conflict_p): Restore handling of (mem:BLK const0_rtx) meani...
authorDoug Evans <dje@gnu.org>
Mon, 21 Jul 1997 18:07:27 +0000 (18:07 +0000)
committerDoug Evans <dje@gnu.org>
Mon, 21 Jul 1997 18:07:27 +0000 (18:07 +0000)
* reload1.c (reload_cse_mem_conflict_p): Restore handling of
(mem:BLK const0_rtx) meaning all memory is clobbered.

From-SVN: r14512

gcc/reload1.c

index 564a579b8a48f8405c3124cf44be782d7c35c6e3..f777c5b7f8c285acd70a864e53baf0581457273f 100644 (file)
@@ -7668,8 +7668,8 @@ reload_cse_invalidate_regno (regno, mode, clobber)
     }
 }
 
-/* The memory at address MEM_BASE is being changed.  MEM_MODE is the mode of
-   the memory reference.  Return whether this change will invalidate VAL.  */
+/* The memory at address MEM_BASE is being changed.
+   Return whether this change will invalidate VAL.  */
 
 static int
 reload_cse_mem_conflict_p (mem_base, val)
@@ -7696,6 +7696,9 @@ reload_cse_mem_conflict_p (mem_base, val)
       return 0;
 
     case MEM:
+      if (GET_MODE (mem_base) == BLKmode
+         || GET_MODE (val) == BLKmode)
+       return 1;
       return anti_dependence (val, mem_base);
 
     default:
This page took 0.078005 seconds and 5 git commands to generate.