https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66324

            Bug ID: 66324
           Summary: GOACC_parallel is optimization barrier
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Created attachment 35643
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35643&action=edit
gcc/testsuite/c-c++-common/goacc/kernels-parallel-loop-data-enter-exit-2.c

[ Discussed at PR 65419 ] 

Attached testcase does not work:
...
FAIL: c-c++-common/goacc/kernels-parallel-loop-data-enter-exit-2.c
scan-tree-dump-not parloops_oacc_kernels "FAILED:"
FAIL: c-c++-common/goacc/kernels-parallel-loop-data-enter-exit-2.c
scan-tree-dump-times parloops_oacc_kernels "SUCCESS: may be parallelized" 1
...

GOACC_parallel is an optimization barrier for alias analysis, which inhibits
parallelization of the kernels region.

Reply via email to