aboutsummaryrefslogtreecommitdiff
path: root/gcc/ra.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-08-14 03:09:14 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-08-14 03:09:14 +0000
commitd3969c34076167e10d0c53833f19348db7bd54e6 (patch)
tree9cfee148f78419bc15190281329a3c3b5d3f13a5 /gcc/ra.c
parentf5cc59a784ee27e0713b6c3114fe5d629247a46a (diff)
downloadgcc-d3969c34076167e10d0c53833f19348db7bd54e6.zip
gcc-d3969c34076167e10d0c53833f19348db7bd54e6.tar.gz
gcc-d3969c34076167e10d0c53833f19348db7bd54e6.tar.bz2
c-opts.c (lang_flags): Const-ify.
* c-opts.c (lang_flags): Const-ify. * ra-build.c (undef_table): Likewise. * ra.c (eliminables): Likewise. From-SVN: r56271
Diffstat (limited to 'gcc/ra.c')
-rw-r--r--gcc/ra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ra.c b/gcc/ra.c
index dbfce94..ab52b42 100644
--- a/gcc/ra.c
+++ b/gcc/ra.c
@@ -464,7 +464,7 @@ init_ra ()
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