This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch hjl/pr58066/gcc-5-branch in repository gcc.
commit 6c8605cf1bef5cfd1f46cb80a0bb2307286e8f84 Author: H.J. Lu hjl.tools@gmail.com Date: Thu Jul 16 11:04:38 2015 -0700
Backport fix for PR 66891 from Uros --- gcc/calls.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/gcc/calls.c b/gcc/calls.c index 1e1a435..0987dd0 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -3115,6 +3115,10 @@ expand_call (tree exp, rtx target, int ignore)
compute_argument_addresses (args, argblock, num_actuals);
+ /* Stack is properly aligned, pops can't safely be deferred during + the evaluation of the arguments. */ + NO_DEFER_POP; + /* Precompute all register parameters. It isn't safe to compute anything once we have started filling any specific hard regs. TLS symbols sometimes need a call to resolve. Precompute @@ -3122,6 +3126,8 @@ expand_call (tree exp, rtx target, int ignore) to avoid unaligned stack in the called function. */ precompute_register_parameters (num_actuals, args, ®_parm_seen);
+ OK_DEFER_POP; + /* Perform stack alignment before the first push (the last arg). */ if (argblock == 0 && adjusted_args_size.constant > reg_parm_stack_space