https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112990
--- Comment #2 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:b9baead90d74e9211fc94d655ecd5d3af3858158 commit r14-6482-gb9baead90d74e9211fc94d655ecd5d3af3858158 Author: Richard Biener <rguent...@suse.de> Date: Wed Dec 13 09:38:59 2023 +0100 tree-optimization/112990 - unsupported VEC_PERM from match pattern The following avoids creating an unsupported VEC_PERM after vector lowering from the pattern merging a bit-insert from a bit-field-ref to a VEC_PERM. For the already existing s390 testcase we get TImode vectors which later ICE during attempted expansion of a vec_perm_const. PR tree-optimization/112990 * match.pd (bit_insert @0 (BIT_FIELD_REF @1 ..) ..): Restrict to vector modes after lowering.