https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116666
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- On the clang not rejecting the code, there is a clang specific path used for vector_type so that code is not used for clang.
pinskia at gcc dot gnu.org via Gcc-bugs Tue, 10 Sep 2024 12:42:33 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116666
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- On the clang not rejecting the code, there is a clang specific path used for vector_type so that code is not used for clang.