https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70565

            Bug ID: 70565
           Summary: ICE at gimplify.c:8832 (cilkplus array extension)
           Product: gcc
           Version: 5.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yves.vandriessche at intel dot com
  Target Milestone: ---

Created attachment 38203
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38203&action=edit
test case producing ICE in gimplify_expr, at gimplify.c:8832

using: gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010
running on: Ubuntu-5.10

Attached file produces the following ICE

>     test.cpp:11:18: internal compiler error: in gimplify_expr, at 
> gimplify.c:8832

with the guilty code segment in question being:

>     cilk_for ( int row = 0; row < nrows; row++ ) {
>       int row_nnz = nrows/2;
>       int col_offsets[row_nnz];
>       col_offsets[:] = __sec_implicit_index(0);
>     }

Note that I do not get an ICE when using a regular 'for' instead of the above
'cilk_for'.

Reply via email to