https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117296
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think function.cc (assign_parms) or function.cc (expand_function_start) should do it, as functions assign_parms calls can call emit_block_move in 2 places and those could result in function calls and those can result in pending stack adjustments. Normally do_pending_stack_adjust is called at least at the end of each basic block by expand_gimple_basic_block, but assign_parms is done before all the gimple basic blocks.