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 middle-end/30167] OpenMP can produce invalid gimple (for indirect references)



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-12-12 08:44 -------
Here is another testcase (a C one this time):
int x, *p = &x;
g (int n)
{
  int i = 1, j, sum = 0;
#pragma omp parallel reduction(+: sum) num_threads(2)
  {
    f1 (&j);
    sum += i + j + *p + n;
  }
}


-- 


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


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