Tweak to ira-lives.c

gcc/
2014-08-27  David Malcolm  <dmalcolm@redhat.com>

	* ira-lives.c (find_call_crossed_cheap_reg): Strengthen local
	"prev" from rtx to rtx_insn *.

From-SVN: r214587
This commit is contained in:
David Malcolm 2014-08-27 19:43:12 +00:00 committed by David Malcolm
parent f11723d8cb
commit c74ef30d7b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-08-27 David Malcolm <dmalcolm@redhat.com>
* ira-lives.c (find_call_crossed_cheap_reg): Strengthen local
"prev" from rtx to rtx_insn *.
2014-08-27 David Malcolm <dmalcolm@redhat.com>
* rtl.h (INSN_UID): Convert from a macro to a pair of inline

View file

@ -1004,7 +1004,7 @@ find_call_crossed_cheap_reg (rtx_insn *insn)
{
basic_block bb = BLOCK_FOR_INSN (insn);
rtx reg = SET_SRC (exp);
rtx prev = PREV_INSN (insn);
rtx_insn *prev = PREV_INSN (insn);
while (prev && !(INSN_P (prev)
&& BLOCK_FOR_INSN (prev) != bb))
{