]> git.ipfire.org Git - thirdparty/gcc.git/commit
print-rtl.c: Use rtx_insn for various debug_ functions
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 22 Aug 2014 20:06:25 +0000 (20:06 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 22 Aug 2014 20:06:25 +0000 (20:06 +0000)
commitf719babc10087fe48eef73d81fb50654785e950d
tree4b4ca847a458b3a2f9854acbe5f17105212f4b55
parent9f215bf54c4e0b9d8fc0368b594edec3a5303386
print-rtl.c: Use rtx_insn for various debug_ functions

gcc/
* rtl.h (debug_rtx_list): Strengthen param 1 "x" from const_rtx to
const rtx_insn *.
(debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
(debug_rtx_find): Likewise for param 1 "x".

* print-rtl.c (debug_rtx_list): Strengthen param 1 "x" from
const_rtx to const rtx_insn *.  Likewise for local "insn".
(debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
(debug_rtx_find): Likewise for param 1 "x".
(print_rtl): Likewise for local "tmp_rtx", adding a checked cast
from const_rtx to const rtx_insn * within the appropriate cases of
the switch statement.

* config/rs6000/rs6000.c (rs6000_debug_legitimize_address):
Strengthen local "insns" from rtx to rtx_insn * since this is
passed to a call to debug_rtx_list.

From-SVN: r214362
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/print-rtl.c
gcc/rtl.h