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

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

https://gcc.gnu.org/g:8a8e82b7bf2618868059866482988fbf29d50b96

commit r16-8934-g8a8e82b7bf2618868059866482988fbf29d50b96
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]>
    (cherry picked from commit a190f057070e0487b65f1ff630c8aba26bbdf114)

Reply via email to