[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 #11 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:acc35b4ea18612b7567abdfbb9d2b4381e3c1182

commit r17-3450-gacc35b4ea18612b7567abdfbb9d2b4381e3c1182
Author: H.J. Lu <[email protected]>
Date:   Thu Aug 20 07:39:30 2026 +0800

    x86: Compile PR 125436 tests with -mno-avx

    Compile PR 125436 tests with -mno-avx to avoid

    FAIL: gcc.target/i386/pr125436-1a.c check-function-bodies ms_tls_access
    FAIL: gcc.target/i386/pr125436-1b.c check-function-bodies ms_tls_access
    FAIL: gcc.target/i386/pr125436-2a.c check-function-bodies ms_tls_access
    FAIL: gcc.target/i386/pr125436-2b.c check-function-bodies ms_tls_access
    FAIL: gcc.target/i386/pr125436-3.c check-function-bodies ms_tls_access
    FAIL: gcc.target/i386/pr125436-4.c check-function-bodies ms_tls_access

    due to the generated instruction

            vmovaps (%rsp), %xmm6

    vs the expected instruction

            movaps (%rsp), %xmm6

    when AVX is enabled by default.

            PR testsuite/126923
            * gcc.target/i386/pr125436-1a.c (dg-options): Add -mno-avx.
            * gcc.target/i386/pr125436-1b.c (dg-options): Likewise.
            * gcc.target/i386/pr125436-2a.c (dg-options): Likewise.
            * gcc.target/i386/pr125436-2b.c (dg-options): Likewise.
            * gcc.target/i386/pr125436-3.c (dg-options): Likewise.
            * gcc.target/i386/pr125436-4.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.