https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104499
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:9355a8c35883b5125851bb9b4169a1a1cd8e343f commit r12-7202-g9355a8c35883b5125851bb9b4169a1a1cd8e343f Author: Jakub Jelinek <ja...@redhat.com> Date: Fri Feb 11 20:27:23 2022 +0100 match.pd: Fix up (X & Y) CMP 0 -> X CMP2 ~Y simplifications [PR104499] The following testcase ICEs on x86_64-linux, because match.pd emits there a NOP_EXPR cast from int*8 vector type with BLKmode to unsigned*8 vector type with BLKmode and vec-lowering isn't prepared to handle such casts. Fixed by using VIEW_CONVERT_EXPR instead. 2022-02-11 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/104499 * match.pd ((X & Y) CMP 0 -> X CMP2 ~Y): Use view_convert instead of convert. * gcc.c-torture/compile/pr104499.c: New test.