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 via email to