summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/caller-save.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4db5d52e045..b9cd1100ccf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-28 Richard Henderson <rth@redhat.com>
+
+ * caller-save.c (save_call_clobbered_regs): Fix typo in
+ comparison last change.
+
Wed Feb 28 19:31:42 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.c (pentium4_cost): New.
diff --git a/gcc/caller-save.c b/gcc/caller-save.c
index 445de2cf532..787d45c818e 100644
--- a/gcc/caller-save.c
+++ b/gcc/caller-save.c
@@ -417,7 +417,7 @@ save_call_clobbered_regs ()
int r = reg_renumber[regno];
int nregs;
- if (r > 0)
+ if (r >= 0)
{
enum machine_mode mode;