On Tue, Aug 18, 2026 at 1:22 PM H.J. Lu <[email protected]> wrote:
>
> mv28.C has
>
> void __attribute__ ((target("avx512vl"))) foo () {} /* { dg-error "ISA
> '\[^\n\r\]*' is not supported in 'target' attribute, use 'arch='
> syntax" } */
> ...
>
> to check for unsupported target attribute errors.  If AVX512 is enabled
> by default, there are no expected compiler errors.  Compile mv28.C with
> -march=x86-64 so that AVX512 isn't enabled on AVX512 machines when GCC
> is configured with
>
> --with-arch=native --with-cpu=native
Ok.
>
> PR testsuite/126923
> * g++.target/i386/mv28.C (dg-additional-options): New.
>
> --
> H.J.



-- 
BR,
Hongtao

Reply via email to