diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2021-10-26 04:09:38 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2021-10-26 04:10:00 -0500 |
commit | 54e4e1769e44b925c35c0ffc11723027ff855bd7 (patch) | |
tree | 813ab9de27f972e406e7ff7f730f17013378bffa /gcc/tree-vectorizer.h | |
parent | ccbd6c37c4f6e12a3fbb22314a09db897a0aa8b9 (diff) | |
download | gcc-54e4e1769e44b925c35c0ffc11723027ff855bd7.zip gcc-54e4e1769e44b925c35c0ffc11723027ff855bd7.tar.gz gcc-54e4e1769e44b925c35c0ffc11723027ff855bd7.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions