------- Comment #3 from jakub at gcc dot gnu dot org 2006-01-16 17:40 ------- This is not Fortran specific, int main (void) { static int i; static int k;
k = 3; #pragma omp parallel #pragma omp for private(i) lastprivate(k) for (i = 1; i <= 100; i = i + 1) k = i; __builtin_printf ("%d\n", k); return 0; } ICEs the same. I can't reproduce this in the Fedora Core gcc though, so I think this got fixed by http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01192.html Dunno about its status, Diego, was it subsummed by your http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00668.html patch? -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu dot | |org, dnovillo at gcc dot gnu | |dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25219