aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>1999-04-22 19:25:05 +0000
committerJohn Wehle <wehle@gcc.gnu.org>1999-04-22 19:25:05 +0000
commit5ad9b85f9925802dc7b0cd399c8249a8141c4aa9 (patch)
tree4e75f5a28a49e5e485fecbb4dd690a34cb3cbe0d /gcc
parent466b0dd3fca1ba388befd7f600a714c096a713c1 (diff)
downloadgcc-5ad9b85f9925802dc7b0cd399c8249a8141c4aa9.zip
gcc-5ad9b85f9925802dc7b0cd399c8249a8141c4aa9.tar.gz
gcc-5ad9b85f9925802dc7b0cd399c8249a8141c4aa9.tar.bz2
toplev.c (rest_of_compilation): Always set current_function_uses_only_leaf_regs appropriately.
* toplev.c (rest_of_compilation): Always set current_function_uses_only_leaf_regs appropriately. From-SVN: r26589
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d06e558..006cfeb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 22 22:22:15 EDT 1999 John Wehle (john@feith.com)
+
+ * toplev.c (rest_of_compilation): Always set
+ current_function_uses_only_leaf_regs appropriately.
+
Thu Apr 22 14:39:43 1999 Mumit Khan <khan@xraylith.wisc.edu>
* i386/xm-cygwin.h (HAVE_BCOPY): Delete unneeded macro.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 7b3c31c..a9de702 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4240,8 +4240,8 @@ rest_of_compilation (decl)
}
#ifdef LEAF_REGISTERS
- if (optimize > 0 && only_leaf_regs_used () && leaf_function_p ())
- current_function_uses_only_leaf_regs = 1;
+ current_function_uses_only_leaf_regs
+ = optimize > 0 && only_leaf_regs_used () && leaf_function_p ();
#endif
/* One more attempt to remove jumps to .+1