1 2021-01-21 Jorge D'Elia <jdelia@cimec.unl.edu.ar>
3 * intrinsic.texi (CO_MAX): Fix typo.
5 2021-01-21 Paul Thomas <pault@gcc.gnu.org>
8 * decl.c (gfc_match_modproc): It is not an error to find a
9 module procedure declaration within a contains block.
10 * expr.c (gfc_check_vardef_context): Pure procedure result is
11 assignable. Change 'own_scope' accordingly.
12 * resolve.c (resolve_typebound_procedure): A procedure that
13 has the module procedure attribute is almost certainly a
14 module procedure, whatever its interface.
16 2021-01-19 Tobias Burnus <tobias@codesourcery.com>
19 * openmp.c (resolve_omp_clauses): Change use_device_ptr
20 to use_device_addr for unless type(c_ptr); check all
21 list item for is_device_ptr.
23 2021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com>
25 * dump-parse-tree.c (show_omp_clauses): Handle detach clause.
26 * frontend-passes.c (gfc_code_walker): Walk detach expression.
27 * gfortran.h (struct gfc_omp_clauses): Add detach field.
28 (gfc_c_intptr_kind): New.
29 * openmp.c (gfc_free_omp_clauses): Free detach clause.
30 (gfc_match_omp_detach): New.
31 (enum omp_mask1): Add OMP_CLAUSE_DETACH.
32 (enum omp_mask2): Remove OMP_CLAUSE_DETACH.
33 (gfc_match_omp_clauses): Handle OMP_CLAUSE_DETACH for OpenMP.
34 (OMP_TASK_CLAUSES): Add OMP_CLAUSE_DETACH.
35 (resolve_omp_clauses): Prevent use of detach with mergeable and
36 overriding the data sharing mode of the event handle.
37 * trans-openmp.c (gfc_trans_omp_clauses): Handle detach clause.
38 * trans-types.c (gfc_c_intptr_kind): New.
39 (gfc_init_kinds): Initialize gfc_c_intptr_kind.
41 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT): Rename
43 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR):
44 ...this. Add extra argument.
46 2021-01-14 Harald Anlauf <anlauf@gmx.de>
48 * gfortran.h (gfc_resolve_substring): Add prototype.
49 * primary.c (match_string_constant): Simplify substrings with
50 constant starting and ending points.
51 * resolve.c: Rename resolve_substring to gfc_resolve_substring.
52 (gfc_resolve_ref): Use renamed function gfc_resolve_substring.
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-14 Harald Anlauf <anlauf@gmx.de>
63 2021-01-14 Harald Anlauf <anlauf@gmx.de>
66 * resolve.c (resolve_component): Derived type components with
67 ALLOCATABLE or POINTER attribute shall have a deferred shape.
69 2021-01-14 Harald Anlauf <anlauf@gmx.de>
72 * resolve.c (resolve_component): Derived type components with
73 ALLOCATABLE or POINTER attribute shall have a deferred shape.
75 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
78 * trans-expr.c (gfc_conv_component_ref): Remove the condition
79 that deferred character length components only be allocatable.
81 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
84 * simplify.c (is_constant_array_expr): If an array constructor
85 expression has elements other than constants or structures, try
86 fixing the expression with gfc_reduce_init_expr. Also, if shape
87 is NULL, obtain the array size and set it.
89 2021-01-07 Paul Thomas <pault@gcc.gnu.org>
92 * resolve.c (find_array_spec): Put static prototype for
93 resolve_assoc_var before this function and call for associate
96 2021-01-06 Harald Anlauf <anlauf@gmx.de>
98 * resolve.c (resolve_component): Add check for valid CLASS
99 reference before trying to access CLASS data.
101 2021-01-04 Martin Liska <mliska@suse.cz>
103 * ChangeLog-2018: Remove duplicate ChangeLog entries.
105 2021-01-01 Harald Anlauf <anlauf@gmx.de>
107 * class.c (gfc_find_vtab): Add check on attribute is_class.
109 2021-01-01 Jakub Jelinek <jakub@redhat.com>
111 * gfortranspec.c (lang_specific_driver): Update copyright notice
113 * gfc-internals.texi: Bump @copying's copyright year.
114 * gfortran.texi: Ditto.
115 * intrinsic.texi: Ditto.
116 * invoke.texi: Ditto.
118 2021-01-01 Jakub Jelinek <jakub@redhat.com>
120 * ChangeLog-2020: Rotate ChangeLog. New file.
123 Copyright (C) 2021 Free Software Foundation, Inc.
125 Copying and distribution of this file, with or without modification,
126 are permitted in any medium without royalty provided the copyright
127 notice and this notice are preserved.