reload1.c (reload_cse_mem_conflict_p): Restore handling of (mem:BLK const0_rtx) meaning all memory is clobbered.

* reload1.c (reload_cse_mem_conflict_p): Restore handling of
	(mem:BLK const0_rtx) meaning all memory is clobbered.

From-SVN: r14512
This commit is contained in:
Doug Evans 1997-07-21 18:07:27 +00:00
parent 7c0ae5f17f
commit 866aa3b64b
1 changed files with 5 additions and 2 deletions

View 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: