[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 #20 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:83f3afe15d628481cf90e1c889f8a0c956152256

commit r17-3463-g83f3afe15d628481cf90e1c889f8a0c956152256
Author: H.J. Lu <[email protected]>
Date:   Thu Aug 20 10:42:08 2026 +0800

    x86: Compile some BF16 tests with -mno-avx512bf16 -mno-avxneconvert

    Compile some BF16 tests with -mno-avx512bf16 -mno-avxneconvert to avoid

    FAIL: gcc.target/i386/sse2-bfloat16-scalar-typecheck.c (test for excess
errors)
    FAIL: gcc.target/i386/vect-bfloat16-typecheck_1.c (test for excess errors)
    FAIL: gcc.target/i386/vect-bfloat16-typecheck_2.c (test for excess errors)

    with errors like

    sse2-bfloat16-scalar-typecheck.c:16:1: warning: â__bfloat16â is
redefined from typedef âshortâ to real â__bf16â since GCC 13.1, be
careful of implicit conversion between â__bf16â and âshortâ; an
explicit bitcast may be needed here

    when AVXNECONVERT or AVX512BF16 are enabled by default.

            PR testsuite/126923
            * gcc.target/i386/sse2-bfloat16-scalar-typecheck.c (dg-options):
            Add -mno-avx512bf16 -mno-avxneconvert.
            * gcc.target/i386/vect-bfloat16-typecheck_1.c (dg-options):
            Likewise.
            * gcc.target/i386/vect-bfloat16-typecheck_2.c (dg-options):
            Likewise.

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

    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.