aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-08-04 15:34:57 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2016-08-04 15:34:57 +0200
commit9ef64248fe2c609a7018dcd9ce436467991bd483 (patch)
tree92707079a44c8248dac5445eb349ebc303a314d1 /libgomp/testsuite
parent246c618e71b9900b1ed5f9686ea895133d9b7b5b (diff)
downloadgcc-9ef64248fe2c609a7018dcd9ce436467991bd483.zip
gcc-9ef64248fe2c609a7018dcd9ce436467991bd483.tar.gz
gcc-9ef64248fe2c609a7018dcd9ce436467991bd483.tar.bz2
Make libgomp.oacc-c-c++-common/crash-1.c a "link" test, and don't hardcode -O0
libgomp/ * testsuite/libgomp.oacc-c-c++-common/crash-1.c: Make it a "link" test, and don't hardcode -O0. From-SVN: r239125
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/crash-1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/crash-1.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/crash-1.c
index a75a817..dcf1485 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/crash-1.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/crash-1.c
@@ -1,7 +1,6 @@
-/* { dg-do compile } */
-/* { dg-options "-O0" } */
+/* { dg-do link } */
-/* ICEd in nvptx backend due to unexpected frame size. */
+/* For -O0, ICEd in nvptx backend due to unexpected frame size. */
#pragma acc routine worker
void
worker_matmul (int *c, int i)