aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-05-03 21:30:09 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-05-03 21:30:09 -0700
commite87bb82e16b6a5088361711f9aac5aed7514d9f8 (patch)
tree13fb522979324d4e74da3e7c9dbf742625ce05ef /gcc
parentaf54350e17a96d1c701d9a783cde76dfee29759c (diff)
downloadgcc-e87bb82e16b6a5088361711f9aac5aed7514d9f8.zip
gcc-e87bb82e16b6a5088361711f9aac5aed7514d9f8.tar.gz
gcc-e87bb82e16b6a5088361711f9aac5aed7514d9f8.tar.bz2
sparc.c (LEAF_REGISTERS): Do not do ifdef checks on it, always defined for Sparc.
2002-05-03 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef checks on it, always defined for Sparc. From-SVN: r53145
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/sparc/sparc.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7d88765..121f1fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2002-05-03 David S. Miller <davem@redhat.com>
+ * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
+ checks on it, always defined for Sparc.
+
* config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
Tweak, and add more detailed comments.
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index b5e6180..11e7cec 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -80,8 +80,6 @@ rtx sparc_compare_op0, sparc_compare_op1;
sparc_nonflat_function_epilogue. */
bool sparc_emitting_epilogue;
-#ifdef LEAF_REGISTERS
-
/* Vector to say how input registers are mapped to output registers.
HARD_FRAME_POINTER_REGNUM cannot be remapped by this function to
eliminate it. You must use -fomit-frame-pointer to get that. */
@@ -119,8 +117,6 @@ char sparc_leaf_regs[] =
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1};
-#endif
-
/* Name of where we pretend to think the frame pointer points.
Normally, this is "%fp", but if we are in a leaf procedure,
this is "%sp+something". We record "something" separately as it may be