https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68776
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Ok, so vect_recog_mult_pattern detects IV address computations here. Not too useful in this case, but hey. Does Index: gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c =================================================================== --- gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c (revision 231745) +++ gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c (working copy) @@ -73,4 +73,5 @@ int main (void) /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 3 "vect" { target vect_widen_mult_hi_to_si } } } */ /* { dg-final { scan-tree-dump-times "vect_recog_widen_mult_pattern: detected" 2 "vect" { target vect_widen_mult_hi_to_si_pattern } } } */ -/* { dg-final { scan-tree-dump-times "pattern recognized" 2 "vect" { target vect_widen_mult_hi_to_si_pattern } } } */ +/* { dg-final { scan-tree-dump-times "pattern recognized" 2 "vect" { target vect_widen_mult_hi_to_si_pattern && vect_int_mult } } } */ +/* { dg-final { scan-tree-dump-times "pattern recognized" 4 "vect" { target vect_widen_mult_hi_to_si_pattern && ! vect_int_mult } } } */ fix this? If so can you please adjust the other testcase accordingly and commit?