As discussed in the other thread. This is a patch I intend to commit to the branch when I can actually commit stuff.
diff --git gcc/cp/semantics.c gcc/cp/semantics.c index 9a8caa7..d15d6f9 100644 --- gcc/cp/semantics.c +++ gcc/cp/semantics.c @@ -5577,7 +5577,8 @@ finish_omp_clauses (tree clauses) if (OMP_CLAUSE_SCHEDULE_KIND (c) == OMP_CLAUSE_SCHEDULE_CILKFOR) { - t = convert_to_integer (long_integer_type_node, t); + t = convert_to_integer_nofold (long_integer_type_node, + t); if (t == error_mark_node) { remove = true; Marek