This is the mail archive of the gcc-patches@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]

[PR c++/70565] ICE at gimplify.c:8832 (cilkplus array extension)


The problem at hand can be seen in this simple testcase:

int array[999];
void foo()
{
  _Cilk_for (int i=0; i < 999; ++i)
    array[:] = 0;
}

The issue here is that the _Cilk_for degrades into an OMP PARALLEL, and we fail to expand the array extension in the body of the OMP PARALLEL.

This is probably an obvious patch, but just in case... OK for trunk?

Aldy

Attachment: curr
Description: Text document


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