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

            Bug ID: 85381
           Summary: [og7, nvptx, openacc] parallel-loop-1.c fails with
                    default vector length 128
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When running parallel-loop-1.c with this patch, it hangs:
...
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c
b/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c
index 4bc71415688..5e7adcb4340 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-additional-options "-fopenacc-dim=::128" } */

 #include <stdlib.h>
...

Reply via email to