[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 #17 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:bcadbdbac58b5a7bbc9d8df74709d25b3c68add5

commit r17-3458-gbcadbdbac58b5a7bbc9d8df74709d25b3c68add5
Author: H.J. Lu <[email protected]>
Date:   Thu Aug 20 14:31:46 2026 +0800

    x86: Disable AVX512BW for pr70325.c

    __builtin_ia32_storedquqi256_mask is available when both AVX512VL and
    AVX512BW are enabled.  Disable AVX512BW for pr70325.c to avoid

    FAIL: gcc.target/i386/pr70325.c (test for excess errors)
    FAIL: gcc.target/i386/pr70325.c  (test for warnings, line 11)

    due to the generated error:

    .../gcc.target/i386/pr70325.c:11:37: warning: passing argument 1 of
â__builtin_ia32_storedquqi256_maskâ from incompatible pointer type
[-Wincompatible-pointer-types]
    .../gcc.target/i386/pr70325.c:11:37: note: expected âchar *â but
argument is of type âC *â {aka â__vector(32) char *â}

    vs the expected error

    .../gcc.target/i386/pr70325.c: In function âfâ:
    .../gcc.target/i386/pr70325.c:11:3: warning: implicit declaration of
function â__builtin_ia32_storedquqi256_maskâ; did you mean
â__builtin_ia32_storedqudi256_maskâ? [-Wimplicit-function-declaration]

    when AVX512BW is enabled by default.

            PR testsuite/126923
            * gcc.target/i386/pr70325.c (dg-options): Add -mno-avx512bw.

    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.