]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/c/c-parser.c
Merge with trunk.
[thirdparty/gcc.git] / gcc / c / c-parser.c
index 141c4ce9cf622d3ca0631f3867cf5cc78532fbd3..fb3b01cd4a26af16dfaa4c4ea0728cd6ae148e7f 100644 (file)
@@ -13379,7 +13379,7 @@ c_parser_cilk_clause_vectorlength (c_parser *parser, tree clauses)
       || !TREE_CONSTANT (expr)
       || !INTEGRAL_TYPE_P (TREE_TYPE (expr)))
     error_at (loc, "vectorlength must be an integer constant");
-  else if (exact_log2 (TREE_INT_CST_LOW (expr)) == -1)
+  else if (wi::exact_log2 (expr) == -1)
     error_at (loc, "vectorlength must be a power of 2");
   else
     {