aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mcore/mcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mcore/mcore.h')
-rw-r--r--gcc/config/mcore/mcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h
index 77454611056..420124fdccb 100644
--- a/gcc/config/mcore/mcore.h
+++ b/gcc/config/mcore/mcore.h
@@ -544,7 +544,7 @@ extern int regno_reg_class[FIRST_PSEUDO_REGISTER];
/* Get reg_class from a letter such as appears in the machine
description. */
-extern enum reg_class reg_class_from_letter[];
+extern const enum reg_class reg_class_from_letter[];
#define REG_CLASS_FROM_LETTER(C) \
( ISLOWER (C) ? reg_class_from_letter[(C) - 'a'] : NO_REGS )