https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121672
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Regarding the current test cases, add Sandra's comment from PR121630 comment 0 here as well for completeness: "The existing C/C++ and Fortran test cases only appear to work because all three front ends presently skip error checking of the "declare variant" variant function for consistency with the base function when the "simd" construct selector is used in the "match" clause for that variant, and the test cases don't check the generated code, only that they compile without error." Besides the main C cases, mentioned above, there is also a Fortran case, which uses a size-4 array to mimic the missing vector data type/vector_size attribute: gfortran.dg/gomp/declare-variant-7.f90