aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index a6349f3..0d23a51 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -38,9 +38,9 @@ Boston, MA 02111-1307, USA. */
/* Array containing all of the register names */
#ifdef DEBUG_REGISTER_NAMES
-static char *reg_names[] = DEBUG_REGISTER_NAMES;
+static const char * const reg_names[] = DEBUG_REGISTER_NAMES;
#else
-static char *reg_names[] = REGISTER_NAMES;
+static const char * const reg_names[] = REGISTER_NAMES;
#endif
static FILE *outfile;
@@ -73,7 +73,7 @@ print_rtx (in_rtx)
{
register int i = 0;
register int j;
- register char *format_ptr;
+ register const char *format_ptr;
register int is_insn;
if (sawclose)