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