]> gcc.gnu.org Git - gcc.git/commitdiff
re PR tree-optimization/53098 (tree-vect-loop.c:1414:19: error: comparison between...
authorRichard Guenther <rguenther@suse.de>
Tue, 24 Apr 2012 08:06:20 +0000 (08:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 24 Apr 2012 08:06:20 +0000 (08:06 +0000)
2012-04-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53098
* tree-vect-loop.c (vect_analyze_loop_operations): Fixup
comparison sign.

From-SVN: r186754

gcc/ChangeLog
gcc/tree-vect-loop.c

index 3e639c23749d90aeaa8fa12a12d11c90560b7ed4..e6a4de77446120f712652964402cdddb22141af2 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-24  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53098
+       * tree-vect-loop.c (vect_analyze_loop_operations): Fixup
+       comparison sign.
+
 2012-04-24  Andrew Pinski  <apinski@cavium.com>
 
        PR tree-opt/33512
index 0c6ed39c12324b182d0f0efafdbf37da574b2bea..264eda20593c3b3be2d857fe92768320b4afcc66 100644 (file)
@@ -1411,7 +1411,7 @@ vect_analyze_loop_operations (loop_vec_info loop_vinfo, bool slp)
   if ((LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
        && (LOOP_VINFO_INT_NITERS (loop_vinfo) < vectorization_factor))
       || ((max_niter = max_stmt_executions_int (loop)) != -1
-         && max_niter < vectorization_factor))
+         && (unsigned HOST_WIDE_INT) max_niter < vectorization_factor))
     {
       if (vect_print_dump_info (REPORT_UNVECTORIZED_LOCATIONS))
         fprintf (vect_dump, "not vectorized: iteration count too small.");
This page took 0.074681 seconds and 5 git commands to generate.