calls.c (combine_pending_stack_adjustment_and_call): Don't adjust stack when unadjust...
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 22 Oct 2000 19:34:05 +0000 (19:34 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sun, 22 Oct 2000 19:34:05 +0000 (19:34 +0000)
* calls.c (combine_pending_stack_adjustment_and_call): Don't
adjust stack when unadjusted_alignment ends up as zero.

From-SVN: r37008

gcc/ChangeLog
gcc/calls.c

index fbef179763c06fa174b6afe70194dae1e65b3cc1..9b01e89bbc7f1264764934d83372e2b7e287d3e8 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * calls.c (combine_pending_stack_adjustment_and_call): Don't
+       adjust stack when unadjusted_alignment ends up as zero.
+
 2000-10-22  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * fixinc/genfixes: Remove EGCS reference.
index 775d03d0bde5b3f4b5e40aed13d09d65d9fa30f9..0eea66436df1a8c97dbec3d635bd1eb7ca8c1665 100644 (file)
@@ -1929,7 +1929,7 @@ combine_pending_stack_adjustment_and_call (unadjusted_args_size,
      after the arguments are pushed.  */
   if (preferred_unit_stack_boundary > 1)
     {
-      if (unadjusted_alignment >= 0)
+      if (unadjusted_alignment > 0)
        adjustment -= preferred_unit_stack_boundary - unadjusted_alignment;
       else
        adjustment += unadjusted_alignment;