This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/30323] shared clauses for const variables are illigal



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-12-29 01:49 -------
Real testcase:
void foo()
{
  int A[20];
  const int x = 3;
  int i;

  #pragma omp parallel for shared(x)
  for(i = 0; i < 20; i++)
    A[i] = x;
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]