------- Comment #1 from jakub at gcc dot gnu dot org  2005-11-02 08:23 -------
That testcase is IMHO invalid (see
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00099.html
), but
void
foo (void)
{
  int i;
#pragma omp parallel sections shared (i)
  {
#pragma omp section
    {
      i = 0;
      ++i;
    }
  }
}
which is valid warns too.


-- 


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

Reply via email to