https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125355

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <[email protected]>:

https://gcc.gnu.org/g:a190f057070e0487b65f1ff630c8aba26bbdf114

commit r17-590-ga190f057070e0487b65f1ff630c8aba26bbdf114
Author: H.J. Lu <[email protected]>
Date:   Mon May 18 14:46:57 2026 +0800

    x86: Don't inline cold memmove call

    Replace optimize_function_for_size_p with optimize_insn_for_size_p in
    ix86_expand_movmem to avoid inlining cold memmove call.

    gcc/

            PR target/125355
            * config/i386/i386-expand.cc (ix86_expand_movmem): Replace
            optimize_function_for_size_p with optimize_insn_for_size_p.

    gcc/testsuite/

            PR target/125355
            * gcc.target/i386/pr125355-2.c: New test.

    Signed-off-by: H.J. Lu <[email protected]>

Reply via email to