------- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-02 02:54 ------- Confirmed, reduced testcase: void mat_product(double **const b, unsigned m) { int j; double cik = 0; #pragma omp for reduction(+: cik) for (j = 0; j < m; ++j) ; }
So the reduction in general is causing it. This happens with the both C and C++ front-ends. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|c++ |middle-end Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-06-02 02:54:43 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27870