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
This commit is contained in:
Thomas Schwinge 2016-08-04 15:34:57 +02:00 committed by Thomas Schwinge
parent 246c618e71
commit 9ef64248fe
2 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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)