]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog:
[thirdparty/gcc.git] / gcc / fortran / ChangeLog
CommitLineData
0b953692 12019-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
2
a96be852 3 PR fortran/43136
0b953692 4 * resolve.c (resolve_array_ref): Add equal_length argument; set it
5 if the length of the substring equals that of the orignal
6 variable.
7 (resolve_ref): Remove the substring if it is equal in length to
8 the original variable, unless it is an EXPR_SUBSTRING).
9
ef1b2a98 102019-01-15 Steven G. Kargl <kargl@gcc.gnu.org>
11
12 PR fortran/81849
13 * resolve.c (resolve_symbol): Host associated varaibles can appear
14 in the specification statement of a RESULT array.
15
8f563733 162019-01-15 Paul Thomas <pault@gcc.gnu.org>
17
18 * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Deal with exprs
19 that are indirect references; ie. dummy arguments.
20
0cc7cbe4 212019-01-13 Dominique d'Humieres <dominiq@gcc.gnu.org>
22
23 PR fortran/88803
24 * gfortran.texi: Replace @xref with @ref and adjust the sentence.
25
70409dee 262019-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
27
28 PR fortran/57992
29 * trans-array.c (gfc_conv_array_parameter): Do not pack/unpack
30 functions with contiguous results.
31
ae57d8c7 322019-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
33
34 PR fortran/59345
35 * trans-array.c (gfc_conv_array_parameter): Remove TODO. Do not
36 pack/unpack results of functions which return an explicit-shaped
37 or allocatable array.
38
c8f3fe68 392019-01-12 Steven G. Kargl <kargl@gcc.gnu.org>
40
41 PR fortran/61765
42 * resolve.c (gfc_verify_binding_labels): Break if-elseif-elseif
43 structure into independent if's with a return to simplify logic.
44 Avoid a check for ENTRY name with bind(c).
45
77ddff12 462019-01-12 Paul Thomas <pault@gcc.gnu.org>
47
48 * gfortran.texi : Add description in sections on TS 29113 and
49 further interoperability with C.
50 * trans-array.c (gfc_conv_descriptor_attribute): New function.
51 (gfc_get_dataptr_offset): Remove static function attribute.
52 * trans-array.h : Add prototypes for above functions.
53 * trans-decl.c : Add declarations for the library functions
54 cfi_desc_to_gfc_desc and gfc_desc_to_cfi_desc.
55 * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): New function.
56 (gfc_conv_procedure_call): Call it for scalar and array actual
57 arguments, when the formal arguments are bind_c with assumed
58 shape or assumed rank.
59 * trans.h : External declarations for gfor_fndecl_cfi_to_gfc
60 and gfor_fndecl_gfc_to_cfi.
61
0e8475b7 622019-01-11 Steven G. Kargl <kargl@gcc.gnu.org>
63
64 PR fortran/35031
65 * decl.c (gfc_match_entry): Check for F2018:C1546. Fix nearby
66 mis-indentation.
67
45b37eaa 682019-01-11 Jakub Jelinek <jakub@redhat.com>
69
70 PR middle-end/85956
71 PR lto/88733
72 * trans-openmp.c: Include attribs.h.
73 (gfc_walk_alloc_comps, gfc_omp_clause_linear_ctor): Handle
74 VAR_DECL max bound with "omp dummy var" attribute like NULL or
75 error_mark_node - recompute number of elts independently.
76
04afaf6a 772019-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
78
79 PR fortran/59345
45b37eaa 80 * trans-array.c (gfc_conv_parameter_array): Temporary
04afaf6a 81 arrays generated for expressions do not need to be repacked.
82
15cbe83d 832019-01-10 Steven G. Kargl <kargl@gcc.gnu.org>
84
85 PR fortran/86322
86 * decl.c (top_var_list): Set locus of expr.
87 (gfc_match_data): Detect pointer on non-rightmost part-refs.
88
e66b219e 892019-01-09 Steven G. Kargl <kargl@gcc.gnu.org>
90
91 PR fortran/88376
92 * resolve.c (is_illegal_recursion): Remove an assert().
93
07c11f2b 942019-01-09 Sandra Loosemore <sandra@codesourcery.com>
95
96 PR other/16615
07c11f2b 97 * expr.c: Change "can not" to "cannot".
98
f4d3c071 992019-01-09 Sandra Loosemore <sandra@codesourcery.com>
100
101 PR other/16615
f4d3c071 102 * class.c: Mechanically replace "can not" with "cannot".
103 * decl.c: Likewise.
104 * expr.c: Likewise.
105 * gfc-internals.texi: Likewise.
106 * intrinsic.texi: Likewise.
107 * invoke.texi: Likewise.
108 * io.c: Likewise.
109 * match.c: Likewise.
110 * parse.c: Likewise.
111 * primary.c: Likewise.
112 * resolve.c: Likewise.
113 * symbol.c: Likewise.
114 * trans-array.c: Likewise.
115 * trans-decl.c: Likewise.
116 * trans-intrinsic.c: Likewise.
117 * trans-stmt.c: Likewise.
118
9f096803 1192019-01-09 Thomas Koenig <tkoenig@gcc.gnu.org>
120
121 PR fortran/68426
122 * simplify.c (gfc_simplify_spread): Also simplify if the
123 type of source is an EXPR_STRUCTURE.
124
d56370db 1252019-01-08 Janus Weil <janus@gcc.gnu.org>
126
127 PR fortran/88047
128 * class.c (gfc_find_vtab): For polymorphic typespecs, the components of
129 the class container may not be available (in case of invalid code).
130
ac64cdbe 1312019-01-08 Richard Biener <rguenther@suse.de>
132
133 PR fortran/88611
134 * trans-expr.c (gfc_conv_initializer): For ISOCBINDING_NULL_*
135 directly build the expected GENERIC tree.
136
5f34f219 1372019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
138 Harald Anlauf <anlauf@gmx.de>
139 Tobias Burnus <burnus@gcc.gnu.org>
140
141 PR fortran/45424
142 * check.c (gfc_check_is_contiguous): New function.
143 * expr.c (gfc_is_not_contiguous): New function.
144 * gfortran.h (gfc_isym_id): Add GFC_ISYM_IS_CONTIGUOUS.
145 Add prototype for gfc_is_not_contiguous.
146 * intrinsic.c (do_ts29113_check): Add GFC_ISYM_IS_CONTIGUOUS.
147 (add_function): Add is_contiguous.
148 * intrinsic.h: Add prototypes for gfc_check_is_contiguous,
149 gfc_simplify_is_contiguous and gfc_resolve_is_contiguous.
150 * intrinsic.texi: Add IS_CONTIGUOUS.
151 * iresolve.c (gfc_resolve_is_contiguous): New function.
152 * simplify.c (gfc_simplify_is_contiguous): New function.
153 * trans-decl.c (gfor_fncecl_is_contiguous0): New variable.
154 (gfc_build_intrinsic_function_decl): Add it.
155 * trans-intrinsic.c (gfc_conv_intrinsic_is_contiguous): New
156 function.
157 (gfc_conv_intrinsic_function): Handle GFC_ISYM_IS_CONTIGUOUS.
158
2abeea3d 1592019-01-06 Thomas Koenig <tkoenig@gcc.gnu.org>
160
161 PR fortran/88658
162 * gfortran.h: Add macro gfc_real_4_kind
163 * simplify.c (simplify_min_max): Special case for the types of
164 AMAX0, AMIN0, MAX1 and MIN1, which actually change the types of
165 their arguments.
166
f2aba4ef 1672019-01-05 Janus Weil <janus@gcc.gnu.org>
168
169 PR fortran/88009
170 * class.c (gfc_find_derived_vtab): Mark the _final component as
171 artificial.
172 (find_intrinsic_vtab): Ditto. Also add an extra check to avoid
173 dereferencing a null pointer and adjust indentation.
174 * resolve.c (resolve_fl_variable): Add extra check to avoid
175 dereferencing a null pointer. Move variable declarations to local scope.
176 (resolve_fl_procedure): Add extra check to avoid dereferencing a null
177 pointer.
178 * symbol.c (check_conflict): Suppress errors for artificial symbols.
179
5055fc33 1802019-01-01 Steven G. Kargl <kargl@gcc.gnu.org>
181
45b37eaa 182 * parse.c (decode_statement): Suppress "Unclassifiable statement"
5055fc33 183 error if previous error messages were emittes.
184
66aeaf4b 1852019-01-01 Thomas Koenig <tkoenig@gcc.gnu.org>
186
187 PR fortran/82743
188 * primary.c (gfc_convert_to_structure_constructor): If a character
189 in a constructor is too long, add a warning with
190 -Wcharacter-truncation.
191
3d8932fd 1922019-01-01 Jakub Jelinek <jakub@redhat.com>
8e8f6434 193
fbd26352 194 Update copyright years.
195
277184bc 196 * gfortranspec.c (lang_specific_driver): Update copyright notice
197 dates.
198 * gfc-internals.texi: Bump @copying's copyright year.
199 * gfortran.texi: Ditto.
200 * intrinsic.texi: Ditto.
201 * invoke.texi: Ditto.
2355cca7 202\f
3d8932fd 203Copyright (C) 2019 Free Software Foundation, Inc.
7dfbd804 204
205Copying and distribution of this file, with or without modification,
206are permitted in any medium without royalty provided the copyright
207notice and this notice are preserved.