https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102897
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kewen Lin <li...@gcc.gnu.org>: https://gcc.gnu.org/g:54e4e1769e44b925c35c0ffc11723027ff855bd7 commit r12-4705-g54e4e1769e44b925c35c0ffc11723027ff855bd7 Author: Kewen Lin <li...@linux.ibm.com> Date: Tue Oct 26 04:09:38 2021 -0500 forwprop: Remove incorrect assertion [PR102897] As PR102897 shows, there is one incorrect assertion in function simplify_permutation, which is based on the wrong assumption that all cases with op2_type == tgt_type are handled previously, the proposed fix is to remove the assertion. gcc/ChangeLog: PR tree-optimization/102897 * tree-ssa-forwprop.c (simplify_permutation): Remove a wrong assertion. gcc/testsuite/ChangeLog: * gcc.dg/pr102897.c: New test.