]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/ChangeLog
Daily bump.
[thirdparty/gcc.git] / gcc / fortran / ChangeLog
CommitLineData
fab095da
GA
12021-02-12 Tobias Burnus <tobias@codesourcery.com>
2
3 PR fortran/99043
4 * trans-expr.c (gfc_conv_procedure_call): Don't reset
5 rank of assumed-rank array.
6
0c5cdb31
GA
72021-02-11 Paul Thomas <pault@gcc.gnu.org>
8
9 PR fortran/98897
10 * match.c (gfc_match_call): Include associate names as possible
11 entities with typebound subroutines. The target needs to be
12 resolved for the type.
13
142021-02-11 Paul Thomas <pault@gcc.gnu.org>
15
16 PR fortran/99060
17 * primary.c (gfc_match_varspec): Test for non-null 'previous'
18 before using its name in the error message.
19
202021-02-11 Tobias Burnus <tobias@codesourcery.com>
21
22 * intrinsic.texi (FINDLOC): Add 'MASK' to argument table.
23 (MAXLOC, MAXVAL, MINLOC, MINVAL): For 'MASK', remove 'an
24 array' as scalars are also permitted.
25
4b37c3ea
GA
262021-02-10 Julian Brown <julian@codesourcery.com>
27
28 PR fortran/98979
29 * openmp.c (resolve_omp_clauses): Omit OpenACC update in
30 contiguity check and stride-specified error.
31
a19dd5e6
GA
322021-02-04 Julian Brown <julian@codesourcery.com>
33
34 * openmp.c (resolve_omp_clauses): Omit OpenACC update in
35 contiguity check and stride-specified error.
36
372021-02-04 Julian Brown <julian@codesourcery.com>
38
39 * trans-openmp.c (gfc_trans_omp_clauses): Use class_pointer attribute
40 for BT_CLASS.
41
422021-02-04 Julian Brown <julian@codesourcery.com>
43
44 * trans-openmp.c (gfc_trans_omp_clauses): Fix dereferencing for
45 BT_DERIVED members.
46
472021-02-04 Tobias Burnus <tobias@codesourcery.com>
48
49 * openmp.c (resolve_omp_clauses): Explicitly diagnose
50 substrings as not permitted.
51
9faaa807
GA
522021-02-03 Jeff Law <law@redhat.com>
53
54 * intrinsic.texi (ANINT): Fix typo.
55
562021-02-03 Tobias Burnus <tobias@codesourcery.com>
57
58 PR fortran/98913
59 * dependency.c (gfc_dep_resolver): Treat local access
60 to coarrays like any array access in dependency analysis.
61
85d04a2e
GA
622021-01-28 Harald Anlauf <anlauf@gmx.de>
63
64 PR fortran/86470
65 * trans.c (gfc_call_malloc): Allocate area of size 1 if passed
66 size is NULL (as documented).
67
aa69f0a8
GA
682021-01-27 Paul Thomas <pault@gcc.gnu.org>
69
70 PR fortran/93924
71 PR fortran/93925
72 * trans-expr.c (gfc_conv_procedure_call): Suppress the call to
73 gfc_conv_intrinsic_to_class for unlimited polymorphic procedure
74 pointers.
75 (gfc_trans_assignment_1): Similarly suppress class assignment
76 for class valued procedure pointers.
77
782021-01-27 Paul Thomas <pault@gcc.gnu.org>
79
80 PR fortran/98472
81 * trans-array.c (gfc_conv_expr_descriptor): Include elemental
82 procedure pointers in the assert under the comment 'elemental
83 function' and eliminate the second, spurious assert.
84
161e4c08
GA
852021-01-25 Harald Anlauf <anlauf@gmx.de>
86
87 PR fortran/70070
88 * data.c (create_character_initializer): Check substring indices
89 against bounds.
90 (gfc_assign_data_value): Catch error returned from
91 create_character_initializer.
92
932021-01-25 Tobias Burnus <tobias@codesourcery.com>
94
95 * intrinsic.texi (CO_BROADCAST, CO_MIN, CO_REDUCE, CO_SUM): Fix typos.
96
972021-01-25 Steve Kargl <kargl@gcc.gnu.org>
98
99 PR fortran/98517
100 * resolve.c (resolve_charlen): Check that length expression is
101 present before testing for scalar/integer..
102
8502e23d
GA
1032021-01-22 Paul Thomas <pault@gcc.gnu.org>
104
105 PR fortran/98565
106 * trans-intrinsic.c (gfc_conv_associated): Do not add a _data
107 component for scalar class function targets. Instead, fix the
108 function result and access the _data from that.
109
7559d465
GA
1102021-01-21 Jorge D'Elia <jdelia@cimec.unl.edu.ar>
111
112 * intrinsic.texi (CO_MAX): Fix typo.
113
1142021-01-21 Paul Thomas <pault@gcc.gnu.org>
115
116 PR fortran/96320
117 * decl.c (gfc_match_modproc): It is not an error to find a
118 module procedure declaration within a contains block.
119 * expr.c (gfc_check_vardef_context): Pure procedure result is
120 assignable. Change 'own_scope' accordingly.
121 * resolve.c (resolve_typebound_procedure): A procedure that
122 has the module procedure attribute is almost certainly a
123 module procedure, whatever its interface.
124
f35a4f96
GA
1252021-01-19 Tobias Burnus <tobias@codesourcery.com>
126
127 PR fortran/98476
128 * openmp.c (resolve_omp_clauses): Change use_device_ptr
129 to use_device_addr for unless type(c_ptr); check all
130 list item for is_device_ptr.
131
59cf67d1
GA
1322021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com>
133
134 * dump-parse-tree.c (show_omp_clauses): Handle detach clause.
135 * frontend-passes.c (gfc_code_walker): Walk detach expression.
136 * gfortran.h (struct gfc_omp_clauses): Add detach field.
137 (gfc_c_intptr_kind): New.
138 * openmp.c (gfc_free_omp_clauses): Free detach clause.
139 (gfc_match_omp_detach): New.
140 (enum omp_mask1): Add OMP_CLAUSE_DETACH.
141 (enum omp_mask2): Remove OMP_CLAUSE_DETACH.
142 (gfc_match_omp_clauses): Handle OMP_CLAUSE_DETACH for OpenMP.
143 (OMP_TASK_CLAUSES): Add OMP_CLAUSE_DETACH.
144 (resolve_omp_clauses): Prevent use of detach with mergeable and
145 overriding the data sharing mode of the event handle.
146 * trans-openmp.c (gfc_trans_omp_clauses): Handle detach clause.
147 * trans-types.c (gfc_c_intptr_kind): New.
148 (gfc_init_kinds): Initialize gfc_c_intptr_kind.
149 * types.def
150 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT): Rename
151 to...
152 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR):
153 ...this. Add extra argument.
154
5fff80fd
GA
1552021-01-14 Harald Anlauf <anlauf@gmx.de>
156
157 * gfortran.h (gfc_resolve_substring): Add prototype.
158 * primary.c (match_string_constant): Simplify substrings with
159 constant starting and ending points.
160 * resolve.c: Rename resolve_substring to gfc_resolve_substring.
161 (gfc_resolve_ref): Use renamed function gfc_resolve_substring.
162
1632021-01-14 Harald Anlauf <anlauf@gmx.de>
164
165 PR fortran/98661
166 * resolve.c (resolve_component): Derived type components with
167 ALLOCATABLE or POINTER attribute shall have a deferred shape.
168
1692021-01-14 Harald Anlauf <anlauf@gmx.de>
170
171 Revert:
172 2021-01-14 Harald Anlauf <anlauf@gmx.de>
173
174 PR fortran/98661
175 * resolve.c (resolve_component): Derived type components with
176 ALLOCATABLE or POINTER attribute shall have a deferred shape.
177
1782021-01-14 Harald Anlauf <anlauf@gmx.de>
179
180 PR fortran/98661
181 * resolve.c (resolve_component): Derived type components with
182 ALLOCATABLE or POINTER attribute shall have a deferred shape.
183
bf5cbb9e
GA
1842021-01-08 Paul Thomas <pault@gcc.gnu.org>
185
186 PR fortran/93794
187 * trans-expr.c (gfc_conv_component_ref): Remove the condition
188 that deferred character length components only be allocatable.
189
1902021-01-08 Paul Thomas <pault@gcc.gnu.org>
191
192 PR fortran/98458
193 * simplify.c (is_constant_array_expr): If an array constructor
194 expression has elements other than constants or structures, try
195 fixing the expression with gfc_reduce_init_expr. Also, if shape
196 is NULL, obtain the array size and set it.
197
7d187e4f
GA
1982021-01-07 Paul Thomas <pault@gcc.gnu.org>
199
200 PR fortran/93701
201 * resolve.c (find_array_spec): Put static prototype for
202 resolve_assoc_var before this function and call for associate
203 variables.
204
942ae5be
GA
2052021-01-06 Harald Anlauf <anlauf@gmx.de>
206
207 * resolve.c (resolve_component): Add check for valid CLASS
208 reference before trying to access CLASS data.
209
7e73f511
GA
2102021-01-04 Martin Liska <mliska@suse.cz>
211
212 * ChangeLog-2018: Remove duplicate ChangeLog entries.
213
b6dd195a
GA
2142021-01-01 Harald Anlauf <anlauf@gmx.de>
215
216 * class.c (gfc_find_vtab): Add check on attribute is_class.
217
2182021-01-01 Jakub Jelinek <jakub@redhat.com>
219
220 * gfortranspec.c (lang_specific_driver): Update copyright notice
221 dates.
222 * gfc-internals.texi: Bump @copying's copyright year.
223 * gfortran.texi: Ditto.
224 * intrinsic.texi: Ditto.
225 * invoke.texi: Ditto.
226
2272021-01-01 Jakub Jelinek <jakub@redhat.com>
228
229 * ChangeLog-2020: Rotate ChangeLog. New file.
230
21fa2a29 231\f
618e665a 232Copyright (C) 2021 Free Software Foundation, Inc.
ad41bd84
JM
233
234Copying and distribution of this file, with or without modification,
235are permitted in any medium without royalty provided the copyright
236notice and this notice are preserved.