aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2005-01-15 16:06:17 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2005-01-15 16:06:17 +0000
commit778f72f2cf96b678b32f4b327adb050a0ec864d8 (patch)
tree122e9687be647e2b1f0b34ecee7bb59c9eb26914 /gcc/cfg.c
parent9c3c3dcc1fbd186af72e62bc6d4579ec963611bd (diff)
downloadgcc-778f72f2cf96b678b32f4b327adb050a0ec864d8.zip
gcc-778f72f2cf96b678b32f4b327adb050a0ec864d8.tar.gz
gcc-778f72f2cf96b678b32f4b327adb050a0ec864d8.tar.bz2
harg-reg-set.h (reg_class_names): Prototype global array.
* 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. From-SVN: r93696
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 b36a96f..bc68faa 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)