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
    }

nathan

Reply via email to