------- 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