public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Schwinge <thomas@codesourcery.com>
To: <gcc-patches@gcc.gnu.org>
Subject: Re: [gomp4 9/9] OpenACC: Basic support for #pragma acc parallel.
Date: Thu, 20 Mar 2014 14:28:00 -0000	[thread overview]
Message-ID: <87eh1xlzgy.fsf@kepler.schwinge.homeip.net> (raw)
In-Reply-To: <8761s5joir.fsf@schwinge.name>

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

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 #2: Type: application/pgp-signature, Size: 472 bytes --]

  parent reply	other threads:[~2014-03-20 14:24 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 19:44 Initial submission of OpenACC support integrated into OpenMP's lowering and expansion passes Thomas Schwinge
2013-11-06 19:44 ` [gomp4 1/9] Add missing include thomas
2013-11-06 19:44   ` [gomp4 2/9] libgomp: Prepare for testcases without -fopenmp thomas
2013-11-06 19:47     ` [gomp4 3/9] OpenACC: Recognize -fopenacc thomas
2013-11-06 20:39       ` [gomp4 4/9] OpenACC: The runtime library will be implemented in libgomp, too thomas
2013-11-06 19:45         ` [gomp4 5/9] OpenACC: preprocessor definition, Fortran integer parameter thomas
2013-11-06 20:37           ` [gomp4 6/9] OpenACC: Infrastructure for builtins thomas
2013-11-06 19:56             ` [gomp4 7/9] OpenACC: Use OpenMP's lowering and expansion passes thomas
2013-11-06 20:29               ` [gomp4 8/9] OpenACC: Basic support for #pragma acc in the C front end thomas
2013-11-06 19:53                 ` [gomp4 9/9] OpenACC: Basic support for #pragma acc parallel thomas
2013-11-06 20:01                   ` Thomas Schwinge
2013-11-07  8:48                     ` Jakub Jelinek
2014-02-27 19:58                     ` [gomp4] Gimplification: Merge gimplify_oacc_parallel into gimplify_omp_workshare. (was: [gomp4 9/9] OpenACC: Basic support for #pragma acc parallel.) Thomas Schwinge
2014-03-20 14:28                     ` Thomas Schwinge [this message]
2014-11-12 13:35                     ` OpenACC GIMPLE_OACC_* -- or not? " Thomas Schwinge
2014-11-12 13:46                       ` Jakub Jelinek
2014-12-10  9:58                         ` OpenACC GIMPLE_OACC_* -- or not? Thomas Schwinge
2014-12-10 10:07                           ` Thomas Schwinge
2014-12-10 10:10                             ` Jakub Jelinek
2014-12-12 20:02                               ` Thomas Schwinge
2014-12-10 10:02                         ` Nested OpenACC/OpenMP constructs (was: OpenACC GIMPLE_OACC_* -- or not?) Thomas Schwinge
2014-12-10 10:10                           ` Thomas Schwinge
2014-12-10 10:16                             ` Jakub Jelinek
2014-12-12 20:04                               ` Nested OpenACC/OpenMP constructs Thomas Schwinge
2014-12-17 22:21                                 ` OpenACC/OpenMP testing: Revise variable usage in constructs (was: Nested OpenACC/OpenMP constructs) Thomas Schwinge
2013-11-06 20:03                   ` [gomp4 9/9] OpenACC: Basic support for #pragma acc parallel Jakub Jelinek
2013-11-07 19:00                     ` Thomas Schwinge
2013-11-07  8:41                 ` [gomp4 8/9] OpenACC: Basic support for #pragma acc in the C front end Jakub Jelinek
2013-11-07  8:39               ` [gomp4 7/9] OpenACC: Use OpenMP's lowering and expansion passes Jakub Jelinek
2013-11-07  8:23             ` [gomp4 6/9] OpenACC: Infrastructure for builtins Jakub Jelinek
2013-11-07  8:19           ` [gomp4 5/9] OpenACC: preprocessor definition, Fortran integer parameter Jakub Jelinek
2013-11-07  8:18         ` [gomp4 4/9] OpenACC: The runtime library will be implemented in libgomp, too Jakub Jelinek
2013-11-07 14:05           ` Generally link to libgomp for -ftree-parallelize-loops=* (was: [gomp4 4/9] OpenACC: The runtime library will be implemented in libgomp, too.) Thomas Schwinge
2013-11-07 14:48             ` Jakub Jelinek
2013-11-07  8:17       ` [gomp4 3/9] OpenACC: Recognize -fopenacc Jakub Jelinek
2013-11-07  8:16     ` [gomp4 2/9] libgomp: Prepare for testcases without -fopenmp Jakub Jelinek
2017-09-28  7:41       ` [libgomp, testsuite] Remove superfluous -fopenmp from libgomp testcases Tom de Vries
2017-09-28  8:37         ` Thomas Schwinge
2017-09-28 12:12           ` Tom de Vries
2017-09-28  8:46         ` Jakub Jelinek
2013-11-07  8:15   ` [gomp4 1/9] Add missing include Jakub Jelinek
2013-11-07 18:14 ` Initial submission of OpenACC support integrated into OpenMP's lowering and expansion passes Evgeny Gavrin
2013-11-27 23:23   ` Thomas Schwinge
     [not found]   ` <004b01cedc68$a5f3c950$f1db5bf0$%b@samsung.com>
2013-11-27 23:25     ` Thomas Schwinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eh1xlzgy.fsf@kepler.schwinge.homeip.net \
    --to=thomas@codesourcery.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).