------- Comment #1 from jakub at gcc dot gnu dot org 2009-07-10 10:43 ------- Sorry, can't reproduce this.
extern void abort (void); int main (void) { int x, y = 0; #pragma omp parallel for schedule(guided) reduction(+:y) for (x = 3; x < 478; x += 2) y++; if (y != 238) abort (); return 0; } works just fine with current 4.4 or trunk, both x86_64-linux -m32 and -m64, OMP_NUM_THREADS={1,2,4,8,16,32,64}. Are you sure you were not testing everything against gcc 4.2 libgomp.so? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40494