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: "jakub 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 11:57:44 -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 #4 from jakub at gcc dot gnu dot org 2006-06-02 11:57 -------
This is a dup of PR27416 - the ICE on invalid part of that bug.
The testcase violates OpenMP 2.5 section 2.8.3 restriction:
"A list item that appears in a reduction clause of a work-sharing construct
must be shared in the parallel regions to which any of the work-sharing regions
arising from the work-sharing construct bind."
In this case, cik can't be shared, as it is a local automatic variable which is
private in whatever parallel region calls the mat_product routine.
*** This bug has been marked as a duplicate of 27416 ***
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27870