Use rtx_insn more within peep2
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 5 Sep 2014 14:47:02 +0000 (14:47 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 5 Sep 2014 14:47:02 +0000 (14:47 +0000)
commit1c9b6043f9e53d7bfb394151eee5a7b25918364b
tree7350194b70d06e07a645a72d4b263057b3b0f425
parenta7188cc6500d6805a4d8de9d74ecc6d728d4af33
Use rtx_insn more within peep2

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* recog.c (peep2_attempt): Strengthen return type from rtx to
rtx_insn *.
(peep2_update_life): Likewise for params "last", "prev", removing
a checked cast made redundant by this.
(peephole2_optimize): Likewise for local "last".

From-SVN: r214966
gcc/ChangeLog
gcc/recog.c