1 2021-01-19 Tobias Burnus <tobias@codesourcery.com>
4 * openmp.c (resolve_omp_clauses): Change use_device_ptr
5 to use_device_addr for unless type(c_ptr); check all
6 list item for is_device_ptr.
8 2021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com>
10 * dump-parse-tree.c (show_omp_clauses): Handle detach clause.
11 * frontend-passes.c (gfc_code_walker): Walk detach expression.
12 * gfortran.h (struct gfc_omp_clauses): Add detach field.
13 (gfc_c_intptr_kind): New.
14 * openmp.c (gfc_free_omp_clauses): Free detach clause.
15 (gfc_match_omp_detach): New.
16 (enum omp_mask1): Add OMP_CLAUSE_DETACH.
17 (enum omp_mask2): Remove OMP_CLAUSE_DETACH.
18 (gfc_match_omp_clauses): Handle OMP_CLAUSE_DETACH for OpenMP.
19 (OMP_TASK_CLAUSES): Add OMP_CLAUSE_DETACH.
20 (resolve_omp_clauses): Prevent use of detach with mergeable and
21 overriding the data sharing mode of the event handle.
22 * trans-openmp.c (gfc_trans_omp_clauses): Handle detach clause.
23 * trans-types.c (gfc_c_intptr_kind): New.
24 (gfc_init_kinds): Initialize gfc_c_intptr_kind.
26 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT): Rename
28 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR):
29 ...this. Add extra argument.
31 2021-01-14 Harald Anlauf <anlauf@gmx.de>
33 * gfortran.h (gfc_resolve_substring): Add prototype.
34 * primary.c (match_string_constant): Simplify substrings with
35 constant starting and ending points.
36 * resolve.c: Rename resolve_substring to gfc_resolve_substring.
37 (gfc_resolve_ref): Use renamed function gfc_resolve_substring.
39 2021-01-14 Harald Anlauf <anlauf@gmx.de>
42 * resolve.c (resolve_component): Derived type components with
43 ALLOCATABLE or POINTER attribute shall have a deferred shape.
45 2021-01-14 Harald Anlauf <anlauf@gmx.de>
48 2021-01-14 Harald Anlauf <anlauf@gmx.de>
51 * resolve.c (resolve_component): Derived type components with
52 ALLOCATABLE or POINTER attribute shall have a deferred shape.
54 2021-01-14 Harald Anlauf <anlauf@gmx.de>
57 * resolve.c (resolve_component): Derived type components with
58 ALLOCATABLE or POINTER attribute shall have a deferred shape.
60 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
63 * trans-expr.c (gfc_conv_component_ref): Remove the condition
64 that deferred character length components only be allocatable.
66 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
69 * simplify.c (is_constant_array_expr): If an array constructor
70 expression has elements other than constants or structures, try
71 fixing the expression with gfc_reduce_init_expr. Also, if shape
72 is NULL, obtain the array size and set it.
74 2021-01-07 Paul Thomas <pault@gcc.gnu.org>
77 * resolve.c (find_array_spec): Put static prototype for
78 resolve_assoc_var before this function and call for associate
81 2021-01-06 Harald Anlauf <anlauf@gmx.de>
83 * resolve.c (resolve_component): Add check for valid CLASS
84 reference before trying to access CLASS data.
86 2021-01-04 Martin Liska <mliska@suse.cz>
88 * ChangeLog-2018: Remove duplicate ChangeLog entries.
90 2021-01-01 Harald Anlauf <anlauf@gmx.de>
92 * class.c (gfc_find_vtab): Add check on attribute is_class.
94 2021-01-01 Jakub Jelinek <jakub@redhat.com>
96 * gfortranspec.c (lang_specific_driver): Update copyright notice
98 * gfc-internals.texi: Bump @copying's copyright year.
99 * gfortran.texi: Ditto.
100 * intrinsic.texi: Ditto.
101 * invoke.texi: Ditto.
103 2021-01-01 Jakub Jelinek <jakub@redhat.com>
105 * ChangeLog-2020: Rotate ChangeLog. New file.
108 Copyright (C) 2021 Free Software Foundation, Inc.
110 Copying and distribution of this file, with or without modification,
111 are permitted in any medium without royalty provided the copyright
112 notice and this notice are preserved.