* reorg.c (fill_slots_from_thread): Check modified_in_p
before replacing.
From-SVN: r31349
+Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
+
+ * reorg.c (fill_slots_from_thread): Check modified_in_p
+ before replacing.
+
Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
* gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
&& GET_CODE (PATTERN (next)) != USE
&& ! reg_set_p (SET_DEST (pat), next)
&& ! reg_set_p (SET_SRC (pat), next)
- && reg_referenced_p (SET_DEST (pat), PATTERN (next)))
+ && reg_referenced_p (SET_DEST (pat), PATTERN (next))
+ && ! modified_in_p (SET_DEST (pat), next))
validate_replace_rtx (SET_DEST (pat), SET_SRC (pat), next);
}
}