https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112818
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:80d67d8f682a6050a3bf4dcfa18a83f321986f2a commit r14-6116-g80d67d8f682a6050a3bf4dcfa18a83f321986f2a Author: Richard Biener <rguent...@suse.de> Date: Mon Dec 4 12:50:36 2023 +0100 tree-optimization/112818 - re-instantiate vector type size check for bswap For __builtin_bswap vectorization we still require an equal vector type size. Re-instantiate that check. PR tree-optimization/112818 * tree-vect-stmts.cc (vectorizable_bswap): Check input and output vector types have the same size. * gcc.dg/vect/pr112818.c: New testcase.