aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-01-17 00:16:23 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-01-17 00:16:23 +0000
commit59cf67d1cf77e9594e58fd2848ac94d505546546 (patch)
tree16da38246b5d5bde55a0aae5ecb7fdd04c5eb37d /gcc/fortran
parenta2960a04d51806b6cf66646fa37b289b42929f41 (diff)
downloadgcc-59cf67d1cf77e9594e58fd2848ac94d505546546.zip
gcc-59cf67d1cf77e9594e58fd2848ac94d505546546.tar.gz
gcc-59cf67d1cf77e9594e58fd2848ac94d505546546.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index c348517..47f1527 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,26 @@
+2021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * dump-parse-tree.c (show_omp_clauses): Handle detach clause.
+ * frontend-passes.c (gfc_code_walker): Walk detach expression.
+ * gfortran.h (struct gfc_omp_clauses): Add detach field.
+ (gfc_c_intptr_kind): New.
+ * openmp.c (gfc_free_omp_clauses): Free detach clause.
+ (gfc_match_omp_detach): New.
+ (enum omp_mask1): Add OMP_CLAUSE_DETACH.
+ (enum omp_mask2): Remove OMP_CLAUSE_DETACH.
+ (gfc_match_omp_clauses): Handle OMP_CLAUSE_DETACH for OpenMP.
+ (OMP_TASK_CLAUSES): Add OMP_CLAUSE_DETACH.
+ (resolve_omp_clauses): Prevent use of detach with mergeable and
+ overriding the data sharing mode of the event handle.
+ * trans-openmp.c (gfc_trans_omp_clauses): Handle detach clause.
+ * trans-types.c (gfc_c_intptr_kind): New.
+ (gfc_init_kinds): Initialize gfc_c_intptr_kind.
+ * types.def
+ (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT): Rename
+ to...
+ (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR):
+ ...this. Add extra argument.
+
2021-01-14 Harald Anlauf <anlauf@gmx.de>
* gfortran.h (gfc_resolve_substring): Add prototype.