mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 05:40:26 +08:00
reload1.c (reload): Verify that addresses for reg_equiv_* are valid for the architecture.
2003-11-11 Eric Christopher <echristo@redhat.com> * reload1.c (reload): Verify that addresses for reg_equiv_* are valid for the architecture. From-SVN: r73487
This commit is contained in:
parent
f9d52373f8
commit
bbbbbbe7c6
@ -1,3 +1,8 @@
|
||||
2003-11-11 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
* reload1.c (reload): Verify that addresses for
|
||||
reg_equiv_* are valid for the architecture.
|
||||
|
||||
2003-11-11 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
* function.c (purge_addressof_1): Add libcall check.
|
||||
|
@ -774,6 +774,12 @@ reload (rtx first, int global)
|
||||
= force_const_mem (GET_MODE (SET_DEST (set)), x);
|
||||
if (!reg_equiv_memory_loc[i])
|
||||
continue;
|
||||
/* As above. Later passes of reload assume that
|
||||
all addresses found in the reg_equiv_* arrays
|
||||
were originally legitimate. */
|
||||
if (!memory_operand (reg_equiv_memory_loc[i], VOIDmode))
|
||||
reg_equiv_memory_loc[i] = NULL_RTX;
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user