00908992f2
After the fix for "PR tree-optimization/89713 - Assume loop with an exit is finite" ( r272234 ) empty oacc loops are removed before expand. Update pr85381-{2,4}.c accordingly. 2019-06-15 Tom de Vries <tdevries@suse.de> PR tree-optimization/89713 * testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: Expect no bar.sync. * testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: Same. From-SVN: r272324
19 lines
347 B
C
19 lines
347 B
C
/* { dg-additional-options "-save-temps" } */
|
|
/* { dg-do run { target openacc_nvidia_accel_selected } }
|
|
{ dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
int v1;
|
|
|
|
#pragma acc parallel
|
|
#pragma acc loop worker
|
|
for (v1 = 0; v1 < 20; v1 += 2)
|
|
;
|
|
|
|
return 0;
|
|
}
|
|
|
|
/* { dg-final { scan-assembler-times "bar.sync" 0 } } */
|