mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 23:35:00 +08:00
[PR testsuite/65205] Fix dg-shouldfail usage in OpenACC libgomp tests
PR testsuite/65205 libgomp/ * testsuite/lib/libgomp.exp (check_effective_target_openacc_host_selected) (check_effective_target_openacc_host_nonshm_selected): New procedures. * testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Fix misuse of dg-shouldfail. * testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise. From-SVN: r222620
This commit is contained in:
parent
cebe850dfa
commit
1309f1d25b
@ -1,3 +1,56 @@
|
||||
2015-04-30 James Norris <jnorris@codesourcery.com>
|
||||
|
||||
PR testsuite/65205
|
||||
* testsuite/lib/libgomp.exp
|
||||
(check_effective_target_openacc_host_selected)
|
||||
(check_effective_target_openacc_host_nonshm_selected): New
|
||||
procedures.
|
||||
* testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Fix misuse of
|
||||
dg-shouldfail.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise.
|
||||
* testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise.
|
||||
|
||||
2015-04-08 Julian Brown <julian@codesourcery.com>
|
||||
|
||||
* libgomp.h (target_mem_desc: Remove mem_map field.
|
||||
|
@ -345,3 +345,23 @@ proc check_effective_target_openacc_nvidia_accel_selected { } {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
# Return 1 if the host target is selected for offloaded
|
||||
|
||||
proc check_effective_target_openacc_host_selected { } {
|
||||
global offload_target_openacc
|
||||
if { $offload_target_openacc == "host" } {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
# Return 1 if the host_nonshm target is selected for offloaded
|
||||
|
||||
proc check_effective_target_openacc_host_nonshm_selected { } {
|
||||
global offload_target_openacc
|
||||
if { $offload_target_openacc == "host_nonshm" } {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -64,4 +64,5 @@ main (int argc, char **argv)
|
||||
|
||||
return 0;
|
||||
}
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\d+\] is not mapped" } */
|
||||
/* { dg-output "Trying to map into device \\\[0x\[0-9a-f\]+..0x\[0-9a-f\]+\\\) object when \\\[0x\[0-9a-f\]+..0x\[0-9a-f\]+\\\) is already mapped" }
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -21,4 +21,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: device already active" } */
|
||||
/* { dg-output "device already active" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -20,4 +20,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: mem free failed 1" } */
|
||||
/* { dg-output "invalid device address" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -26,4 +26,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\+256\] already mapped to \[\h+,\+256\]" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+256\\\] already mapped to \\\[0x\[0-9a-f\]+,\\\+256\\\]" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -28,4 +28,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] is not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,256\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -31,4 +31,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] is not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,256\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: no device initialized" } */
|
||||
/* { dg-output "no device initialized" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -26,4 +26,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] surounds2 \[\h+,\+257\]" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,256\\\] surrounds2 \\\[0x\[0-9a-f\]+,\\\+257\\\]" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -26,4 +26,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,0\] is not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,0\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -26,4 +26,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] surrounds2 \[\h+,\+255\]" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,256\\\] surrounds2 \\\[0x\[0-9a-f\]+,\\\+255\\\]" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -36,4 +36,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] surrounds2 \[\h+,\+512\]" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,256\\\] surrounds2 \\\[0x\[0-9a-f\]+,\\\+512\\\]" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -27,4 +27,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] already mapped to \[\h+,256\]" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+256\\\] already mapped to \\\[0x\[0-9a-f\]+,\\\+256\\\]" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\+0\] is a bad range" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+0\\\] is a bad range" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\(nil\)\] is a bad range" } */
|
||||
/* { dg-output "\\\[\\\(nil\\\),\\\+256\\\] is a bad range" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\(nil\),256\] is not mapped" } */
|
||||
/* { dg-output "\\\[\\\(nil\\\),256\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,0\] is not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,0\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -12,4 +12,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: device 4(4) is initialized" } */
|
||||
/* { dg-output "device \[0-9\]+\\\(\[0-9\]+\\\) is initialized" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] surrounds2 \[\h+,\+254\]" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,256\\\] surrounds2 \\\[0x\[0-9a-f\]+,\\\+254\\\]" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -30,4 +30,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\+256\] not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+256\\\] not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\(nil\),+256\] is a bad range" } */
|
||||
/* { dg-output "\\\[\\\(nil\\\),\\\+256\\\] is a bad range" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -23,4 +23,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\+0\] is a bad range" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+0\\\] is a bad range" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -38,4 +38,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\(nil\),+256\] is a bad range" } */
|
||||
/* { dg-output "\\\[\\\(nil\\\),\\\+256\\\] is a bad range" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -10,4 +10,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: device 99 is out of range" } */
|
||||
/* { dg-output "device \[0-9\]+ out of range" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -39,4 +39,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\+0\] is a bad range" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+0\\\] is a bad range" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -32,4 +32,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,256\] is not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,256\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -42,4 +42,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\(nil\),256\] is not mapped" } */
|
||||
/* { dg-output "\\\[\\\(nil\\\),256\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -42,4 +42,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,0\] is not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,0\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -40,4 +40,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\(nil\),256\] is not mapped" } */
|
||||
/* { dg-output "\\\[\\\(nil\\\),256\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -40,4 +40,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,0\] is not mapped" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,0\\\] is not mapped" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -25,4 +25,6 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[(nil),+256\]->\[\h+,\+256\] is a bad map" } */
|
||||
/* { dg-output "\\\[\\\(nil\\\),\\\+256\]->\[0x\[0-9a-f\]+,\\\+256\\\] is a bad map" { target openacc_nvidia_accel_selected } } */
|
||||
/* { dg-output "cannot map data on shared-memory system" { target openacc_host_selected } } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -25,4 +25,6 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\+256\]->\[(nil),\+256\] is a bad map" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+256\]->\\\[\\\(nil\\\),\\\+256\\\] is a bad map" { target openacc_nvidia_accel_selected } } */
|
||||
/* { dg-output "cannot map data on shared-memory system" { target openacc_host_selected } } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -25,4 +25,6 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \[\h+,\+0\]->\[\h+,\+0\] is a bad map" } */
|
||||
/* { dg-output "\\\[0x\[0-9a-f\]+,\\\+0\\\]->\\\[0x\[0-9a-f\]+,\\\+0\\\] is a bad map" { target openacc_nvidia_accel_selected } } */
|
||||
/* { dg-output "cannot map data on shared-memory system" { target openacc_host_selected } } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -25,4 +25,6 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \h+ is not a mapped block" } */
|
||||
/* { dg-output "0x\[0-9a-f\]+ is not a mapped block" { target openacc_nvidia_accel_selected } } */
|
||||
/* { dg-output "cannot map data on shared-memory system" { target openacc_host_selected } } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -25,4 +25,6 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: \(nil\) is not a mapped block" } */
|
||||
/* { dg-output "\\\(nil\\\) is not a mapped block" { target openacc_nvidia_accel_selected } } */
|
||||
/* { dg-output "cannot map data on shared-memory system" { target openacc_host_selected } } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -46,4 +46,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: invalid size" } */
|
||||
/* { dg-output "invalid size" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-do run { target openacc_nvidia_accel_selected } } */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@ -40,4 +40,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: invalid device address" } */
|
||||
/* { dg-output "invalid device address" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-do run { target openacc_nvidia_accel_selected } } */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@ -40,4 +40,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: invalid host address" } */
|
||||
/* { dg-output "invalid host address" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-do run { target openacc_nvidia_accel_selected } } */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@ -40,4 +40,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: invalid host or device address" } */
|
||||
/* { dg-output "invalid host or device address" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-do run { target openacc_nvidia_accel_selected } } */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@ -40,4 +40,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: invalid host address" } */
|
||||
/* { dg-output "invalid host address" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-do run { target openacc_nvidia_accel_selected } } */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@ -40,4 +40,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: invalid device address" } */
|
||||
/* { dg-output "invalid device address" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -116,4 +116,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: unknown async \d" } */
|
||||
/* { dg-output "unknown async \[0-9\]+" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -132,4 +132,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: unknown async \d" } */
|
||||
/* { dg-output "unknown async \[0-9\]+" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -129,4 +129,5 @@ main (int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* { dg-shouldfail "libgomp: identical parameters" } */
|
||||
/* { dg-output "identical parameters" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
@ -45,4 +45,5 @@ main (int argc, char **argv)
|
||||
|
||||
return 0;
|
||||
}
|
||||
/* { dg-shouldfail "libgomp: present clause: !acc_is_present" } */
|
||||
/* { dg-output "present clause: !acc_is_present" } */
|
||||
/* { dg-shouldfail "" } */
|
||||
|
Loading…
Reference in New Issue
Block a user