]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/cp/init.c
tree.h (INT_CST_LT, [...]): Remove unneeded casts.
[gcc.git] / gcc / cp / init.c
index fb6c4e661da2273b2e175e0006dde810678a3c5b..a2e0d2208e221fe1da2d30b33b152d27503aaa17 100644 (file)
@@ -2873,8 +2873,9 @@ build_vec_init (decl, base, maxindex, init, from_array)
 
   if (from_array
       || (TYPE_NEEDS_CONSTRUCTING (type)
-         && !(TREE_CODE (maxindex) == INTEGER_CST
-              && num_initialized_elts == TREE_INT_CST_LOW (maxindex) + 1)))
+         && ! (TREE_CODE (maxindex) == INTEGER_CST
+               && (num_initialized_elts
+                   == (HOST_WIDE_INT) TREE_INT_CST_LOW (maxindex) + 1))))
     {
       /* If the ITERATOR is equal to -1, then we don't have to loop;
         we've already initialized all the elements.  */
This page took 0.103109 seconds and 5 git commands to generate.