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

--- Comment #3 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:b0f2495634d6c3e40a3a929d2d440eed866dda6d

commit r17-561-gb0f2495634d6c3e40a3a929d2d440eed866dda6d
Author: H.J. Lu <[email protected]>
Date:   Mon May 18 05:48:21 2026 +0800

    x86: Don't inline memmove for -Os

    Update ix86_expand_movmem to return false if optimize_function_for_size_p
    returns true to avoid inlining memmove for -Os.

    gcc/

            PR target/125355
            * config/i386/i386-expand.cc (ix86_expand_movmem): Return false
            for -Os.

    gcc/testsuite/

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

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

Reply via email to