Daily bump.
[gcc.git] / gcc / fortran / ChangeLog
1 2021-01-21 Jorge D'Elia <jdelia@cimec.unl.edu.ar>
2
3 * intrinsic.texi (CO_MAX): Fix typo.
4
5 2021-01-21 Paul Thomas <pault@gcc.gnu.org>
6
7 PR fortran/96320
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.
15
16 2021-01-19 Tobias Burnus <tobias@codesourcery.com>
17
18 PR fortran/98476
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.
22
23 2021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com>
24
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.
40 * types.def
41 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT): Rename
42 to...
43 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR):
44 ...this. Add extra argument.
45
46 2021-01-14 Harald Anlauf <anlauf@gmx.de>
47
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.
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-14 Harald Anlauf <anlauf@gmx.de>
61
62 Revert:
63 2021-01-14 Harald Anlauf <anlauf@gmx.de>
64
65 PR fortran/98661
66 * resolve.c (resolve_component): Derived type components with
67 ALLOCATABLE or POINTER attribute shall have a deferred shape.
68
69 2021-01-14 Harald Anlauf <anlauf@gmx.de>
70
71 PR fortran/98661
72 * resolve.c (resolve_component): Derived type components with
73 ALLOCATABLE or POINTER attribute shall have a deferred shape.
74
75 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
76
77 PR fortran/93794
78 * trans-expr.c (gfc_conv_component_ref): Remove the condition
79 that deferred character length components only be allocatable.
80
81 2021-01-08 Paul Thomas <pault@gcc.gnu.org>
82
83 PR fortran/98458
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.
88
89 2021-01-07 Paul Thomas <pault@gcc.gnu.org>
90
91 PR fortran/93701
92 * resolve.c (find_array_spec): Put static prototype for
93 resolve_assoc_var before this function and call for associate
94 variables.
95
96 2021-01-06 Harald Anlauf <anlauf@gmx.de>
97
98 * resolve.c (resolve_component): Add check for valid CLASS
99 reference before trying to access CLASS data.
100
101 2021-01-04 Martin Liska <mliska@suse.cz>
102
103 * ChangeLog-2018: Remove duplicate ChangeLog entries.
104
105 2021-01-01 Harald Anlauf <anlauf@gmx.de>
106
107 * class.c (gfc_find_vtab): Add check on attribute is_class.
108
109 2021-01-01 Jakub Jelinek <jakub@redhat.com>
110
111 * gfortranspec.c (lang_specific_driver): Update copyright notice
112 dates.
113 * gfc-internals.texi: Bump @copying's copyright year.
114 * gfortran.texi: Ditto.
115 * intrinsic.texi: Ditto.
116 * invoke.texi: Ditto.
117
118 2021-01-01 Jakub Jelinek <jakub@redhat.com>
119
120 * ChangeLog-2020: Rotate ChangeLog. New file.
121
122 \f
123 Copyright (C) 2021 Free Software Foundation, Inc.
124
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.