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/27870] ICE in build_outer_var_ref, at omp-low.c:585 with openmp



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


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