https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113576
--- Comment #49 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #48)
> The runtime testcase fails on non-AVX512F x86 targets due to:
>
> /* { dg-do run } */
> /* { dg-options "-O3" } */
> /* { dg-additional-options "-march=skylake-avx512" { target { x86_64-*-*
> i?86-*-* } } } */
>
> but check_vect() only checks runtime support up to AVX2.
Hmm, can we fix that? We could change the above to { target avx512f_runtime }
but that really only checks for AVX512F, not say AVX512VL ...
I do remember using -mavx512vl wasn't enough to trigger the miscompile
nor did it trigger with -march=znver4 ... so I stuck to skylake-avx512 :/