public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7623] Add 'c-c++-common/goacc/kernels-decompose-pr104086-1.c' [PR104086] Date: Sat, 12 Mar 2022 12:33:05 +0000 (GMT) [thread overview] Message-ID: <20220312123305.7D3563858C78@sourceware.org> (raw) https://gcc.gnu.org/g:9781ae3a254a8c17ef4ffa70f21ed1728ff3c707 commit r12-7623-g9781ae3a254a8c17ef4ffa70f21ed1728ff3c707 Author: Thomas Schwinge <thomas@codesourcery.com> Date: Tue Jan 18 17:22:14 2022 +0100 Add 'c-c++-common/goacc/kernels-decompose-pr104086-1.c' [PR104086] ..., currently XFAILed with 'dg-ice', as it runs into 'gcc/omp-low.cc:lower_omp_target': 13125 else if (is_gimple_reg (var)) 13126 { 13127 gcc_assert (offloaded); This means, the recent PR100280 etc. changes are still not sufficient. gcc/testsuite/ PR middle-end/104086 * c-c++-common/goacc/kernels-decompose-pr104086-1.c: New file. Diff: --- .../goacc/kernels-decompose-pr104086-1.c | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gcc/testsuite/c-c++-common/goacc/kernels-decompose-pr104086-1.c b/gcc/testsuite/c-c++-common/goacc/kernels-decompose-pr104086-1.c new file mode 100644 index 00000000000..eab10cf6c72 --- /dev/null +++ b/gcc/testsuite/c-c++-common/goacc/kernels-decompose-pr104086-1.c @@ -0,0 +1,25 @@ +/* Reduced from 'libgomp.oacc-c-c++-common/declare-vla.c'. */ + +/* { dg-additional-options "-fchecking" } + { dg-ice TODO } + { dg-prune-output {during GIMPLE pass: omplower} } */ + +/* { dg-additional-options "--param openacc-kernels=decompose" } */ + +/* { dg-additional-options "-fopt-info-all-omp" } */ + +/* { dg-additional-options "--param=openacc-privatization=noisy" } */ + +void +foo (void) +{ +#pragma acc data /* { dg-line l_data1 } */ + /* { dg-bogus {note: variable 'i' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} {TODO 'data'} { xfail *-*-* } l_data1 } */ + { + int i; + +#pragma acc kernels + /* { dg-note {beginning 'gang-single' part in OpenACC 'kernels' region} {} { target *-*-* } .+1 } */ + i = 0; + } +}
reply other threads:[~2022-03-12 12:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220312123305.7D3563858C78@sourceware.org \ --to=tschwinge@gcc.gnu.org \ --cc=gcc-cvs@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: linkBe 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).