summaryrefslogtreecommitdiff
path: root/gcc/regrename.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-15 16:06:17 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-15 16:06:17 +0000
commitada8adad9fb17daa49f9e6bcb063739579c82446 (patch)
tree122e9687be647e2b1f0b34ecee7bb59c9eb26914 /gcc/regrename.c
parent79b312b68fe06a7b882f496b12f9d452b593f3e2 (diff)
downloadgcc-ada8adad9fb17daa49f9e6bcb063739579c82446.tar.gz
* harg-reg-set.h (reg_class_names): Prototype global array.
* regclass.c (reg_class_names): Declare here and initialize to REG_CLASS_NAMES. (dump_regclass): Remove local declaration of reg_class_names. (regclass): Likewise. * cfg.c (dump_flow_info): Likewise. * ra-debug.c (reg_class_names): Likewise. * regrename.c (reg_class_names): Likewise. * reload.c (reg_class_names): Likewise. * reload1.c (spill_failure): Likewise. * config/m68hc11/m68hc11.c (reg_class_names): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93696 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regrename.c')
-rw-r--r--gcc/regrename.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/regrename.c b/gcc/regrename.c
index 4b3860c647c..eec594c7647 100644
--- a/gcc/regrename.c
+++ b/gcc/regrename.c
@@ -1,5 +1,6 @@
/* Register renaming for the GNU compiler.
- Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -36,8 +37,6 @@
#include "toplev.h"
#include "obstack.h"
-static const char *const reg_class_names[] = REG_CLASS_NAMES;
-
struct du_chain
{
struct du_chain *next_chain;