From 9ef64248fe2c609a7018dcd9ce436467991bd483 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 4 Aug 2016 15:34:57 +0200 Subject: 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 --- libgomp/testsuite/libgomp.oacc-c-c++-common/crash-1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libgomp/testsuite') 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) -- cgit v1.1