From 9ef64248fe2c609a7018dcd9ce436467991bd483 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 4 Aug 2016 15:34:57 +0200 Subject: [PATCH] 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/ChangeLog | 5 +++++ libgomp/testsuite/libgomp.oacc-c-c++-common/crash-1.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 850188fb660..cc76b7b5fe2 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2016-08-04 Thomas Schwinge + + * testsuite/libgomp.oacc-c-c++-common/crash-1.c: Make it a "link" + test, and don't hardcode -O0. + 2016-08-03 Nathan Sidwell * testsuite/libgomp.oacc-c-c++-common/crash-1.c: New. 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 a75a81765c6..dcf1485e499 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) -- 2.30.2