On 12/10/15 19:12, Tom de Vries wrote: > Hi, > > I've committed the following patch series. > > 1 Add get_bbs_in_oacc_kernels_region > 2 Handle sequential code in kernels region > 3 Handle sequential code in kernels region - Testcases > > The patch series adds detection of whether sequential code (that is, > code in the oacc kernels region before and after the loop that is to be > parallelized), is safe to execute in parallel. > > Bootstrapped and reg-tested on x86_64. > > I'll post the patches individually, in reply to this email. This patch adds an oacc kernels infrastructure function: extern vec get_bbs_in_oacc_kernels_region (basic_block, basic_block); Thanks, - Tom