Commit 8b8de8b6 by Jakub Jelinek Committed by Jakub Jelinek

re PR rtl-optimization/54792 (-fcompare-debug failures introduced by r191493)

	PR rtl-optimization/54792
	* sched-deps.c (find_modifiable_mems): Scan also TAIL insn.

From-SVN: r192038
parent 75ab707c
2012-10-03 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/54792
* sched-deps.c (find_modifiable_mems): Scan also TAIL insn.
2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
PR target/54785
......
......@@ -4816,10 +4816,10 @@ find_mem (struct mem_inc_info *mii, rtx *address_of_x)
void
find_modifiable_mems (rtx head, rtx tail)
{
rtx insn;
rtx insn, next_tail = NEXT_INSN (tail);
int success_in_block = 0;
for (insn = head; insn != tail; insn = NEXT_INSN (insn))
for (insn = head; insn != next_tail; insn = NEXT_INSN (insn))
{
struct mem_inc_info mii;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment