On 12/29/2015 06:19 AM, Nathan Sidwell wrote: > @@ -19385,7 +19415,7 @@ new_oacc_loop_routine (oacc_loop *parent > { > oacc_loop *loop = new_oacc_loop_raw (parent, gimple_location (call)); > int dims[GOMP_DIM_MAX]; > - int level = oacc_validate_dims (decl, attrs, dims); > + int level = oacc_fn_attrib_level (attrs);
dims is dead and that's causing a bootstrap failure. I've applied this patch to gomp-4_0-branch to fix it. Cesar
2016-01-06 Cesar Philippidis <ce...@codesourcery.com> gcc/ * omp-low.c (new_oacc_loop_routine): Remove stale dims variable. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index e11cefc..55b5da3 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -19454,7 +19454,6 @@ static void new_oacc_loop_routine (oacc_loop *parent, gcall *call, tree decl, tree attrs) { oacc_loop *loop = new_oacc_loop_raw (parent, gimple_location (call)); - int dims[GOMP_DIM_MAX]; int level = oacc_fn_attrib_level (attrs); gcc_assert (level >= 0);