------- Comment #10 from jakub at gcc dot gnu dot org 2010-06-07 12:17 ------- That's correct, it shouldn't compile. The OpenMP standard doesn't allow != comparisons in omp for condition, only <, <=, >, >=.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43893