aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-12-09 03:34:07 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-12-09 03:34:07 +0000
commitcca8fb0ebd30af20f3a14dabb06a05ee7d1889aa (patch)
tree241a3512a37681306eccb4992fcb31d8d6dbcd41
parente64738b3087bda05d4b499430212b785fda6cfb9 (diff)
downloadgcc-cca8fb0ebd30af20f3a14dabb06a05ee7d1889aa.zip
gcc-cca8fb0ebd30af20f3a14dabb06a05ee7d1889aa.tar.gz
gcc-cca8fb0ebd30af20f3a14dabb06a05ee7d1889aa.tar.bz2
defaults.h (LOCAL_REGNO): Give the default definition.
* defaults.h (LOCAL_REGNO): Give the default definition. * flow.c (LOCAL_REGNO): Remove. * reload1.c (LOCAL_REGNO): Likewise. From-SVN: r74456
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/defaults.h4
-rw-r--r--gcc/flow.c3
-rw-r--r--gcc/reload1.c4
4 files changed, 10 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 113bdcb..675046a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-08 Kazu Hirata <kazu@cs.umass.edu>
+
+ * defaults.h (LOCAL_REGNO): Give the default definition.
+ * flow.c (LOCAL_REGNO): Remove.
+ * reload1.c (LOCAL_REGNO): Likewise.
+
2003-12-08 Geoffrey Keating <geoffk@apple.com>
PR target/11848
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 7b0c6b8..41fd96d 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -685,4 +685,8 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
fprintf ((FILE), "%s", reg_names[REGNO (RTX)])
#endif
+#ifndef LOCAL_REGNO
+#define LOCAL_REGNO(REGNO) 0
+#endif
+
#endif /* ! GCC_DEFAULTS_H */
diff --git a/gcc/flow.c b/gcc/flow.c
index 952e7d9..c237088 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -159,9 +159,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define HAVE_sibcall_epilogue 0
#endif
-#ifndef LOCAL_REGNO
-#define LOCAL_REGNO(REGNO) 0
-#endif
#ifndef EPILOGUE_USES
#define EPILOGUE_USES(REGNO) 0
#endif
diff --git a/gcc/reload1.c b/gcc/reload1.c
index b234a6a..33b96e4 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -77,10 +77,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
reload needs, spilling, assigning reload registers to use for
fixing up each insn, and generating the new insns to copy values
into the reload registers. */
-
-#ifndef LOCAL_REGNO
-#define LOCAL_REGNO(REGNO) 0
-#endif
/* During reload_as_needed, element N contains a REG rtx for the hard reg
into which reg N has been reloaded (perhaps for a previous insn). */