* c-opts.c (lang_flags): Const-ify.
* ra-build.c (undef_table): Likewise.
* ra.c (eliminables): Likewise.
From-SVN: r56271
+2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * c-opts.c (lang_flags): Const-ify.
+ * ra-build.c (undef_table): Likewise.
+ * ra.c (eliminables): Likewise.
+
2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
* tree.h: Guard against multiple inclusion.
int argc;
char **argv;
{
- static int lang_flags[] = {CL_C_ONLY, CL_C, CL_CXX_ONLY, CL_CXX};
+ static const int lang_flags[] = {CL_C_ONLY, CL_C, CL_CXX_ONLY, CL_CXX};
size_t opt_index;
const char *opt, *arg = 0;
char *dup = 0;
unsigned int new_undef;
/* size | (byte << 16) */
unsigned int size_word;
-} undef_table [] = {
+} const undef_table [] = {
{ 0, BL_TO_WORD (0, 0)}, /* 0 */
{ 0, BL_TO_WORD (0, 1)},
{ 0, BL_TO_WORD (1, 1)},
int i;
HARD_REG_SET rs;
#ifdef ELIMINABLE_REGS
- static struct {int from, to; } eliminables[] = ELIMINABLE_REGS;
+ static const struct {const int from, to; } eliminables[] = ELIMINABLE_REGS;
unsigned int j;
#endif
int need_fp