https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113689
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:f2a060820c24724bb48ee006d257c449e4d94b72 commit r14-8831-gf2a060820c24724bb48ee006d257c449e4d94b72 Author: H.J. Lu <hjl.to...@gmail.com> Date: Tue Feb 6 10:57:24 2024 -0800 x86-64: Return 10_REG if there is no scratch register If we can't find a scratch register for large model profiling, return R10_REG. PR target/113689 * config/i386/i386.cc (x86_64_select_profile_regnum): Return R10_REG after sorry.