aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-02-22 21:39:12 +0000
committerTom Tromey <tromey@gcc.gnu.org>2008-02-22 21:39:12 +0000
commitad5ebb34e97270697625f70f10605438eac0ac9f (patch)
tree1730bf17edcb62bc416d3d9f0f93d0f1f91fcac9 /gcc
parent1eea53dfef7c181187c6d1c8556740ae9c407cc4 (diff)
downloadgcc-ad5ebb34e97270697625f70f10605438eac0ac9f.zip
gcc-ad5ebb34e97270697625f70f10605438eac0ac9f.tar.gz
gcc-ad5ebb34e97270697625f70f10605438eac0ac9f.tar.bz2
* regclass.c (current_pass): Remove declaration.
From-SVN: r132559
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/regclass.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 52921c3..d9f0fa4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-22 Tom Tromey <tromey@redhat.com>
+
+ * regclass.c (current_pass): Remove declaration.
+
2008-02-22 Anatoly Sokolov <aesok@post.ru>
* config/avr/libgcc.S (__RAMPZ__): Define.
diff --git a/gcc/regclass.c b/gcc/regclass.c
index a4734f2..911a19a 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -1,6 +1,6 @@
/* Compute register class preferences for pseudo-registers.
Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996
- 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
This file is part of GCC.
@@ -2323,8 +2323,6 @@ reg_scan (rtx f, unsigned int nregs ATTRIBUTE_UNUSED)
We should only record information for REGs with numbers
greater than or equal to MIN_REGNO. */
-extern struct tree_opt_pass *current_pass;
-
static void
reg_scan_mark_refs (rtx x, rtx insn)
{