On Sun, May 25, 2014 at 09:31:50AM +0000, Zamyatin, Igor wrote:
> +/* { dg-do compile } */
> +/* { dg-options "-fcilkplus" } */
> +
> +int foo (int*p, int i)
> +{
> +  return __sec_reduce_max_ind(p[1:i]);
> +}

BTW, similar testcase seems to segfault too:

int foo (int*p, int *i)
{
  return __sec_reduce_max_ind(p[1:i]);
}

        Marek

Reply via email to