diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-16 16:24:54 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-16 16:24:54 +0000 |
commit | 52fd6db3ca421a7e188357be369c824809ff9684 (patch) | |
tree | 1d5b6c536745209387eaa449b7940b5d5d3bf1bb | |
parent | 9aadea6227371403d1a22e78cb7da2d547d4fcd4 (diff) | |
download | gcc-52fd6db3ca421a7e188357be369c824809ff9684.tar.gz |
* print-rtl.c (print_rtx_head): Constify.
* rtl.h (print_rtx_head): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36885 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/print-rtl.c | 2 | ||||
-rw-r--r-- | gcc/rtl.h | 2 |
3 files changed, 5 insertions, 2 deletions
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 <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 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)); |