[Bug target/116274] [14 Regression] x86: poor code generation with 16 byte function arguments and addition

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116274

--- Comment #14 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:30024f2093e4a234fa0e1b159d6a24514aa364cb

commit r17-2767-g30024f2093e4a234fa0e1b159d6a24514aa364cb
Author: H.J. Lu <[email protected]>
Date:   Wed Jul 29 06:51:24 2026 +0800

    gcc.target/i386/pr116274-2.c: Check function body

    gcc.target/i386/pr116274-2.c has been optimized to:

    test:
            .cfi_startproc
            leaq    (%rdi,%rsi), %rax
            ret

    for x86-64 since GCC 15.  Add check-function-bodies to verify it.

            PR target/116274
            * gcc.target/i386/pr116274-2.c: Add check-function-bodies.

    Signed-off-by: H.J. Lu <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.