public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Nathan Sidwell <nathan@acm.org>, Jakub Jelinek <jakub@redhat.com>,
	       Thomas Schwinge <THOMAS_SCHWINGE@mentor.com>,
	       GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: cgraph offloading error?
Date: Fri, 30 Oct 2015 21:04:00 -0000	[thread overview]
Message-ID: <5633D8E8.104@redhat.com> (raw)
In-Reply-To: <5633D88E.4080900@acm.org>

On 10/30/2015 02:52 PM, Nathan Sidwell wrote:
> This bit of trunk code in cgraph_node::create at around line  500 of
> cgraph.c looks wrong.  Specifically the contents of the #ifdef -- it's
> uncompilable as there's no 'g'.
>
>   if ((flag_openacc || flag_openmp)
>        && lookup_attribute ("omp declare target", DECL_ATTRIBUTES (decl)))
>      {
>        node->offloadable = 1;
> #ifdef ENABLE_OFFLOADING
>        g->have_offload = true;
> #endif
>      }
Missing #include of context.h.  This was missed because the ptx backend 
doesn't appear in config-list.mk.  I'm looking to see what it would take 
to add the ptx backend right now :-0

jeff

  reply	other threads:[~2015-10-30 20:54 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23 16:57 [patch] New backend header reduction Andrew MacLeod
2015-10-23 19:25 ` Jeff Law
2015-10-30 18:03   ` Cesar Philippidis
2015-10-30 18:29     ` Andrew MacLeod
2015-10-30 20:24       ` Andrew MacLeod
2015-10-30 20:27         ` Cesar Philippidis
2015-10-30 20:52           ` Jeff Law
2015-10-30 20:54           ` cgraph offloading error? Nathan Sidwell
2015-10-30 21:04             ` Jeff Law [this message]
2015-10-30 21:22               ` Nathan Sidwell
2015-10-30 21:31                 ` Jeff Law
2015-10-30 22:17                   ` Nathan Sidwell
2015-10-30 22:31                     ` Nathan Sidwell
2015-10-30 22:33                     ` Jeff Law
2015-10-30 23:01                       ` Nathan Sidwell
2015-10-30 22:16           ` [patch] New backend header reduction Jeff Law
2015-11-02  8:43             ` Offload configurations (was: [patch] New backend header reduction) Thomas Schwinge
2015-10-30 13:38 ` [patch] New 'all' front end header reduction Andrew MacLeod
2015-10-30 16:20   ` Mike Stump
2015-10-30 16:35     ` Andrew MacLeod
2015-10-30 16:39       ` Mike Stump
2015-11-02  6:41   ` Jeff Law
2015-11-02 13:58     ` [patch] New remainder of " Andrew MacLeod
2015-11-09 21:33       ` Jeff Law
2015-10-31  7:02 ` [patch] New backend " Andreas Schwab
2015-10-31  8:14   ` Markus Trippelsdorf
2015-10-31 15:24     ` Markus Trippelsdorf
2015-10-31 20:30   ` Jeff Law
2015-11-02  7:43 ` Thomas Schwinge
2015-11-02 13:51   ` Andrew MacLeod

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=5633D8E8.104@redhat.com \
    --to=law@redhat.com \
    --cc=THOMAS_SCHWINGE@mentor.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=nathan@acm.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).