public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ilya Verbin <iverbin@gmail.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: gcc@gcc.gnu.org, Kirill Yukhin <kirill.yukhin@gmail.com>
Subject: Re: [gomp4] Questions about "declare target" and "target update" pragmas
Date: Tue, 10 Mar 2015 16:53:00 -0000	[thread overview]
Message-ID: <20150310165252.GC37666@msticlxl57.ims.intel.com> (raw)
In-Reply-To: <20140122155151.GA50489@msticlxl57.ims.intel.com>

Hi Jakub,

I have one more question :)
This testcase seems to be correct... or not?

#pragma omp declare target
extern int G;
#pragma omp end declare target

int G;

int main ()
{
  #pragma omp target update to(G)

  return 0;
}

If yes, then we have a problem that the decl of G in varpool_node::get_create
doesn't have "omp declare target" attribute.

Thanks,
  -- Ilya

  parent reply	other threads:[~2015-03-10 16:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 16:02 Ilya Verbin
2014-01-22 18:02 ` Jakub Jelinek
2014-01-28 18:14   ` Ilya Verbin
2014-01-28 21:39     ` Jakub Jelinek
     [not found]       ` <CADG=Z0GzEZw8a8S_M+3SzEXKn++qf5UDRjcnWD5FdPNjN7u0Mw@mail.gmail.com>
2014-01-30 19:17         ` Fwd: " Ilya Verbin
2014-07-08 18:31       ` Ilya Verbin
2015-03-10 16:53 ` Ilya Verbin [this message]
2015-03-16 18:42   ` Ilya Verbin
2015-03-19 13:47     ` Jakub Jelinek
2015-03-19 14:50       ` Ilya Verbin
2015-03-19 14:57         ` Jakub Jelinek
2015-03-19 18:43           ` Ilya Verbin
2015-03-19 19:00             ` Jakub Jelinek

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=20150310165252.GC37666@msticlxl57.ims.intel.com \
    --to=iverbin@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=kirill.yukhin@gmail.com \
    /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).