[PR tree-optimization/78024] Clear basic block flags before using BB_VISITED for...
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 19 Oct 2016 10:19:24 +0000 (12:19 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 19 Oct 2016 10:19:24 +0000 (12:19 +0200)
commita023f8c8dc9ef41f4212b964326a2d16a3f00b27
tree90af851b2b5f659fea4c389ca23aff204e59bcae
parentd40627f9335050467ae3fdb8bcf31ed695b290ea
[PR tree-optimization/78024] Clear basic block flags before using BB_VISITED for OpenACC loops processing

gcc/
* omp-low.c (oacc_loop_discovery): Call clear_bb_flags before, and
don't clear BB_VISITED after processing.

gcc/testsuite/
* gcc.dg/goacc/loop-processing-1.c: New file.

From-SVN: r241334
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/goacc/loop-processing-1.c [new file with mode: 0644]