summaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r--gcc/gengenrtl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index da2b8831356..eb3e32728cf 100644
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -95,12 +95,12 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
struct rtx_definition
{
- const char *enumname, *name, *format;
+ const char *const enumname, *const name, *const format;
};
#define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) { STRINGX(ENUM), NAME, FORMAT },
-struct rtx_definition defs[] =
+const struct rtx_definition defs[] =
{
#include "rtl.def" /* rtl expressions are documented here */
};