* reload.h (reg_equiv_invariant): Declare.
* reload.c (refers_to_regno_for_reload_p): Allow R to be a pseudo
register also when reg_equiv_invariant[R] is set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108195
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-12-07 J"orn Rennecke <joern.rennecke@st.com>
+
+ * reload.h (reg_equiv_invariant): Declare.
+ * reload.c (refers_to_regno_for_reload_p): Allow R to be a pseudo
+ register also when reg_equiv_invariant[R] is set.
+
2005-12-07 Richard Sandiford <richard@codesourcery.com>
Andreas Tobler <a.tobler@schweiz.ch>
reg_equiv_memory_loc[r],
(rtx*) 0);
- gcc_assert (reg_equiv_constant[r]);
+ gcc_assert (reg_equiv_constant[r] || reg_equiv_invariant[r]);
return 0;
}
extern GTY (()) struct varray_head_tag *reg_equiv_memory_loc_varray;
extern rtx *reg_equiv_constant;
+extern rtx *reg_equiv_invariant;
extern rtx *reg_equiv_memory_loc;
extern rtx *reg_equiv_address;
extern rtx *reg_equiv_mem;