print-rtl.c (print_rtx_head): Constify.
authorRodney Brown <RodneyBrown@mynd.com>
Mon, 16 Oct 2000 16:24:54 +0000 (16:24 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 16 Oct 2000 16:24:54 +0000 (10:24 -0600)
        * print-rtl.c (print_rtx_head): Constify.
        * rtl.h (print_rtx_head): Similarly.

From-SVN: r36885

gcc/ChangeLog
gcc/print-rtl.c
gcc/rtl.h

index 7ae43801844ddd34f5285cae81db3c1abacadd83..cb52f053d62c16b830b7a1097c2f5e1d477ece09 100644 (file)
@@ -1,5 +1,8 @@
 2000-10-16  Rodney Brown  <RodneyBrown@mynd.com>
 
+       * print-rtl.c (print_rtx_head): Constify.
+       * rtl.h (print_rtx_head): Similarly.
+
        * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
        Constify char * return value.
        * config/pa/pa/pa.c
index 25f7e01bc8aafa0f5c99bfcb122a04136a6095f3..d895ce4bfb66baf3142993f7af28d71340a92ec9 100644 (file)
@@ -58,7 +58,7 @@ static void print_rtx         PARAMS ((rtx));
 /* String printed at beginning of each RTL when it is dumped.
    This string is set to ASM_COMMENT_START when the RTL is dumped in
    the assembly output file.  */
-char *print_rtx_head = "";
+const char *print_rtx_head = "";
 
 /* Nonzero means suppress output of instruction numbers and line number
    notes in debugging dumps.
index 674a5a1722aaf47e6606dd964089b851fa87f17f..b25c8abee807eae98cd8419426fc32a6d13ba689 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1749,7 +1749,7 @@ extern void schedule_insns                PARAMS ((FILE *));
 extern void fix_sched_param            PARAMS ((const char *, const char *));
 
 /* In print-rtl.c */
-extern char *print_rtx_head;
+extern const char *print_rtx_head;
 extern void debug_rtx                  PARAMS ((rtx));
 extern void debug_rtx_list             PARAMS ((rtx, int));
 extern void debug_rtx_range            PARAMS ((rtx, rtx));