Daily bump.
[gcc.git] / gcc / fortran / ChangeLog
1 2021-01-19 Tobias Burnus <tobias@codesourcery.com>
2
3 PR fortran/98476
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.
7
8 2021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com>
9
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.
25 * types.def
26 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT): Rename
27 to...
28 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR):
29 ...this. Add extra argument.
30
31 2021-01-14 Harald Anlauf <anlauf@gmx.de>
32
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.
38
39 2021-01-14 Harald Anlauf <anlauf@gmx.de>
40
41 PR fortran/98661
42 * resolve.c (resolve_component): Derived type components with
43 ALLOCATABLE or POINTER attribute shall have a deferred shape.
44
45 2021-01-14 Harald Anlauf <anlauf@gmx.de>
46
47 Revert:
48 2021-01-14 Harald Anlauf <anlauf@gmx.de>
49
50 PR fortran/98661
51 * resolve.c (resolve_component): Derived type components with
52 ALLOCATABLE or POINTER attribute shall have a deferred shape.
53
54 2021-01-14 Harald Anlauf <anlauf@gmx.de>
55
56 PR fortran/98661
57 * resolve.c (resolve_component): Derived type components with
58 ALLOCATABLE or POINTER attribute shall have a deferred shape.
59
60 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
61
62 PR fortran/93794
63 * trans-expr.c (gfc_conv_component_ref): Remove the condition
64 that deferred character length components only be allocatable.
65
66 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
67
68 PR fortran/98458
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.
73
74 2021-01-07 Paul Thomas <pault@gcc.gnu.org>
75
76 PR fortran/93701
77 * resolve.c (find_array_spec): Put static prototype for
78 resolve_assoc_var before this function and call for associate
79 variables.
80
81 2021-01-06 Harald Anlauf <anlauf@gmx.de>
82
83 * resolve.c (resolve_component): Add check for valid CLASS
84 reference before trying to access CLASS data.
85
86 2021-01-04 Martin Liska <mliska@suse.cz>
87
88 * ChangeLog-2018: Remove duplicate ChangeLog entries.
89
90 2021-01-01 Harald Anlauf <anlauf@gmx.de>
91
92 * class.c (gfc_find_vtab): Add check on attribute is_class.
93
94 2021-01-01 Jakub Jelinek <jakub@redhat.com>
95
96 * gfortranspec.c (lang_specific_driver): Update copyright notice
97 dates.
98 * gfc-internals.texi: Bump @copying's copyright year.
99 * gfortran.texi: Ditto.
100 * intrinsic.texi: Ditto.
101 * invoke.texi: Ditto.
102
103 2021-01-01 Jakub Jelinek <jakub@redhat.com>
104
105 * ChangeLog-2020: Rotate ChangeLog. New file.
106
107 \f
108 Copyright (C) 2021 Free Software Foundation, Inc.
109
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.