This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27870] ICE in build_outer_var_ref, at omp-low.c:585 with openmp
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2006 02:54:43 -0000
- Subject: [Bug middle-end/27870] ICE in build_outer_var_ref, at omp-low.c:585 with openmp
- References: <bug-27870-12330@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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