summaryrefslogtreecommitdiff
path: root/gcc/cfg.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/cfg.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/cfg.c')
-rw-r--r--gcc/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index b36a96f812d..bc68faab799 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -1,6 +1,7 @@
/* Control flow graph manipulation code for GNU compiler.
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -515,7 +516,6 @@ dump_flow_info (FILE *file)
{
int i;
basic_block bb;
- static const char * const reg_class_names[] = REG_CLASS_NAMES;
/* There are no pseudo registers after reload. Don't dump them. */
if (reg_n_info && !reload_completed)