https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112686
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
Status|NEW |ASSIGNED
--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc
index 7b922857d80..50e8826dbe5 100644
--- a/gcc/config/i386/i386.cc
+++ b/gcc/config/i386/i386.cc
@@ -10503,7 +10503,7 @@ ix86_expand_split_stack_prologue (void)
fn = copy_to_suggested_reg (x, reg11, Pmode);
}
else
- fn = split_stack_fn_large;
+ fn = copy_to_suggested_reg (split_stack_fn_large, reg11, Pmode);
/* When using the large model we need to load the address
into a register, and we've run out of registers. So we