[Bug testsuite/126923] Additional testsuite failures when configured with --with-arch=native --with-cpu=native

"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=126923

--- 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:04b71bc24bc7e1da1bb2ea347301056e1ddf3673

commit r17-3402-g04b71bc24bc7e1da1bb2ea347301056e1ddf3673
Author: H.J. Lu <[email protected]>
Date:   Wed Aug 19 05:55:27 2026 +0800

    zero-scratch-regs-[29|30].c: Disable TARGET_USE_FFREEP

    Compile zero-scratch-regs-[29|30].c with -mtune-ctrl=^use_ffreep to
    disable using freep instruction instead of fstp to avoid:

    FAIL: gcc.target/i386/zero-scratch-regs-29.c scan-assembler-times fstp[
\t]+%st\
    \(0\\) 7
    FAIL: gcc.target/i386/zero-scratch-regs-29.c scan-assembler-times fstp[
\t]+%st\
    \(0\\) 7
    FAIL: gcc.target/i386/zero-scratch-regs-30.c scan-assembler-times fstp[
\t]+%st\
    \(0\\) 6
    FAIL: gcc.target/i386/zero-scratch-regs-30.c scan-assembler-times fstp[
\t]+%st\
    \(0\\) 8

    when TARGET_USE_FFREEP is enabled by default.

            PR testsuite/126923
            * gcc.target/i386/zero-scratch-regs-29.c (dg-options): Add
            -mtune-ctrl=^use_ffreep.
            * gcc.target/i386/zero-scratch-regs-30.c (dg-options): Likewise.

    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.