From: John Wehle Date: Thu, 22 Apr 1999 19:25:05 +0000 (+0000) Subject: toplev.c (rest_of_compilation): Always set current_function_uses_only_leaf_regs appro... X-Git-Tag: prereleases/gcc-2.95-test~810 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=5ad9b85f9925802dc7b0cd399c8249a8141c4aa9;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d06e558ddc80..006cfeb58d53 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 * i386/xm-cygwin.h (HAVE_BCOPY): Delete unneeded macro. diff --git a/gcc/toplev.c b/gcc/toplev.c index 7b3c31c92bdf..a9de70209f70 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