Hi

  I am attempting to compile the following but the compilation fails
rather than issue an autological compare warning.

#include <iostream>
#include <omp.h>
int main()
{
#pragma omp simd
  for(unsigned int i=0;i<0u;++i)
  {
  }
  return 1;
}

g++ -fopenmp omp_bug.cxx

Error message

omp_bug.cxx: In function ‘int main()’:
omp_bug.cxx:9:3: error: invalid controlling predicate
   for(unsigned int i=0;i<0u;++i)
   ^

Thanks

Jamil

Reply via email to