diff options
Diffstat (limited to 'gcc/cgraphunit.cc')
-rw-r--r-- | gcc/cgraphunit.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cgraphunit.cc b/gcc/cgraphunit.cc index b949f61..4d45ab3 100644 --- a/gcc/cgraphunit.cc +++ b/gcc/cgraphunit.cc @@ -1174,7 +1174,12 @@ analyze_functions (bool first_time) build_type_inheritance_graph (); if (flag_openmp && first_time) - omp_discover_implicit_declare_target (); + { + omp_discover_implicit_declare_target (); + + if(flag_openmp_target == OMP_TARGET_MODE_OMPACC) + omp_ompacc_attribute_tagging (); + } /* Analysis adds static variables that in turn adds references to new functions. So we need to iterate the process until it stabilize. */ |