aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-22 20:06:25 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-22 20:06:25 +0000
commitf719babc10087fe48eef73d81fb50654785e950d (patch)
tree4b4ca847a458b3a2f9854acbe5f17105212f4b55 /gcc/rtl.h
parent9f215bf54c4e0b9d8fc0368b594edec3a5303386 (diff)
downloadgcc-f719babc10087fe48eef73d81fb50654785e950d.zip
gcc-f719babc10087fe48eef73d81fb50654785e950d.tar.gz
gcc-f719babc10087fe48eef73d81fb50654785e950d.tar.bz2
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
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 82d694e..aa3f8d0 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -3132,9 +3132,9 @@ extern const char *print_rtx_head;
extern void debug (const rtx_def &ref);
extern void debug (const rtx_def *ptr);
extern void debug_rtx (const_rtx);
-extern void debug_rtx_list (const_rtx, int);
-extern void debug_rtx_range (const_rtx, const_rtx);
-extern const_rtx debug_rtx_find (const_rtx, int);
+extern void debug_rtx_list (const rtx_insn *, int);
+extern void debug_rtx_range (const rtx_insn *, const rtx_insn *);
+extern const_rtx debug_rtx_find (const rtx_insn *, int);
extern void print_mem_expr (FILE *, const_tree);
extern void print_rtl (FILE *, const_rtx);
extern void print_simple_rtl (FILE *, const_rtx);