On Mon, May 02, 2016 at 02:16:25PM -0400, Nathan Sidwell wrote: > While working on some more loop partitioning improvements, I noticed some > unnecessary checking. By construction an openacc loop must have at least > one head/tail marker, so we should assert that earlier when lowering the > loop (in the common compiler) and then rely on it later when processing the > loop (in the accelerator compiler). > > ok for trunk? > > nathan
> 2016-05-02 Nathan Sidwell <nat...@codesourcery.com> > > * omp-low.c (lower_oacc_head_tail): Assert there is at least one > marker. > (oacc_loop_process): Check mask for loop termination. Ok. Jakub