diff mbox

[PTX] reduce testcase time

Message ID 566AF1DA.30901@acm.org
State New
Headers show

Commit Message

Nathan Sidwell Dec. 11, 2015, 3:55 p.m. UTC
This test can timeout on PTX during execution.  Reducing the number of 
iterations as-if ptxx was a simulator, resolves that.

nathan
diff mbox

Patch

2015-12-11  Nathan Sidwell  <nathan@acm.org>

	* gcc.dg/pr59605-1.c: Reduce iterations for nvptx.

Index: gcc/testsuite/gcc.dg/pr59605-2.c
===================================================================
--- gcc/testsuite/gcc.dg/pr59605-2.c	(revision 231566)
+++ gcc/testsuite/gcc.dg/pr59605-2.c	(working copy)
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2" } */
-/* { dg-additional-options "-DMAX_COPY=1025" { target simulator } } */
+/* { dg-additional-options "-DMAX_COPY=1025" { target { { simulator } || { nvptx-*-* } } } } */
 /* { dg-additional-options "-minline-stringops-dynamically" { target { i?86-*-* x86_64-*-* } } } */
 
 #include "pr59605.c"