(emit_call_1): Don't defer pops in const call.
authorRichard Stallman <rms@gnu.org>
Fri, 19 Mar 1993 06:38:23 +0000 (06:38 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 19 Mar 1993 06:38:23 +0000 (06:38 +0000)
From-SVN: r3783

gcc/calls.c

index 83ad59256b4a3685a7bfad0272a4a3c8966ab118..f5fb8a58ead45710cdf9a5cebe296475b5ea0ea6 100644 (file)
@@ -397,7 +397,7 @@ emit_call_1 (funexp, funtype, stack_size, struct_value_size, next_arg_reg,
 
   if (stack_size != 0)
     {
-      if (flag_defer_pop && inhibit_defer_pop == 0)
+      if (flag_defer_pop && inhibit_defer_pop == 0 && !is_const)
        pending_stack_adjust += stack_size;
       else
        adjust_stack (stack_size_rtx);