Commit 92ddef69 by Alexandre Oliva Committed by Alexandre Oliva

* cfgrtl.c (rtl_block_ends_with_call_p): Skip notes at the end.

From-SVN: r128988
parent 02a4823b
2007-10-03 Alexandre Oliva <aoliva@redhat.com> 2007-10-03 Alexandre Oliva <aoliva@redhat.com>
* cfgrtl.c (rtl_block_ends_with_call_p): Skip notes at the end.
2007-10-03 Alexandre Oliva <aoliva@redhat.com>
* gcse.c (hash_scan_set): Insert set in insn before note at * gcse.c (hash_scan_set): Insert set in insn before note at
the end of basic block. the end of basic block.
...@@ -2702,7 +2702,8 @@ rtl_block_ends_with_call_p (basic_block bb) ...@@ -2702,7 +2702,8 @@ rtl_block_ends_with_call_p (basic_block bb)
while (!CALL_P (insn) while (!CALL_P (insn)
&& insn != BB_HEAD (bb) && insn != BB_HEAD (bb)
&& keep_with_call_p (insn)) && (keep_with_call_p (insn)
|| NOTE_P (insn)))
insn = PREV_INSN (insn); insn = PREV_INSN (insn);
return (CALL_P (insn)); return (CALL_P (insn));
} }
......
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