aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-10-24 22:29:09 +0000
committerJakub Jelinek <jakub@redhat.com>2019-10-24 22:29:09 +0000
commitec9811d6f014ef91a35a9e0e9710528e8e8267d1 (patch)
tree788a3c845a393f73563f1c4dba757939c85265ff /gcc/c-family/ChangeLog
parentc2052b989d8648e04d599e9306c725c00904ecc1 (diff)
* gimplify.h (omp_construct_selector_matches): Declare.
* gimplify.c (struct gimplify_omp_ctx): Add code member. (gimplify_call_expr): Call omp_resolve_declare_variant and remap called function if needed for flag_openmp. (gimplify_scan_omp_clauses): Set ctx->code. (omp_construct_selector_matches): New function. * omp-general.h (omp_constructor_traits_to_codes, omp_context_selector_matches, omp_resolve_declare_variant): Declare. * omp-general.c (omp_constructor_traits_to_codes, omp_context_selector_matches, omp_resolve_declare_variant): New functions. c-family/ * c-common.h (c_omp_context_selector_matches): Remove. * c-omp.c (c_omp_context_selector_matches): Remove. * c-attribs.c (c_common_attribute_table): Add "omp declare target {host,nohost,block}" attributes. c/ * c-parser.c (c_finish_omp_declare_variant): Use omp_context_selector_matches instead of c_omp_context_selector_matches. * c-decl.c (c_decl_attributes): Add "omp declare target block" attribute in between declare target and end declare target pragmas. cp/ * decl2.c (cplus_decl_attributes): Add "omp declare target block" attribute in between declare target and end declare target pragmas. testsuite/ * c-c++-common/gomp/declare-variant-8.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@277427 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/ChangeLog')
-rw-r--r--gcc/c-family/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index aeae1497b92..3b3d5744bac 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2019-10-24 Jakub Jelinek <jakub@redhat.com>
+
+ * c-common.h (c_omp_context_selector_matches): Remove.
+ * c-omp.c (c_omp_context_selector_matches): Remove.
+ * c-attribs.c (c_common_attribute_table): Add
+ "omp declare target {host,nohost,block}" attributes.
+
2019-10-17 JeanHeyd Meneide <phdofthehouse@gmail.com>
* c-lex.c (c_common_has_attribute): Update nodiscard value.