------- Comment #1 from jakub at gcc dot gnu dot org  2009-08-05 16:24 -------
I don't believe this is a valid OpenMP testcase.
The standard says:
"The behavior is unspecified if any intermediate result required to compute the
iteration count cannot be represented in the type determined above."
and that I think applies here, to compute the number of iterations you should
be able to compute end + step (for downward loop actually end - step) in the
iteration type, but here that wraps over.
IMHO > 0U condition for omp for is only valid with step -1, not bigger steps.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40967

Reply via email to