Ping. Thomas, is this OK for openacc-gcc-8-branch? It would be great if I could commit this before Friday.

Thanks,
Gergö


On 12/02/2019 20:02, Gergö Barany wrote:
Hi all,

The attached patch fixes a bug in recent work on OpenACC "kernels" regions. Jumps within nested binds or try statements were not analyzed correctly and could lead to ICEs.

Tested on x86_64 with offloading to NVPTX.

Thanks,
Gergö


Correctly handle nested bind and try statements in the OpenACC kernels
conversion control-flow region analysis.

     gcc/
     * omp-oacc-kernels.c (control_flow_regions::compute_regions): Factored
     out...
    (control_flow_regions::visit_gimple_seq): ... this new method, now also
     handling bind and try statements.

     gcc/testsuite/
     * gcc/testsuite/c-c++-common/goacc/kernels-decompose-1.c: Add tests.

Reply via email to