Re: [PATCH] ext-floating14.C: Compile with -mno-avx512bf16 -mno-avxneconvert

Hongtao Liu <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <CAMZc-byj++TXViRPyJ7AbkVRFiCW8yX=yz55UiV6WKQHMMoD_w@mail.gmail.com>
On Thu, Aug 20, 2026 at 3:30 PM H.J. Lu <[email protected]> wrote:
>
> Compile ext-floating14.C with -mno-avx512bf16 -mno-avxneconvert for x86
> to avoid
>
> FAIL: g++.dg/cpp23/ext-floating14.C  -std=gnu++23 (test for excess errors)
> FAIL: g++.dg/cpp23/ext-floating14.C  -std=gnu++26 (test for excess errors)
> FAIL: g++.dg/cpp23/ext-floating14.C  -std=gnu++29 (test for excess errors)
>
> with warnings like
>
> ext-floating14.C:112:111: 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
Ok.
>
> when AVXNECONVERT or AVX512BF16 are enabled by default.
>
> PR testsuite/126923
> * g++.dg/cpp23/ext-floating14.C (dg-additional-options): Add
> -mno-avx512bf16 -mno-avxneconvert for x86.
>
> --
> H.J.



-- 
BR,
Hongtao
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.