When I played with array operations in Cilk Plus, I found the same assignment might return different results with gcc and g++. For example, in array[0:5] = array[10:5], we expect that five elements 10 to 14 are copied to elements 0 to 4 in order. There is no overlap in the example. It works when it is compiled with g++. However, it goes awry when it is compiled with gcc. Actually, another five elements 10 to 6 are copied.
Is it an error or a bug? Thanks.