https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
--- Comment #8 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:3adb9ac6626c15ba21e4eaf27fec95688a3ca8c2 commit r12-1728-g3adb9ac6626c15ba21e4eaf27fec95688a3ca8c2 Author: Jakub Jelinek <ja...@redhat.com> Date: Tue Jun 22 15:22:51 2021 +0200 testsuite: Add testcase for recently fixed PR [PR101159] On Tue, Jun 22, 2021 at 11:00:51AM +0200, Richard Biener wrote: > 2021-06-22 Richard Biener <rguent...@suse.de> > > PR tree-optimization/101159 > * tree-vect-patterns.c (vect_recog_popcount_pattern): Add > missing NULL vectype check. The following patch adds the testcase for it, IMHO it can't hurt and from my experience testcases often trigger other bugs later on (rather than the original bugs reappearing, though even that happens), and also fixes a couple of typos in the new function. 2021-06-22 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/101159 * tree-vect-patterns.c (vect_recog_popcount_pattern): Fix some comment typos. * gcc.c-torture/compile/pr101159.c: New test.