* calls.c (expand_call) Do not attempt to combine stack adjustments
authorJan Hubicka <jh@suse.cz>
Thu, 2 Mar 2000 11:49:51 +0000 (12:49 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 2 Mar 2000 11:49:51 +0000 (11:49 +0000)
with inhibit_defer_pop set.

From-SVN: r32290

gcc/ChangeLog
gcc/calls.c

index 9ed3840623ea2438b3af89f58bb87c0f1a20b92c..248c1f5a6a93a1557bddbc170a90b07ae8966bf9 100644 (file)
@@ -1,3 +1,8 @@
+Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * calls.c (expand_call)  Do not attempt to combine stack adjustments
+       with inhibit_defer_pop set.
+
 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
 
        * stor-layout.c (layout_decl): Allow front-ends to explicitly set
index a5bf750c3527d73e1c3aa2a9012488c6c641ecf8..3d78c8bb6677e031959f2d70e3fee0c2ab817c17 100644 (file)
@@ -2280,7 +2280,8 @@ expand_call (exp, target, ignore)
     {
       /* When the stack adjustment is pending,
         we get better code by combining the adjustments.  */
-      if (pending_stack_adjust && !is_const)
+      if (pending_stack_adjust && !is_const
+         && !inhibit_defer_pop)
        {
          args_size.constant = (unadjusted_args_size
                                + ((pending_stack_adjust + args_size.constant