diff options
Diffstat (limited to 'gcc/c/c-lang.h')
-rw-r--r-- | gcc/c/c-lang.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/c/c-lang.h b/gcc/c/c-lang.h index 4fea118..09f4d40 100644 --- a/gcc/c/c-lang.h +++ b/gcc/c/c-lang.h @@ -61,15 +61,21 @@ struct GTY(()) language_function { }; struct GTY(()) c_omp_declare_target_attr { + bool attr_syntax; int device_type; }; -/* If non-zero, implicit "omp declare target" attribute is added into the +struct GTY(()) c_omp_begin_assumes_data { + bool attr_syntax; +}; + +/* If non-empty, implicit "omp declare target" attribute is added into the attribute lists. */ extern GTY(()) vec<c_omp_declare_target_attr, va_gc> *current_omp_declare_target_attribute; /* Similarly whether we are in between #pragma omp begin assumes and #pragma omp end assumes (and how many times when nested). */ -extern GTY(()) int current_omp_begin_assumes; +extern GTY(()) vec<c_omp_begin_assumes_data, va_gc> + *current_omp_begin_assumes; #endif /* ! GCC_C_LANG_H */ |