re PR middle-end/69916 ([openacc] ICE in single_succ_edge called from oacc_loop_xform...
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 7 Mar 2016 13:22:07 +0000 (13:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 7 Mar 2016 13:22:07 +0000 (13:22 +0000)
commit4ae13300cd12a603847f1afd152103e0ad48d89a
tree21235e3760cd5107e9691a937aa0aa60e5756a8c
parent5edb985350a075f467323e37cdb41c84b6127fcf
re PR middle-end/69916 ([openacc] ICE in single_succ_edge called from oacc_loop_xform_loop)

gcc/
PR middle-end/69916
* omp-low.c (struct oacc_loop): Add ifns.
(new_oacc_loop_raw): Initialize it.
(finish_oacc_loop): Clear mask & flags if no ifns.
(oacc_loop_discover_walk): Count IFN_GOACC_LOOP calls.
(oacc_loop_xform_loop): Add ifns arg & adjust.
(oacc_loop_process): Adjust oacc_loop_xform_loop call.

gcc/testsuite/
PR middle-end/69916
* c-c-++-common/goacc/pr69916.c: New.

From-SVN: r234026
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/pr69916.c [new file with mode: 0644]