This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp4 9/9] OpenACC: Basic support for #pragma acc parallel.


Hi!

On Wed, 6 Nov 2013 20:53:00 +0100, I wrote:
> --- /dev/null
> +++ gcc/testsuite/c-c++-common/goacc/parallel-1.c
> @@ -0,0 +1,6 @@
> +void
> +foo (void)
> +{
> +#pragma acc parallel
> +  foo ();
> +}

Applied in r208699 on gomp-4_0-branch:

commit 4a854d643b300adc0b79ad5dadd132aa1cdd535a
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Mar 20 14:22:41 2014 +0000

    Fix OpenACC parallel testcase to avoid nonsensical recursion.
    
    	gcc/testsuite/
    	* c-c++-common/goacc/parallel-1.c: Don't recurse.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@208699 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git gcc/testsuite/ChangeLog.gomp gcc/testsuite/ChangeLog.gomp
index 1f4d704..81876ec 100644
--- gcc/testsuite/ChangeLog.gomp
+++ gcc/testsuite/ChangeLog.gomp
@@ -1,5 +1,7 @@
 2014-03-20  Thomas Schwinge  <thomas@codesourcery.com>
 
+	* c-c++-common/goacc/parallel-1.c: Don't recurse.
+
 	* gfortran.dg/goacc/cache-1.f95: Replace dg-excess-errors usage
 	with dg-prune-output.
 	* gfortran.dg/goacc/coarray.f95: Likewise.
diff --git gcc/testsuite/c-c++-common/goacc/parallel-1.c gcc/testsuite/c-c++-common/goacc/parallel-1.c
index cd19527..a860526 100644
--- gcc/testsuite/c-c++-common/goacc/parallel-1.c
+++ gcc/testsuite/c-c++-common/goacc/parallel-1.c
@@ -2,5 +2,5 @@ void
 foo (void)
 {
 #pragma acc parallel
-  foo ();
+  ;
 }


GrÃÃe,
 Thomas

Attachment: pgpFTdy2fXhmW.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]