]>
Commit | Line | Data |
---|---|---|
fc829782 GA |
1 | 2022-01-17 Martin Liska <mliska@suse.cz> |
2 | ||
3 | * check.cc (gfc_check_all_any): Rename .c names to .cc. | |
4 | * class.cc (find_intrinsic_vtab): Likewise. | |
5 | * config-lang.in: Likewise. | |
6 | * cpp.cc (cpp_define_builtins): Likewise. | |
7 | * data.cc (get_array_index): Likewise. | |
8 | * decl.cc (match_clist_expr): Likewise. | |
9 | (get_proc_name): Likewise. | |
10 | (gfc_verify_c_interop_param): Likewise. | |
11 | (gfc_get_pdt_instance): Likewise. | |
12 | (gfc_match_formal_arglist): Likewise. | |
13 | (gfc_get_type_attr_spec): Likewise. | |
14 | * dependency.cc: Likewise. | |
15 | * error.cc (gfc_format_decoder): Likewise. | |
16 | * expr.cc (check_restricted): Likewise. | |
17 | (gfc_build_default_init_expr): Likewise. | |
18 | * f95-lang.cc: Likewise. | |
19 | * gfc-internals.texi: Likewise. | |
20 | * gfortran.h (enum match): Likewise. | |
21 | (enum procedure_type): Likewise. | |
22 | (enum oacc_routine_lop): Likewise. | |
23 | (gfc_get_pdt_instance): Likewise. | |
24 | (gfc_end_source_files): Likewise. | |
25 | (gfc_mpz_set_hwi): Likewise. | |
26 | (gfc_get_option_string): Likewise. | |
27 | (gfc_find_sym_in_expr): Likewise. | |
28 | (gfc_errors_to_warnings): Likewise. | |
29 | (gfc_real_4_kind): Likewise. | |
30 | (gfc_free_finalizer): Likewise. | |
31 | (gfc_sym_get_dummy_args): Likewise. | |
32 | (gfc_check_intrinsic_standard): Likewise. | |
33 | (gfc_free_case_list): Likewise. | |
34 | (gfc_resolve_oacc_routines): Likewise. | |
35 | (gfc_check_vardef_context): Likewise. | |
36 | (gfc_free_association_list): Likewise. | |
37 | (gfc_implicit_pure_function): Likewise. | |
38 | (gfc_ref_dimen_size): Likewise. | |
39 | (gfc_compare_actual_formal): Likewise. | |
40 | (gfc_resolve_wait): Likewise. | |
41 | (gfc_dt_upper_string): Likewise. | |
42 | (gfc_generate_module_code): Likewise. | |
43 | (gfc_delete_bbt): Likewise. | |
44 | (debug): Likewise. | |
45 | (gfc_build_block_ns): Likewise. | |
46 | (gfc_dep_difference): Likewise. | |
47 | (gfc_invalid_null_arg): Likewise. | |
48 | (gfc_is_finalizable): Likewise. | |
49 | (gfc_fix_implicit_pure): Likewise. | |
50 | (gfc_is_size_zero_array): Likewise. | |
51 | (gfc_is_reallocatable_lhs): Likewise. | |
52 | * gfortranspec.cc: Likewise. | |
53 | * interface.cc (compare_actual_expr): Likewise. | |
54 | * intrinsic.cc (add_functions): Likewise. | |
55 | * iresolve.cc (gfc_resolve_matmul): Likewise. | |
56 | (gfc_resolve_alarm_sub): Likewise. | |
57 | * iso-c-binding.def: Likewise. | |
58 | * lang-specs.h: Likewise. | |
59 | * libgfortran.h (GFC_STDERR_UNIT_NUMBER): Likewise. | |
60 | * match.cc (gfc_match_label): Likewise. | |
61 | (gfc_match_symbol): Likewise. | |
62 | (match_derived_type_spec): Likewise. | |
63 | (copy_ts_from_selector_to_associate): Likewise. | |
64 | * match.h (gfc_match_call): Likewise. | |
65 | (gfc_get_common): Likewise. | |
66 | (gfc_match_omp_end_single): Likewise. | |
67 | (gfc_match_volatile): Likewise. | |
68 | (gfc_match_bind_c): Likewise. | |
69 | (gfc_match_literal_constant): Likewise. | |
70 | (gfc_match_init_expr): Likewise. | |
71 | (gfc_match_array_constructor): Likewise. | |
72 | (gfc_match_end_interface): Likewise. | |
73 | (gfc_match_print): Likewise. | |
74 | (gfc_match_expr): Likewise. | |
75 | * matchexp.cc (next_operator): Likewise. | |
76 | * mathbuiltins.def: Likewise. | |
77 | * module.cc (free_true_name): Likewise. | |
78 | * openmp.cc (gfc_resolve_omp_parallel_blocks): Likewise. | |
79 | (gfc_omp_save_and_clear_state): Likewise. | |
80 | * parse.cc (parse_union): Likewise. | |
81 | (set_syms_host_assoc): Likewise. | |
82 | * resolve.cc (resolve_actual_arglist): Likewise. | |
83 | (resolve_elemental_actual): Likewise. | |
84 | (check_host_association): Likewise. | |
85 | (resolve_typebound_function): Likewise. | |
86 | (resolve_typebound_subroutine): Likewise. | |
87 | (gfc_resolve_expr): Likewise. | |
88 | (resolve_assoc_var): Likewise. | |
89 | (resolve_typebound_procedures): Likewise. | |
90 | (resolve_equivalence_derived): Likewise. | |
91 | * simplify.cc (simplify_bound): Likewise. | |
92 | * symbol.cc (gfc_set_default_type): Likewise. | |
93 | (gfc_add_ext_attribute): Likewise. | |
94 | * target-memory.cc (gfc_target_interpret_expr): Likewise. | |
95 | * target-memory.h (gfc_target_interpret_expr): Likewise. | |
96 | * trans-array.cc (gfc_get_cfi_dim_sm): Likewise. | |
97 | (gfc_conv_shift_descriptor_lbound): Likewise. | |
98 | (gfc_could_be_alias): Likewise. | |
99 | (gfc_get_dataptr_offset): Likewise. | |
100 | * trans-const.cc: Likewise. | |
101 | * trans-decl.cc (trans_function_start): Likewise. | |
102 | (gfc_trans_deferred_vars): Likewise. | |
103 | (generate_local_decl): Likewise. | |
104 | (gfc_generate_function_code): Likewise. | |
105 | * trans-expr.cc (gfc_vptr_size_get): Likewise. | |
106 | (gfc_trans_class_array_init_assign): Likewise. | |
107 | (POWI_TABLE_SIZE): Likewise. | |
108 | (gfc_conv_procedure_call): Likewise. | |
109 | (gfc_trans_arrayfunc_assign): Likewise. | |
110 | * trans-intrinsic.cc (gfc_conv_intrinsic_len): Likewise. | |
111 | (gfc_conv_intrinsic_loc): Likewise. | |
112 | (conv_intrinsic_event_query): Likewise. | |
113 | * trans-io.cc (gfc_build_st_parameter): Likewise. | |
114 | * trans-openmp.cc (gfc_omp_check_optional_argument): Likewise. | |
115 | (gfc_omp_unshare_expr_r): Likewise. | |
116 | (gfc_trans_omp_array_section): Likewise. | |
117 | (gfc_trans_omp_clauses): Likewise. | |
118 | * trans-stmt.cc (trans_associate_var): Likewise. | |
119 | (gfc_trans_deallocate): Likewise. | |
120 | * trans-stmt.h (gfc_trans_class_init_assign): Likewise. | |
121 | (gfc_trans_deallocate): Likewise. | |
122 | (gfc_trans_oacc_declare): Likewise. | |
123 | * trans-types.cc: Likewise. | |
124 | * trans-types.h (enum gfc_packed): Likewise. | |
125 | * trans.cc (N_): Likewise. | |
126 | (trans_code): Likewise. | |
127 | * trans.h (gfc_build_compare_string): Likewise. | |
128 | (gfc_conv_expr_type): Likewise. | |
129 | (gfc_trans_deferred_vars): Likewise. | |
130 | (getdecls): Likewise. | |
131 | (gfc_get_array_descr_info): Likewise. | |
132 | (gfc_omp_firstprivatize_type_sizes): Likewise. | |
133 | (GTY): Likewise. | |
134 | ||
135 | 2022-01-17 Martin Liska <mliska@suse.cz> | |
136 | ||
137 | * arith.c: Moved to... | |
138 | * arith.cc: ...here. | |
139 | * array.c: Moved to... | |
140 | * array.cc: ...here. | |
141 | * bbt.c: Moved to... | |
142 | * bbt.cc: ...here. | |
143 | * check.c: Moved to... | |
144 | * check.cc: ...here. | |
145 | * class.c: Moved to... | |
146 | * class.cc: ...here. | |
147 | * constructor.c: Moved to... | |
148 | * constructor.cc: ...here. | |
149 | * convert.c: Moved to... | |
150 | * convert.cc: ...here. | |
151 | * cpp.c: Moved to... | |
152 | * cpp.cc: ...here. | |
153 | * data.c: Moved to... | |
154 | * data.cc: ...here. | |
155 | * decl.c: Moved to... | |
156 | * decl.cc: ...here. | |
157 | * dependency.c: Moved to... | |
158 | * dependency.cc: ...here. | |
159 | * dump-parse-tree.c: Moved to... | |
160 | * dump-parse-tree.cc: ...here. | |
161 | * error.c: Moved to... | |
162 | * error.cc: ...here. | |
163 | * expr.c: Moved to... | |
164 | * expr.cc: ...here. | |
165 | * f95-lang.c: Moved to... | |
166 | * f95-lang.cc: ...here. | |
167 | * frontend-passes.c: Moved to... | |
168 | * frontend-passes.cc: ...here. | |
169 | * gfortranspec.c: Moved to... | |
170 | * gfortranspec.cc: ...here. | |
171 | * interface.c: Moved to... | |
172 | * interface.cc: ...here. | |
173 | * intrinsic.c: Moved to... | |
174 | * intrinsic.cc: ...here. | |
175 | * io.c: Moved to... | |
176 | * io.cc: ...here. | |
177 | * iresolve.c: Moved to... | |
178 | * iresolve.cc: ...here. | |
179 | * match.c: Moved to... | |
180 | * match.cc: ...here. | |
181 | * matchexp.c: Moved to... | |
182 | * matchexp.cc: ...here. | |
183 | * misc.c: Moved to... | |
184 | * misc.cc: ...here. | |
185 | * module.c: Moved to... | |
186 | * module.cc: ...here. | |
187 | * openmp.c: Moved to... | |
188 | * openmp.cc: ...here. | |
189 | * options.c: Moved to... | |
190 | * options.cc: ...here. | |
191 | * parse.c: Moved to... | |
192 | * parse.cc: ...here. | |
193 | * primary.c: Moved to... | |
194 | * primary.cc: ...here. | |
195 | * resolve.c: Moved to... | |
196 | * resolve.cc: ...here. | |
197 | * scanner.c: Moved to... | |
198 | * scanner.cc: ...here. | |
199 | * simplify.c: Moved to... | |
200 | * simplify.cc: ...here. | |
201 | * st.c: Moved to... | |
202 | * st.cc: ...here. | |
203 | * symbol.c: Moved to... | |
204 | * symbol.cc: ...here. | |
205 | * target-memory.c: Moved to... | |
206 | * target-memory.cc: ...here. | |
207 | * trans-array.c: Moved to... | |
208 | * trans-array.cc: ...here. | |
209 | * trans-common.c: Moved to... | |
210 | * trans-common.cc: ...here. | |
211 | * trans-const.c: Moved to... | |
212 | * trans-const.cc: ...here. | |
213 | * trans-decl.c: Moved to... | |
214 | * trans-decl.cc: ...here. | |
215 | * trans-expr.c: Moved to... | |
216 | * trans-expr.cc: ...here. | |
217 | * trans-intrinsic.c: Moved to... | |
218 | * trans-intrinsic.cc: ...here. | |
219 | * trans-io.c: Moved to... | |
220 | * trans-io.cc: ...here. | |
221 | * trans-openmp.c: Moved to... | |
222 | * trans-openmp.cc: ...here. | |
223 | * trans-stmt.c: Moved to... | |
224 | * trans-stmt.cc: ...here. | |
225 | * trans-types.c: Moved to... | |
226 | * trans-types.cc: ...here. | |
227 | * trans.c: Moved to... | |
228 | * trans.cc: ...here. | |
229 | ||
230 | 2022-01-17 Andrew Stubbs <ams@codesourcery.com> | |
231 | ||
232 | * openmp.c (gfc_match_omp_requires): Don't "sorry" dynamic_allocators. | |
233 | ||
9248ee41 GA |
234 | 2022-01-15 Harald Anlauf <anlauf@gmx.de> |
235 | ||
236 | PR fortran/83079 | |
237 | * target-memory.c (gfc_interpret_character): Result length is | |
238 | in bytes and thus depends on the character kind. | |
239 | * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Compute correct | |
240 | string length for the result of the TRANSFER intrinsic and for | |
241 | temporaries for the different character kinds. | |
242 | ||
617db51d GA |
243 | 2022-01-14 Harald Anlauf <anlauf@gmx.de> |
244 | ||
245 | PR fortran/99256 | |
246 | * intrinsic.c: Do not check formal argument type when checking | |
247 | arguments of intrinsics for alternate return specifiers. | |
248 | ||
249 | 2022-01-14 Harald Anlauf <anlauf@gmx.de> | |
250 | ||
251 | PR fortran/103782 | |
252 | * expr.c (gfc_simplify_expr): Adjust logic for when to scalarize a | |
253 | call of an intrinsic which may have been overloaded. | |
254 | ||
ad3f0d08 GA |
255 | 2022-01-13 Hafiz Abid Qadeer <abidh@codesourcery.com> |
256 | ||
257 | * dump-parse-tree.c (show_omp_clauses): Handle OMP_LIST_ALLOCATE. | |
258 | * gfortran.h (OMP_LIST_ALLOCATE): New enum value. | |
259 | * openmp.c (enum omp_mask1): Add OMP_CLAUSE_ALLOCATE. | |
260 | (gfc_match_omp_clauses): Handle OMP_CLAUSE_ALLOCATE | |
261 | (OMP_PARALLEL_CLAUSES, OMP_DO_CLAUSES, OMP_SECTIONS_CLAUSES) | |
262 | (OMP_TASK_CLAUSES, OMP_TASKLOOP_CLAUSES, OMP_TARGET_CLAUSES) | |
263 | (OMP_TEAMS_CLAUSES, OMP_DISTRIBUTE_CLAUSES) | |
264 | (OMP_SINGLE_CLAUSES): Add OMP_CLAUSE_ALLOCATE. | |
265 | (OMP_TASKGROUP_CLAUSES): New. | |
266 | (gfc_match_omp_taskgroup): Use OMP_TASKGROUP_CLAUSES instead of | |
267 | OMP_CLAUSE_TASK_REDUCTION. | |
268 | (resolve_omp_clauses): Handle OMP_LIST_ALLOCATE. | |
269 | (resolve_omp_do): Avoid warning when loop iteration variable is | |
270 | in allocate clause. | |
271 | * trans-openmp.c (gfc_trans_omp_clauses): Handle translation of | |
272 | allocate clause. | |
273 | (gfc_split_omp_clauses): Update for OMP_LIST_ALLOCATE. | |
274 | ||
275 | 2022-01-13 Harald Anlauf <anlauf@gmx.de> | |
276 | ||
277 | PR fortran/67804 | |
278 | * primary.c (gfc_match_structure_constructor): Recover from errors | |
279 | that occurred while checking for a valid structure constructor in | |
280 | a DATA statement. | |
281 | ||
01a254e3 GA |
282 | 2022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org> |
283 | ||
284 | * libgfortran.h (unit_convert): Add flags. | |
285 | ||
286 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
287 | ||
288 | * trans-types.c (gfc_init_kinds): When setting abi_kind to 17, if not | |
289 | targetting glibc 2.32 or later and -fbuilding-libgfortran, set | |
290 | gfc_real16_is_float128 and c_float128 in gfc_real_kinds. | |
291 | (gfc_build_real_type): Don't set c_long_double if c_float128 is | |
292 | already set. | |
293 | * trans-intrinsic.c (builtin_decl_for_precision): Don't use | |
294 | long_double_built_in if gfc_real16_is_float128 and | |
295 | long_double_type_node == gfc_float128_type_node. | |
296 | * lang.opt (fbuilding-libgfortran): New undocumented option. | |
297 | ||
298 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
299 | ||
300 | * trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Use | |
301 | gfc_type_abi_kind. | |
302 | ||
303 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
304 | ||
305 | * trans-io.c (transfer_array_desc): Pass abi kind instead of kind | |
306 | to libgfortran. | |
307 | ||
308 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
309 | ||
310 | * trans-io.c (transfer_namelist_element): Use gfc_type_abi_kind, | |
311 | formatting fixes. | |
312 | (transfer_expr): Use gfc_type_abi_kind, use *REAL128* APIs even | |
313 | for abi_kind == 17. | |
314 | ||
315 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
316 | ||
317 | * gfortran.h (gfc_real_info): Add abi_kind member. | |
318 | (gfc_type_abi_kind): Declare. | |
319 | * trans-types.c (gfc_init_kinds): Initialize abi_kind. | |
320 | * intrinsic.c (gfc_type_abi_kind): New function. | |
321 | (conv_name): Use it. | |
322 | * iresolve.c (resolve_transformational, gfc_resolve_abs, | |
323 | gfc_resolve_char_achar, gfc_resolve_acos, gfc_resolve_acosh, | |
324 | gfc_resolve_aimag, gfc_resolve_and, gfc_resolve_aint, gfc_resolve_all, | |
325 | gfc_resolve_anint, gfc_resolve_any, gfc_resolve_asin, | |
326 | gfc_resolve_asinh, gfc_resolve_atan, gfc_resolve_atanh, | |
327 | gfc_resolve_atan2, gfc_resolve_bessel_n2, gfc_resolve_ceiling, | |
328 | gfc_resolve_cmplx, gfc_resolve_complex, gfc_resolve_cos, | |
329 | gfc_resolve_cosh, gfc_resolve_count, gfc_resolve_dble, | |
330 | gfc_resolve_dim, gfc_resolve_dot_product, gfc_resolve_dprod, | |
331 | gfc_resolve_exp, gfc_resolve_floor, gfc_resolve_hypot, | |
332 | gfc_resolve_int, gfc_resolve_int2, gfc_resolve_int8, gfc_resolve_long, | |
333 | gfc_resolve_log, gfc_resolve_log10, gfc_resolve_logical, | |
334 | gfc_resolve_matmul, gfc_resolve_minmax, gfc_resolve_maxloc, | |
335 | gfc_resolve_findloc, gfc_resolve_maxval, gfc_resolve_merge, | |
336 | gfc_resolve_minloc, gfc_resolve_minval, gfc_resolve_mod, | |
337 | gfc_resolve_modulo, gfc_resolve_nearest, gfc_resolve_or, | |
338 | gfc_resolve_real, gfc_resolve_realpart, gfc_resolve_reshape, | |
339 | gfc_resolve_sign, gfc_resolve_sin, gfc_resolve_sinh, gfc_resolve_sqrt, | |
340 | gfc_resolve_tan, gfc_resolve_tanh, gfc_resolve_transpose, | |
341 | gfc_resolve_trigd, gfc_resolve_xor, gfc_resolve_random_number): | |
342 | Likewise. | |
343 | * trans-decl.c (gfc_build_intrinsic_function_decls): Likewise. | |
344 | ||
d9450aa0 GA |
345 | 2022-01-10 Paul Thomas <pault@gcc.gnu.org> |
346 | ||
347 | PR fortran/103366 | |
348 | * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Allow unlimited | |
349 | polymorphic actual argument passed to assumed type formal. | |
350 | ||
3a5702df GA |
351 | 2022-01-09 Harald Anlauf <anlauf@gmx.de> |
352 | ||
353 | PR fortran/103777 | |
354 | * simplify.c (gfc_simplify_maskr): Check validity of argument 'I' | |
355 | before simplifying. | |
356 | (gfc_simplify_maskl): Likewise. | |
357 | ||
358 | 2022-01-09 Harald Anlauf <anlauf@gmx.de> | |
359 | ||
360 | PR fortran/101762 | |
361 | * expr.c (gfc_check_pointer_assign): For pointer initialization | |
362 | targets, check that subscripts and substring indices in | |
363 | specifications are constant expressions. | |
364 | ||
365 | 2022-01-09 Mikael Morin <mikael@gcc.gnu.org> | |
366 | ||
367 | PR fortran/103789 | |
368 | * trans-array.c (arg_evaluated_for_scalarization): Add MASKL, MASKR, | |
369 | SCAN and VERIFY to the list of intrinsics whose KIND argument is to be | |
370 | ignored. | |
371 | ||
55e96bf9 GA |
372 | 2022-01-07 Sandra Loosemore <sandra@codesourcery.com> |
373 | ||
374 | PR fortran/103898 | |
375 | * trans-intrinsic.c (gfc_conv_intrinsic_size): Make size_var | |
376 | actually be a variable and fix surrounding code. | |
377 | ||
11ce8d04 GA |
378 | 2022-01-06 Steve Kargl <kargl@gcc.gnu.org> |
379 | Sandra Loosemore <sandra@codesourcery.com> | |
380 | ||
381 | PR fortran/103287 | |
382 | * interface.c (argument_rank_mismatch): Replace incorrect assertion | |
383 | with return. | |
384 | ||
0fbefa25 GA |
385 | 2022-01-05 Sandra Loosemore <sandra@codesourcery.com> |
386 | ||
387 | PR fortran/103258 | |
388 | * decl.c (gfc_match_char_spec): Suppress errors around call | |
389 | to gfc_reduce_init_expr. | |
390 | * error.c (gfc_query_suppress_errors): New. | |
391 | * gfortran.h (gfc_query_suppress_errors): Declare. | |
392 | * symbol.c (gfc_set_default_type): Check gfc_query_suppress_errors. | |
393 | ||
a4ae8c37 GA |
394 | 2022-01-03 Sandra Loosemore <sandra@codesourcery.com> |
395 | ||
396 | PR fortran/103390 | |
397 | * expr.c (gfc_is_simply_contiguous): Make it smarter about | |
398 | function calls. | |
399 | * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Do not generate | |
400 | copy loops for array expressions that are not "variables" (lvalues). | |
401 | ||
402 | 2022-01-03 Jakub Jelinek <jakub@redhat.com> | |
403 | ||
404 | * gfortranspec.c (lang_specific_driver): Update copyright notice | |
405 | dates. | |
406 | * gfc-internals.texi: Bump @copying's copyright year. | |
407 | * gfortran.texi: Ditto. | |
408 | * intrinsic.texi: Ditto. | |
409 | * invoke.texi: Ditto. | |
410 | ||
21fa2a29 | 411 | \f |
6123f29a | 412 | Copyright (C) 2022 Free Software Foundation, Inc. |
ad41bd84 JM |
413 | |
414 | Copying and distribution of this file, with or without modification, | |
415 | are permitted in any medium without royalty provided the copyright | |
416 | notice and this notice are preserved. |