------- Comment #9 from jakub at gcc dot gnu dot org 2008-08-11 13:14 ------- To answer c#7, that's what would (and does) happen for autoparallelization. But OpenMP is explicit parallelization, if you don't preceede for (...; ...; ...) ... construct with #pragma omp {,parallel } for, nothing will warn nor error on it. But if you have the pragma there and request OpenMP pragmas to be recognized, then the program must not only be valid C++ (or C or Fortran), but also valid OpenMP code, so just warnings aren't appropriate.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35158