Return types of unlink_insn_chain and duplicate_insn_chain
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 19 Aug 2014 21:22:25 +0000 (21:22 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 19 Aug 2014 21:22:25 +0000 (21:22 +0000)
commita90c614ae3ac7493224bdbdbea8b6fb396e6105e
treef2f7bbfbf30255a19c41934caa81c9000b00c2a1
parent75b46023e7782781e63d0aca3c5b5f5ddd6cf816
Return types of unlink_insn_chain and duplicate_insn_chain

2014-08-19  David Malcolm  <dmalcolm@redhat.com>

* rtl.h (unlink_insn_chain): Strengthen return type from rtx to
rtx_insn *.
(duplicate_insn_chain): Likewise.
* cfgrtl.c (unlink_insn_chain): Strengthen return type from rtx to
rtx_insn *, also for locals "prevfirst" and "nextlast".  Add a
checked cast for now (until we can strengthen the params in the
same way).
(duplicate_insn_chain): Likewise.

From-SVN: r214197
gcc/ChangeLog
gcc/cfgrtl.c
gcc/rtl.h