]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/c/ChangeLog
Daily bump.
[thirdparty/gcc.git] / gcc / c / ChangeLog
index 32989a1d748768f835d0adb66bff86f67559f75e..34cebe81b1f8ad9a2a3191f74cb993055597fab9 100644 (file)
@@ -1,3 +1,12 @@
+2021-01-16  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * c-parser.c (c_parser_omp_clause_detach): New.
+       (c_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_DETACH clause.
+       (OMP_TASK_CLAUSE_MASK): Add mask for PRAGMA_OMP_CLAUSE_DETACH.
+       * c-typeck.c (c_finish_omp_clauses): Handle PRAGMA_OMP_CLAUSE_DETACH
+       clause.  Prevent use of detach with mergeable and overriding the
+       data sharing mode of the event handle.
+
 2021-01-15  Jakub Jelinek  <jakub@redhat.com>
 
        * c-typeck.c (c_finish_omp_clauses): For reduction build array with