From: Rodney Brown Date: Mon, 16 Oct 2000 16:24:54 +0000 (+0000) Subject: print-rtl.c (print_rtx_head): Constify. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47c10e9bf9e56b0565be36761af118dd2d33afc0;p=gcc.git print-rtl.c (print_rtx_head): Constify. * print-rtl.c (print_rtx_head): Constify. * rtl.h (print_rtx_head): Similarly. From-SVN: r36885 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ae43801844..cb52f053d62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2000-10-16 Rodney Brown + * 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 diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 25f7e01bc8a..d895ce4bfb6 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -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. diff --git a/gcc/rtl.h b/gcc/rtl.h index 674a5a1722a..b25c8abee80 100644 --- 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));