diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 4 |
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 |