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

Reply via email to