https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102069

--- Comment #1 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
Thanks, Segher!

The test case could be updated.  The patch supports calculating the number of
iterations for the special condition(step to min/max), so we may just update to
the case to check if the "number of iterations" is there.
like:
diff --git a/gcc/testsuite/gcc.dg/vect/pr101145_3.c
b/gcc/testsuite/gcc.dg/vect/pr101145_3.c
index 99289afec0b..819e134c6e6 100644
--- a/gcc/testsuite/gcc.dg/vect/pr101145_3.c
+++ b/gcc/testsuite/gcc.dg/vect/pr101145_3.c
@@ -10,4 +10,4 @@

 #include "pr101145.inc"

-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */      
+/* { dg-final { scan-tree-dump-times "Symbolic number of iterations is" 2
"vect" } } */

Reply via email to