]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/ChangeLog
Daily bump.
[thirdparty/gcc.git] / gcc / fortran / ChangeLog
CommitLineData
cfe82a0c
GA
12021-05-06 Paul Thomas <pault@gcc.gnu.org>
2
3 PR fortran/46691
4 PR fortran/99819
5 * class.c (gfc_build_class_symbol): Remove the error that
6 disables assumed size class arrays. Class array types that are
7 not deferred shape or assumed rank are given a unique name and
8 placed in the procedure namespace.
9 * trans-array.c (gfc_trans_g77_array): Obtain the data pointer
10 for class arrays.
11 (gfc_trans_dummy_array_bias): Suppress the runtime error for
12 extent violations in explicit shape class arrays because it
13 always fails.
14 * trans-expr.c (gfc_conv_procedure_call): Handle assumed size
15 class actual arguments passed to non-descriptor formal args by
16 using the data pointer, stored as the symbol's backend decl.
17
44948011
GA
182021-05-05 Harald Anlauf <anlauf@gmx.de>
19
20 PR fortran/100274
21 * interface.c (gfc_compare_actual_formal): Continue checks after
22 emitting warning for argument length mismatch.
23 * trans-expr.c (gfc_conv_procedure_call): Check for NULL pointer
24 dereference.
25
99e8df7a
GA
262021-05-04 Tobias Burnus <tobias@codesourcery.com>
27
28 PR testsuite/100397
29 * trans-openmp.c (gfc_trans_omp_depobj): Fix pasto in enum values.
30
e4ff4ffb
GA
312021-04-28 Tobias Burnus <tobias@codesourcery.com>
32
33 * openmp.c (gfc_match_omp_variable_list): Gobble whitespace before
34 checking whether a '%' or parenthesis-open follows as next character.
35
362021-04-28 José Rui Faustino de Sousa <jrfsousa@gmail.com>
37
38 PR fortran/82376
39 * trans-expr.c (gfc_conv_procedure_call): Evaluate function result
40 and then pass a pointer.
41
c0fa3f2f
GA
422021-04-26 Thomas Schwinge <thomas@codesourcery.com>
43 Nathan Sidwell <nathan@codesourcery.com>
44 Tom de Vries <vries@codesourcery.com>
45 Julian Brown <julian@codesourcery.com>
46 Kwok Cheung Yeung <kcy@codesourcery.com>
47
48 * lang.opt (Wopenacc-parallelism): New.
49
502ef97c
GA
502021-04-24 Harald Anlauf <anlauf@gmx.de>
51
52 PR fortran/100154
53 * check.c (variable_check): Allow function reference having a data
54 pointer result.
55 (arg_strlen_is_zero): New function.
56 (gfc_check_fgetputc_sub): Add static check of character and status
57 arguments.
58 (gfc_check_fgetput_sub): Likewise.
59 * intrinsic.c (add_subroutines): Fix argument name for the
60 character argument to intrinsic subroutines fget[c], fput[c].
61
622021-04-24 Harald Anlauf <anlauf@gmx.de>
63
64 PR fortran/100218
65 * expr.c (gfc_check_vardef_context): Extend check to allow pointer
66 from a function reference.
67
e3948473
GA
682021-04-22 Martin Liska <mliska@suse.cz>
69
70 PR testsuite/100159
71 PR testsuite/100192
72 * frontend-passes.c (optimize_expr): Fix typos and missing comments.
73
742021-04-22 Michael Meissner <meissner@linux.ibm.com>
75
76 PR fortran/96983
77 * trans-intrinsic.c (build_round_expr): If int type is larger than
78 long long, do the round and convert to the integer type. Do not
79 try to find a floating point type the exact size of the integer
80 type.
81
c1ef0c92
GA
822021-04-21 Tobias Burnus <tobias@codesourcery.com>
83
84 * dump-parse-tree.c (show_omp_namelist): Handle depobj + mutexinoutset
85 in the depend clause.
86 (show_omp_clauses, show_omp_node, show_code_node): Handle depobj.
87 * gfortran.h (enum gfc_statement): Add ST_OMP_DEPOBJ.
88 (enum gfc_omp_depend_op): Add OMP_DEPEND_UNSET,
89 OMP_DEPEND_MUTEXINOUTSET and OMP_DEPEND_DEPOBJ.
90 (gfc_omp_clauses): Add destroy, depobj_update and depobj.
91 (enum gfc_exec_op): Add EXEC_OMP_DEPOBJ
92 * match.h (gfc_match_omp_depobj): Match 'omp depobj'.
93 * openmp.c (gfc_match_omp_clauses): Add depobj + mutexinoutset
94 to depend clause.
95 (gfc_match_omp_depobj, resolve_omp_clauses, gfc_resolve_omp_directive):
96 Handle 'omp depobj'.
97 * parse.c (decode_omp_directive, next_statement, gfc_ascii_statement):
98 Likewise.
99 * resolve.c (gfc_resolve_code): Likewise.
100 * st.c (gfc_free_statement): Likewise.
101 * trans-openmp.c (gfc_trans_omp_clauses): Handle depobj + mutexinoutset
102 in the depend clause.
103 (gfc_trans_omp_depobj, gfc_trans_omp_directive): Handle EXEC_OMP_DEPOBJ.
104 * trans.c (trans_code): Likewise.
105
be8aad8d
GA
1062021-04-20 Paul Thomas <pault@gcc.gnu.org>
107
108 PR fortran/100110
109 * trans-decl.c (gfc_get_symbol_decl): Replace test for host
110 association with a check that the current and symbol namespaces
111 are the same.
112
6e81e015
GA
1132021-04-19 Thomas Schwinge <thomas@codesourcery.com>
114
115 * lang.opt (fopenacc-kernels=): Remove.
116
8ae884c0
GA
1172021-04-16 José Rui Faustino de Sousa <jrfsousa@gmail.com>
118
119 PR fortran/100094
120 * trans-array.c (gfc_trans_deferred_array): Add code to initialize
121 pointers and allocatables with correct TKR parameters.
122
1232021-04-16 José Rui Faustino de Sousa <jrfsousa@gmail.com>
124
125 PR fortran/100018
126 * resolve.c: Add association check before de-referencing pointer.
127
1282021-04-16 Harald Anlauf <anlauf@gmx.de>
129 Paul Thomas <pault@gcc.gnu.org>
130
131 PR fortran/63797
132 * module.c (write_symtree): Do not write interface of intrinsic
133 procedure to module file for F2003 and newer.
134
ee351f7f
GA
1352021-04-15 Paul Thomas <pault@gcc.gnu.org>
136
137 PR fortran/99307
138 * symbol.c: Remove trailing white space.
139 * trans-array.c (gfc_trans_create_temp_array): Create a class
140 temporary for class expressions and assign the new descriptor
141 to the data field.
142 (build_class_array_ref): If the class expr can be extracted,
143 then use that for 'decl'. Class function results are reliably
144 handled this way. Call gfc_find_and_cut_at_last_class_ref to
145 eliminate largely redundant code. Remove dead code and recast
146 the rest of the code to extract 'decl' for remaining cases.
147 Call gfc_build_spanned_array_ref.
148 (gfc_alloc_allocatable_for_assignment): Use class descriptor
149 element length for 'elemsize1'. Eliminate repeat set of dtype
150 for class expressions.
151 * trans-expr.c (gfc_find_and_cut_at_last_class_ref): Include
152 additional code from build_class_array_ref, and use optional
153 gfc_typespec pointer argument.
154 (gfc_trans_scalar_assign): Make use of pre and post blocks for
155 all class expressions.
156 * trans.c (get_array_span): For unlimited polymorphic exprs
157 multiply the span by the value of the _len field.
158 (gfc_build_spanned_array_ref): New function.
159 (gfc_build_array_ref): Call gfc_build_spanned_array_ref and
160 eliminate repeated code.
161 * trans.h: Add arg to gfc_find_and_cut_at_last_class_ref and
162 add prototype for gfc_build_spanned_array_ref.
163
df3b1289
GA
1642021-04-14 Martin Liska <mliska@suse.cz>
165
166 * intrinsic.texi: The table has first column empty and it makes
167 trouble when processing makeinfo --xml output.
168
3115aba8
GA
1692021-04-09 Tobias Burnus <tobias@codesourcery.com>
170
171 PR fortran/99817
172 * trans-types.c (gfc_get_function_type): Also generate hidden
173 coarray argument for character arguments.
174
c0756c4e
GA
1752021-04-03 Paul Thomas <pault@gcc.gnu.org>
176
177 PR fortran/99818
178 * interface.c (compare_parameter): The codimension attribute is
179 applied to the _data field of class formal arguments.
180
f1607029
GA
1812021-04-01 Harald Anlauf <anlauf@gmx.de>
182
183 PR fortran/99840
184 * simplify.c (gfc_simplify_transpose): Properly initialize
185 resulting shape.
186
c4110112
GA
1872021-03-28 Paul Thomas <pault@gcc.gnu.org>
188
189 PR fortran/99602
190 * trans-expr.c (gfc_conv_procedure_call): Use the _data attrs
191 for class expressions and detect proc pointer evaluations by
192 the non-null actual argument list.
193
d21001c7
GA
1942021-03-27 Steve Kargl <kargl@gcc.gnu.org>
195
196 * misc.c (gfc_typename): Fix off-by-one in buffer sizes.
197
651684b4
GA
1982021-03-26 Tobias Burnus <tobias@codesourcery.com>
199
200 PR fortran/99651
201 * intrinsic.c (gfc_intrinsic_func_interface): Set
202 attr.proc = PROC_INTRINSIC if FL_PROCEDURE.
203
8bf52ffa
GA
2042021-03-24 Tobias Burnus <tobias@codesourcery.com>
205
206 PR fortran/99369
207 * resolve.c (resolve_operator): Make 'msg' buffer larger
208 and use snprintf.
209
bf1f3168
GA
2102021-03-23 Tobias Burnus <tobias@codesourcery.com>
211
212 PR fortran/93660
213 * trans-decl.c (build_function_decl): Add comment;
214 increment hidden_typelist for caf_token/caf_offset.
215 * trans-types.c (gfc_get_function_type): Add comment;
216 add missing caf_token/caf_offset args.
217
8b744f46
GA
2182021-03-22 Tobias Burnus <tobias@codesourcery.com>
219
220 PR fortran/99688
221 * match.c (select_type_set_tmp, gfc_match_select_type,
222 gfc_match_select_rank): Fix 'name' buffersize to avoid out of bounds.
223 * resolve.c (resolve_select_type): Likewise.
224
5f256a70
GA
2252021-03-19 Thomas Koenig <tkoenig@gcc.gnu.org>
226
227 * frontend-passes.c (inline_limit_check): Add rank_a
228 argument. If a is rank 1, set the second dimension to 1.
229 (inline_matmul_assign): Pass rank_a argument to inline_limit_check.
230 (call_external_blas): Likewise.
231
3c5b6d24
GA
2322021-03-15 Thomas Koenig <tkoenig@gcc.gnu.org>
233
234 PR fortran/99345
235 * frontend-passes.c (doloop_contained_procedure_code):
236 Properly handle EXEC_IOLENGTH.
237
2382021-03-15 Paul Thomas <pault@gcc.gnu.org>
239
240 PR fortran/99545
241 * trans-stmt.c (gfc_trans_allocate): Mark the initialization
242 assignment by setting init_flag.
243
9844eeff
GA
2442021-03-14 Harald Anlauf <anlauf@gmx.de>
245 Paul Thomas <pault@gcc.gnu.org>
246
247 * trans-expr.c (gfc_conv_procedure_call): Fix runtime checks for
248 CLASS arguments.
249 * trans-intrinsic.c (gfc_conv_intrinsic_size): Likewise.
250
5e93c2f0
GA
2512021-03-13 Paul Thomas <pault@gcc.gnu.org>
252
253 PR fortran/99125
254 * trans-array.c (gfc_conv_expr_descriptor): For deferred length
255 length components use the ss_info string length instead of
256 gfc_get_expr_charlen. Make sure that the deferred string length
257 is a variable before assigning to it. Otherwise use the expr.
258 * trans-expr.c (gfc_conv_string_length): Make sure that the
259 deferred string length is a variable before assigning to it.
260
6da2762a
GA
2612021-03-12 Tobias Burnus <tobias@codesourcery.com>
262
263 PR fortran/99514
264 * resolve.c (resolve_symbol): Accept vars which are in DATA
265 and hence (either) implicit SAVE (or in common).
266
e9800852
GA
2672021-03-10 Harald Anlauf <anlauf@gmx.de>
268
269 PR fortran/99205
270 * data.c (gfc_assign_data_value): Reject non-constant character
271 length for lvalue.
272 * trans-array.c (gfc_conv_array_initializer): Restrict loop to
273 elements which are defined to avoid NULL pointer dereference.
274
2752021-03-10 Tobias Burnus <tobias@codesourcery.com>
276
277 * intrinsic.texi (MIN): Correct 'maximum' to 'minimum'.
278
2792021-03-10 Eric Botcazou <ebotcazou@adacore.com>
280
281 PR fortran/96983
282 * trans-intrinsic.c (build_round_expr): Do not implicitly assume
283 that __float128 is the 128-bit floating-point type.
284
6405b40f
GA
2852021-03-08 Harald Anlauf <anlauf@gmx.de>
286
287 PR fortran/49278
288 * data.c (gfc_assign_data_value): Reject variable with PARAMETER
289 attribute in DATA statement.
290
ceae9533
GA
2912021-03-05 Tobias Burnus <tobias@codesourcery.com>
292
293 PR fortran/99355
294 PR fortran/57871
295 * invoke.texi (-freal{4,8}-real-*): Extend description.
296 * primary.c (match_real_constant): Also promote real literals
297 with '_kind' number.
298
67f10d28
GA
2992021-03-04 Tobias Burnus <tobias@codesourcery.com>
300
301 PR fortran/99355
302 * decl.c (gfc_match_old_kind_spec, gfc_match_kind_spec): Avoid
303 redoing kind conversions.
304 * primary.c (match_real_constant): Likewise.
305
2c83c3fb
GA
3062021-02-28 Jakub Jelinek <jakub@redhat.com>
307
308 PR fortran/99303
309 * openmp.c (gfc_omp_requires_add_clause): Fix up diagnostic message
310 wordings.
311 (resolve_omp_clauses): Likewise.
312
3132021-02-28 Jakub Jelinek <jakub@redhat.com>
314
315 PR fortran/99300
316 * frontend-passes.c (doloop_code): Replace double space in diagnostics
317 with a single space.
318
4028d01a
GA
3192021-02-24 Paul Thomas <pault@gcc.gnu.org>
320
321 PR fortran/98342
322 * trans-expr.c (gfc_conv_derived_to_class): Add optional arg.
323 'derived_array' to hold the fixed, parmse expr in the case of
324 assumed rank formal arguments. Deal with optional arguments.
325 (gfc_conv_procedure_call): Null 'derived' array for each actual
326 argument. Add its address to the call to gfc_conv_derived_to_
327 class. Access the 'data' field of scalar descriptors before
328 deallocating allocatable components. Also strip NOPs before the
329 calls to gfc_deallocate_alloc_comp. Use 'derived' array as the
330 input to gfc_deallocate_alloc_comp if it is available.
331 * trans.h : Include the optional argument 'derived_array' to
332 the prototype of gfc_conv_derived_to_class. The default value
333 is NULL_TREE.
334
71e24b06
GA
3352021-02-23 Paul Thomas <pault@gcc.gnu.org>
336
337 PR fortran/99124
338 * resolve.c (resolve_fl_procedure): Include class results in
339 the test for F2018, C15100.
340 * trans-array.c (get_class_info_from_ss): Do not use the saved
341 descriptor to obtain the class expression for variables. Use
342 gfc_get_class_from_expr instead.
343
3442021-02-23 Harald Anlauf <anlauf@gmx.de>
345
346 PR fortran/99206
347 * simplify.c (gfc_simplify_reshape): Set string length for
348 character arguments.
349
2f5765cf
GA
3502021-02-22 Tobias Burnus <tobias@codesourcery.com>
351
352 PR fortran/99171
353 * trans-openmp.c (gfc_omp_is_optional_argument): Regard optional
354 dummy procs as nonoptional as no special treatment is needed.
355
60b99ee3
GA
3562021-02-21 Harald Anlauf <anlauf@gmx.de>
357
358 * trans-expr.c (gfc_conv_procedure_call): Do not add clobber to
359 allocatable intent(out) argument.
360
50352c6c
GA
3612021-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
362
363 PR fortran/98686
364 * match.c (gfc_match_namelist): If BT_UNKNOWN, check for
365 IMPLICIT NONE and and issue an error, otherwise set the type
366 to its IMPLICIT type so that any subsequent use of objects will
367 will confirm their types.
368
3692021-02-19 Harald Anlauf <anlauf@gmx.de>
370
371 * symbol.c (gfc_add_flavor): Reverse order of conditions.
372
3732021-02-19 Tobias Burnus <tobias@codesourcery.com>
374
375 PR fortran/99010
376 * dependency.c (gfc_dep_resolver): Fix coarray handling.
377
3782021-02-19 Tobias Burnus <tobias@codesourcery.com>
379
380 PR fortran/99146
381 * interface.c:
382
3832021-02-19 Tobias Burnus <tobias@codesourcery.com>
384
385 PR fortran/99027
386 * simplify.c (simplify_bound_dim): Honor DIMEN_ELEMENT
387 when using dim=.
388
acc0ee5c
GA
3892021-02-17 Julian Brown <julian@codesourcery.com>
390
391 * openmp.c (resolve_omp_clauses): Disallow selecting components
392 of arrays of derived type.
393
3942021-02-17 Julian Brown <julian@codesourcery.com>
395
396 * trans-openmp.c (gfc_trans_omp_clauses): Handle element selection
397 for arrays of derived types.
398
0e804ce3
GA
3992021-02-16 Tobias Burnus <tobias@codesourcery.com>
400
401 * expr.c (gfc_is_simplify_contiguous): Handle REF_INQUIRY, i.e.
402 %im and %re which are EXPR_VARIABLE.
403 * openmp.c (resolve_omp_clauses): Diagnose %re/%im explicitly.
404
4052021-02-16 Tobias Burnus <tobias@codesourcery.com>
406
407 PR fortran/99111
408 * io.c (resolve_tag_format): Reject BT_DERIVED/CLASS/VOID
409 as (array-valued) FORMAT tag.
410
fab095da
GA
4112021-02-12 Tobias Burnus <tobias@codesourcery.com>
412
413 PR fortran/99043
414 * trans-expr.c (gfc_conv_procedure_call): Don't reset
415 rank of assumed-rank array.
416
0c5cdb31
GA
4172021-02-11 Paul Thomas <pault@gcc.gnu.org>
418
419 PR fortran/98897
420 * match.c (gfc_match_call): Include associate names as possible
421 entities with typebound subroutines. The target needs to be
422 resolved for the type.
423
4242021-02-11 Paul Thomas <pault@gcc.gnu.org>
425
426 PR fortran/99060
427 * primary.c (gfc_match_varspec): Test for non-null 'previous'
428 before using its name in the error message.
429
4302021-02-11 Tobias Burnus <tobias@codesourcery.com>
431
432 * intrinsic.texi (FINDLOC): Add 'MASK' to argument table.
433 (MAXLOC, MAXVAL, MINLOC, MINVAL): For 'MASK', remove 'an
434 array' as scalars are also permitted.
435
4b37c3ea
GA
4362021-02-10 Julian Brown <julian@codesourcery.com>
437
438 PR fortran/98979
439 * openmp.c (resolve_omp_clauses): Omit OpenACC update in
440 contiguity check and stride-specified error.
441
a19dd5e6
GA
4422021-02-04 Julian Brown <julian@codesourcery.com>
443
444 * openmp.c (resolve_omp_clauses): Omit OpenACC update in
445 contiguity check and stride-specified error.
446
4472021-02-04 Julian Brown <julian@codesourcery.com>
448
449 * trans-openmp.c (gfc_trans_omp_clauses): Use class_pointer attribute
450 for BT_CLASS.
451
4522021-02-04 Julian Brown <julian@codesourcery.com>
453
454 * trans-openmp.c (gfc_trans_omp_clauses): Fix dereferencing for
455 BT_DERIVED members.
456
4572021-02-04 Tobias Burnus <tobias@codesourcery.com>
458
459 * openmp.c (resolve_omp_clauses): Explicitly diagnose
460 substrings as not permitted.
461
9faaa807
GA
4622021-02-03 Jeff Law <law@redhat.com>
463
464 * intrinsic.texi (ANINT): Fix typo.
465
4662021-02-03 Tobias Burnus <tobias@codesourcery.com>
467
468 PR fortran/98913
469 * dependency.c (gfc_dep_resolver): Treat local access
470 to coarrays like any array access in dependency analysis.
471
85d04a2e
GA
4722021-01-28 Harald Anlauf <anlauf@gmx.de>
473
474 PR fortran/86470
475 * trans.c (gfc_call_malloc): Allocate area of size 1 if passed
476 size is NULL (as documented).
477
aa69f0a8
GA
4782021-01-27 Paul Thomas <pault@gcc.gnu.org>
479
480 PR fortran/93924
481 PR fortran/93925
482 * trans-expr.c (gfc_conv_procedure_call): Suppress the call to
483 gfc_conv_intrinsic_to_class for unlimited polymorphic procedure
484 pointers.
485 (gfc_trans_assignment_1): Similarly suppress class assignment
486 for class valued procedure pointers.
487
4882021-01-27 Paul Thomas <pault@gcc.gnu.org>
489
490 PR fortran/98472
491 * trans-array.c (gfc_conv_expr_descriptor): Include elemental
492 procedure pointers in the assert under the comment 'elemental
493 function' and eliminate the second, spurious assert.
494
161e4c08
GA
4952021-01-25 Harald Anlauf <anlauf@gmx.de>
496
497 PR fortran/70070
498 * data.c (create_character_initializer): Check substring indices
499 against bounds.
500 (gfc_assign_data_value): Catch error returned from
501 create_character_initializer.
502
5032021-01-25 Tobias Burnus <tobias@codesourcery.com>
504
505 * intrinsic.texi (CO_BROADCAST, CO_MIN, CO_REDUCE, CO_SUM): Fix typos.
506
5072021-01-25 Steve Kargl <kargl@gcc.gnu.org>
508
509 PR fortran/98517
510 * resolve.c (resolve_charlen): Check that length expression is
511 present before testing for scalar/integer..
512
8502e23d
GA
5132021-01-22 Paul Thomas <pault@gcc.gnu.org>
514
515 PR fortran/98565
516 * trans-intrinsic.c (gfc_conv_associated): Do not add a _data
517 component for scalar class function targets. Instead, fix the
518 function result and access the _data from that.
519
7559d465
GA
5202021-01-21 Jorge D'Elia <jdelia@cimec.unl.edu.ar>
521
522 * intrinsic.texi (CO_MAX): Fix typo.
523
5242021-01-21 Paul Thomas <pault@gcc.gnu.org>
525
526 PR fortran/96320
527 * decl.c (gfc_match_modproc): It is not an error to find a
528 module procedure declaration within a contains block.
529 * expr.c (gfc_check_vardef_context): Pure procedure result is
530 assignable. Change 'own_scope' accordingly.
531 * resolve.c (resolve_typebound_procedure): A procedure that
532 has the module procedure attribute is almost certainly a
533 module procedure, whatever its interface.
534
f35a4f96
GA
5352021-01-19 Tobias Burnus <tobias@codesourcery.com>
536
537 PR fortran/98476
538 * openmp.c (resolve_omp_clauses): Change use_device_ptr
539 to use_device_addr for unless type(c_ptr); check all
540 list item for is_device_ptr.
541
59cf67d1
GA
5422021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com>
543
544 * dump-parse-tree.c (show_omp_clauses): Handle detach clause.
545 * frontend-passes.c (gfc_code_walker): Walk detach expression.
546 * gfortran.h (struct gfc_omp_clauses): Add detach field.
547 (gfc_c_intptr_kind): New.
548 * openmp.c (gfc_free_omp_clauses): Free detach clause.
549 (gfc_match_omp_detach): New.
550 (enum omp_mask1): Add OMP_CLAUSE_DETACH.
551 (enum omp_mask2): Remove OMP_CLAUSE_DETACH.
552 (gfc_match_omp_clauses): Handle OMP_CLAUSE_DETACH for OpenMP.
553 (OMP_TASK_CLAUSES): Add OMP_CLAUSE_DETACH.
554 (resolve_omp_clauses): Prevent use of detach with mergeable and
555 overriding the data sharing mode of the event handle.
556 * trans-openmp.c (gfc_trans_omp_clauses): Handle detach clause.
557 * trans-types.c (gfc_c_intptr_kind): New.
558 (gfc_init_kinds): Initialize gfc_c_intptr_kind.
559 * types.def
560 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT): Rename
561 to...
562 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR):
563 ...this. Add extra argument.
564
5fff80fd
GA
5652021-01-14 Harald Anlauf <anlauf@gmx.de>
566
567 * gfortran.h (gfc_resolve_substring): Add prototype.
568 * primary.c (match_string_constant): Simplify substrings with
569 constant starting and ending points.
570 * resolve.c: Rename resolve_substring to gfc_resolve_substring.
571 (gfc_resolve_ref): Use renamed function gfc_resolve_substring.
572
5732021-01-14 Harald Anlauf <anlauf@gmx.de>
574
575 PR fortran/98661
576 * resolve.c (resolve_component): Derived type components with
577 ALLOCATABLE or POINTER attribute shall have a deferred shape.
578
5792021-01-14 Harald Anlauf <anlauf@gmx.de>
580
581 Revert:
582 2021-01-14 Harald Anlauf <anlauf@gmx.de>
583
584 PR fortran/98661
585 * resolve.c (resolve_component): Derived type components with
586 ALLOCATABLE or POINTER attribute shall have a deferred shape.
587
5882021-01-14 Harald Anlauf <anlauf@gmx.de>
589
590 PR fortran/98661
591 * resolve.c (resolve_component): Derived type components with
592 ALLOCATABLE or POINTER attribute shall have a deferred shape.
593
bf5cbb9e
GA
5942021-01-08 Paul Thomas <pault@gcc.gnu.org>
595
596 PR fortran/93794
597 * trans-expr.c (gfc_conv_component_ref): Remove the condition
598 that deferred character length components only be allocatable.
599
6002021-01-08 Paul Thomas <pault@gcc.gnu.org>
601
602 PR fortran/98458
603 * simplify.c (is_constant_array_expr): If an array constructor
604 expression has elements other than constants or structures, try
605 fixing the expression with gfc_reduce_init_expr. Also, if shape
606 is NULL, obtain the array size and set it.
607
7d187e4f
GA
6082021-01-07 Paul Thomas <pault@gcc.gnu.org>
609
610 PR fortran/93701
611 * resolve.c (find_array_spec): Put static prototype for
612 resolve_assoc_var before this function and call for associate
613 variables.
614
942ae5be
GA
6152021-01-06 Harald Anlauf <anlauf@gmx.de>
616
617 * resolve.c (resolve_component): Add check for valid CLASS
618 reference before trying to access CLASS data.
619
7e73f511
GA
6202021-01-04 Martin Liska <mliska@suse.cz>
621
622 * ChangeLog-2018: Remove duplicate ChangeLog entries.
623
b6dd195a
GA
6242021-01-01 Harald Anlauf <anlauf@gmx.de>
625
626 * class.c (gfc_find_vtab): Add check on attribute is_class.
627
6282021-01-01 Jakub Jelinek <jakub@redhat.com>
629
630 * gfortranspec.c (lang_specific_driver): Update copyright notice
631 dates.
632 * gfc-internals.texi: Bump @copying's copyright year.
633 * gfortran.texi: Ditto.
634 * intrinsic.texi: Ditto.
635 * invoke.texi: Ditto.
636
6372021-01-01 Jakub Jelinek <jakub@redhat.com>
638
639 * ChangeLog-2020: Rotate ChangeLog. New file.
640
21fa2a29 641\f
618e665a 642Copyright (C) 2021 Free Software Foundation, Inc.
ad41bd84
JM
643
644Copying and distribution of this file, with or without modification,
645are permitted in any medium without royalty provided the copyright
646notice and this notice are preserved.