https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112686
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Uros Bizjak <u...@gcc.gnu.org>: https://gcc.gnu.org/g:404ea4c1381398aee162415a88e5cb81c44f8c69 commit r14-5830-g404ea4c1381398aee162415a88e5cb81c44f8c69 Author: Uros Bizjak <ubiz...@gmail.com> Date: Fri Nov 24 16:11:27 2023 +0100 i386: Fix ICE with -fsplit-stack -mcmodel=large [PR112686] For -mcmodel=large, we have to load function address to a register. PR target/112686 gcc/ChangeLog: * config/i386/i386.cc (ix86_expand_split_stack_prologue): Load function address to a register for ix86_cmodel == CM_LARGE. gcc/testsuite/ChangeLog: * gcc.target/i386/pr112686.c: New test.