diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2016-08-04 15:34:57 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2016-08-04 15:34:57 +0200 |
commit | 9ef64248fe2c609a7018dcd9ce436467991bd483 (patch) | |
tree | 92707079a44c8248dac5445eb349ebc303a314d1 | |
parent | 246c618e71b9900b1ed5f9686ea895133d9b7b5b (diff) | |
download | gcc-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
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | 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 850188f..cc76b7b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2016-08-04 Thomas Schwinge <thomas@codesourcery.com> + + * testsuite/libgomp.oacc-c-c++-common/crash-1.c: Make it a "link" + test, and don't hardcode -O0. + 2016-08-03 Nathan Sidwell <nathan@codesourcery.com> * 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 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) |