RISC-V: Remove earlyclobber from widen reduction
[official-gcc.git] / gcc / fortran / ChangeLog-2022
blob253af76c872cc1c00e6d5c914fe15d535a487543
1 2022-12-30  Steve Kargl  <kargl@gcc.gnu.org>
3         PR fortran/102331
4         * decl.cc (attr_decl1): Guard against NULL pointer.
5         * parse.cc (match_deferred_characteristics): Include BT_CLASS in check for
6         derived being undefined.
8 2022-12-23  Harald Anlauf  <anlauf@gmx.de>
10         PR fortran/108131
11         * array.cc (match_array_element_spec): Avoid too early simplification
12         of matched array element specs that can lead to a misinterpretation
13         when used as array bounds in array declarations.
15 2022-12-23  Julian Brown  <julian@codesourcery.com>
17         * dump-parse-tree.cc (show_attr): Fix OMP-UDR-ARTIFICIAL-VAR typo.
18         * trans-openmp.cc (gfc_trans_omp_array_section): Replace stray unicode
19         m-dash character with hyphen.
21 2022-12-23  Steve Kargl  <kargl@gcc.gnu.org>
23         PR fortran/106731
24         * trans-array.cc (gfc_trans_auto_array_allocation): Remove gcc_assert (!TREE_STATIC()).
26 2022-12-22  Harald Anlauf  <anlauf@gmx.de>
28         PR fortran/69604
29         * match.cc (chk_stmt_fcn_body): New function.  Check for invalid uses
30         of statement functions arguments.
31         (gfc_match_st_function): Use above.
33 2022-12-20  Harald Anlauf  <anlauf@gmx.de>
35         PR fortran/95375
36         * decl.cc (verify_bind_c_sym): Extend interoperability check to
37         CLASS variables.
39 2022-12-18  Steve Kargl  <kargl@gcc.gnu.org>
41         PR fortran/107397
42         * decl.cc (add_init_expr_to_sym): Add check with new error message.
44 2022-12-14  Julian Brown  <julian@codesourcery.com>
46         PR fortran/107214
47         * gfortran.h (gfc_symbol): Add data_mark, dev_mark, gen_mark and
48         reduc_mark bitfields.
49         * openmp.cc (resolve_omp_clauses): Use above bitfields to improve
50         duplicate clause detection.
52 2022-12-14  Julian Brown  <julian@codesourcery.com>
54         * trans-openmp.cc (gfc_add_firstprivate_if_unmapped): New function.
55         (gfc_split_omp_clauses): Call above.
57 2022-12-13  Steve Kargl  <kargl@gcc.gnu.org>
59         PR fortran/107423
60         * parse.cc (parse_spec): Avoid NULL pointer dereference when parsing
61         a function and an error occured.
63 2022-12-12  Harald Anlauf  <anlauf@gmx.de>
65         PR fortran/102180
66         * array.cc (match_array_element_spec): Add check for bad
67         assumed-implied-spec.
68         (gfc_match_array_spec): Reorder logic so that the first bad array
69         element spec may trigger an error.
71 2022-12-11  Steve Kargl  <kargl@gcc.gnu.org>
73         PR fortran/107995
74         * interface.cc (gfc_check_dummy_characteristics): Reject statement
75         function dummy arguments.
77 2022-12-11  Tobias Burnus  <tobias@codesourcery.com>
79         * openmp.cc (gfc_match_omp_context_selector_specification):
80         Remove spurious 's' in an error message.
82 2022-12-10  Harald Anlauf  <anlauf@gmx.de>
84         PR fortran/106911
85         * simplify.cc (gfc_simplify_ishftc): If the SIZE argument is known
86         to be outside the allowed range, terminate simplification.
88 2022-12-10  Tobias Burnus  <tobias@codesourcery.com>
90         * match.cc (gfc_match_member_sep): Use %<...%> in gfc_error.
91         * openmp.cc (gfc_match_oacc_routine, gfc_match_omp_context_selector,
92         gfc_match_omp_context_selector_specification,
93         gfc_match_omp_declare_variant, resolve_omp_clauses): Likewise;
94         use %qs instead of '%s'.
95         * primary.cc (match_real_constant, gfc_match_varspec): Likewise.
96         * resolve.cc (gfc_resolve_formal_arglist, resolve_operator,
97         resolve_ordinary_assign): Likewise.
99 2022-12-09  Paul Thomas  <pault@gcc.gnu.org>
101         PR fortran/107872
102         * resolve.cc (derived_inaccessible): Skip over allocatable components
103         to prevent an infinite loop.
105 2022-12-09  Tobias Burnus  <tobias@codesourcery.com>
107         * dump-parse-tree.cc (show_omp_namelist): Improve OMP_LIST_ALLOCATE
108         output.
109         * gfortran.h (struct gfc_omp_namelist): Add 'align' to 'u'.
110         (gfc_free_omp_namelist): Add bool arg.
111         * match.cc (gfc_free_omp_namelist): Likewise; free 'u.align'.
112         * openmp.cc (gfc_free_omp_clauses, gfc_match_omp_clause_reduction,
113         gfc_match_omp_flush): Update call.
114         (gfc_match_omp_clauses): Match 'align/allocate modifers in
115         'allocate' clause.
116         (resolve_omp_clauses): Resolve align.
117         * st.cc (gfc_free_statement): Update call
118         * trans-openmp.cc (gfc_trans_omp_clauses): Handle 'align'.
120 2022-12-08  Harald Anlauf  <anlauf@gmx.de>
122         PR fortran/108025
123         * symbol.cc (gfc_add_contiguous): Diagnose and reject duplicate
124         CONTIGUOUS attribute.
126 2022-12-07  Harald Anlauf  <anlauf@gmx.de>
128         PR fortran/108010
129         * arith.cc (reduce_unary): Handle zero-sized arrays.
130         (reduce_binary_aa): Likewise.
132 2022-12-04  Harald Anlauf  <anlauf@gmx.de>
134         PR fortran/107922
135         * simplify.cc (gfc_simplify_unpack): Terminate simplification when
136         array-valued argument FIELD does not provide enough elements.
138 2022-12-04  Harald Anlauf  <anlauf@gmx.de>
140         PR fortran/107870
141         * intrinsic.texi: Fix typo in documentation of intrinsic FLOOR.
142         Describe the optional KIND argument to intrinsics as a scalar
143         constant expression, in accordance with the current standard.
145 2022-12-04  Harald Anlauf  <anlauf@gmx.de>
147         PR fortran/107899
148         * resolve.cc (resolve_deallocate_expr): Avoid NULL pointer dereference
149         on invalid CLASS variable.
151 2022-11-30  Martin Liska  <mliska@suse.cz>
153         * parse.cc (parse_omp_structured_block): Remove extra semicolon.
155 2022-11-29  Harald Anlauf  <anlauf@gmx.de>
156             Steven G. Kargl  <kargl@gcc.gnu.org>
158         PR fortran/107874
159         * simplify.cc (gfc_simplify_merge): When simplifying MERGE with a
160         constant scalar MASK, ensure that arguments TSOURCE and FSOURCE are
161         either constant or will be evaluated.
162         * trans-intrinsic.cc (gfc_conv_intrinsic_merge): Evaluate arguments
163         before generating conditional expression.
165 2022-11-28  Harald Anlauf  <anlauf@gmx.de>
167         PR fortran/107819
168         * trans-stmt.cc (gfc_conv_elemental_dependencies): In checking for
169         elemental dependencies, treat dummy argument with VALUE attribute
170         as implicitly having intent(in).
172 2022-11-28  Tobias Burnus  <tobias@codesourcery.com>
174         * openmp.cc (OMP_DO_CLAUSES, OMP_SCOPE_CLAUSES,
175         OMP_SECTIONS_CLAUSES): Add 'nowait'.
176         (OMP_SINGLE_CLAUSES): Add 'nowait' and 'copyprivate'.
177         (gfc_match_omp_distribute_parallel_do,
178         gfc_match_omp_distribute_parallel_do_simd,
179         gfc_match_omp_parallel_do,
180         gfc_match_omp_parallel_do_simd,
181         gfc_match_omp_parallel_sections,
182         gfc_match_omp_teams_distribute_parallel_do,
183         gfc_match_omp_teams_distribute_parallel_do_simd): Disallow 'nowait'.
184         (gfc_match_omp_workshare): Match 'nowait' clause.
185         (gfc_match_omp_end_single): Use clause matcher for 'nowait'.
186         (resolve_omp_clauses): Reject 'nowait' + 'copyprivate'.
187         * parse.cc (decode_omp_directive): Break too long line.
188         (parse_omp_do, parse_omp_structured_block): Diagnose duplicated
189         'nowait' clause.
191 2022-11-23  Steve Kargl  <kargl@gcc.gnu.org>
193         PR fortran/107577
194         * resolve.cc (find_array_spec): Choose appropriate locus either of
195         bad array reference or of non-array entity in error message.
197 2022-11-18  Harald Anlauf  <anlauf@gmx.de>
199         PR fortran/107576
200         * interface.cc (gfc_procedure_use): Reject NULL as actual argument
201         when there is no explicit procedure interface.
203 2022-11-17  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
205         PR fortran/99884
206         * io.cc (check_open_constraints): Remove double spaces.
208 2022-11-16  Steve Kargl  <kargl@gcc.gnu.org>
210         PR fortran/107707
211         * interface.cc (gfc_compare_actual_formal): Check that we actually
212         have integer values before asking gmp_* to use them.
214 2022-11-16  Harald Anlauf  <anlauf@gmx.de>
216         PR fortran/107681
217         * resolve.cc (resolve_fl_var_and_proc): Prevent NULL pointer
218         dereference with reference to bad CLASS variable.
220 2022-11-16  Harald Anlauf  <anlauf@gmx.de>
222         PR fortran/107680
223         * arith.cc (arith_power): Check that operands are properly converted
224         before attempting to simplify.
226 2022-11-15  Lewis Hyatt  <lhyatt@gmail.com>
228         * cpp.cc (gfc_cpp_init): Use special_fname_builtin () rather than a
229         hardcoded string (which was also incorrectly left untranslated
230         previously.)
231         * error.cc (gfc_diagnostic_build_locus_prefix): Likewise.
232         * f95-lang.cc (gfc_init): Likewise.
234 2022-11-14  Harald Anlauf  <anlauf@gmx.de>
236         PR fortran/107444
237         * trans-openmp.cc (gfc_omp_check_optional_argument): Adjust to change
238         of prefix of internal symbol for presence status to '.'.
240 2022-11-14  Martin Liska  <mliska@suse.cz>
242         * gfortran.texi: Port from Sphinx.
244 2022-11-14  Martin Liska  <mliska@suse.cz>
246         Revert:
247         2022-11-14  Martin Liska  <mliska@suse.cz>
249         * doc/gfc-internals/code-that-interacts-with-the-user.rst: New file.
250         * doc/gfc-internals/command-line-options.rst: New file.
251         * doc/gfc-internals/conf.py: New file.
252         * doc/gfc-internals/copyright.rst: New file.
253         * doc/gfc-internals/error-handling.rst: New file.
254         * doc/gfc-internals/frontend-data-structures.rst: New file.
255         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages.rst: New file.
256         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/accessing-declarations.rst:
257         New file.
258         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/basic-data-structures.rst:
259         New file.
260         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/converting-expressions-to-tree.rst:
261         New file.
262         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/translating-statements.rst:
263         New file.
264         * doc/gfc-internals/gfccode.rst: New file.
265         * doc/gfc-internals/gfcexpr.rst: New file.
266         * doc/gfc-internals/gnu-free-documentation-license.rst: New file.
267         * doc/gfc-internals/index.rst: New file.
268         * doc/gfc-internals/indices-and-tables.rst: New file.
269         * doc/gfc-internals/internals-of-fortran-2003-oop-features.rst: New file.
270         * doc/gfc-internals/introduction.rst: New file.
271         * doc/gfc-internals/symbol-versioning.rst: New file.
272         * doc/gfc-internals/the-libgfortran-runtime-library.rst: New file.
273         * doc/gfc-internals/type-bound-operators.rst: New file.
274         * doc/gfc-internals/type-bound-procedures.rst: New file.
275         * doc/gfortran/about-gnu-fortran.rst: New file.
276         * doc/gfortran/coarray-programming.rst: New file.
277         * doc/gfortran/compiler-characteristics.rst: New file.
278         * doc/gfortran/compiler-characteristics/asynchronous-i-o.rst: New file.
279         * doc/gfortran/compiler-characteristics/data-consistency-and-durability.rst: New file.
280         * doc/gfortran/compiler-characteristics/evaluation-of-logical-expressions.rst: New file.
281         * doc/gfortran/compiler-characteristics/file-format-of-unformatted-sequential-files.rst:
282         New file.
283         * doc/gfortran/compiler-characteristics/file-operations-on-symbolic-links.rst: New file.
284         * doc/gfortran/compiler-characteristics/files-opened-without-an-explicit-action=-specifier.rst:
285         New file.
286         * doc/gfortran/compiler-characteristics/internal-representation-of-logical-variables.rst:
287         New file.
288         * doc/gfortran/compiler-characteristics/kind-type-parameters.rst: New file.
289         * doc/gfortran/compiler-characteristics/max-and-min-intrinsics-with-real-nan-arguments.rst:
290         New file.
291         * doc/gfortran/compiler-characteristics/thread-safety-of-the-runtime-library.rst: New file.
292         * doc/gfortran/conf.py: New file.
293         * doc/gfortran/contributing.rst: New file.
294         * doc/gfortran/contributors-to-gnu-fortran.rst: New file.
295         * doc/gfortran/copyright.rst: New file.
296         * doc/gfortran/extensions-implemented-in-gnu-fortran.rst: New file.
297         * doc/gfortran/extensions-not-implemented-in-gnu-fortran.rst: New file.
298         * doc/gfortran/extensions.rst: New file.
299         * doc/gfortran/function-abi-documentation.rst: New file.
300         * doc/gfortran/funding.rst: New file.
301         * doc/gfortran/general-public-license-3.rst: New file.
302         * doc/gfortran/gnu-fortran-and-gcc.rst: New file.
303         * doc/gfortran/gnu-fortran-command-options.rst: New file.
304         * doc/gfortran/gnu-fortran-command-options/description.rst: New file.
305         * doc/gfortran/gnu-fortran-command-options/enable-and-customize-preprocessing.rst: New file.
306         * doc/gfortran/gnu-fortran-command-options/environment-variables-affecting-gfortran.rst:
307         New file.
308         * doc/gfortran/gnu-fortran-command-options/influencing-runtime-behavior.rst: New file.
309         * doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst: New file.
310         * doc/gfortran/gnu-fortran-command-options/option-summary.rst: New file.
311         * doc/gfortran/gnu-fortran-command-options/options-controlling-fortran-dialect.rst:
312         New file.
313         * doc/gfortran/gnu-fortran-command-options/options-for-code-generation-conventions.rst:
314         New file.
315         * doc/gfortran/gnu-fortran-command-options/options-for-debugging-your-program-or-gnu-fortran.rst:
316         New file.
317         * doc/gfortran/gnu-fortran-command-options/options-for-directory-search.rst: New file.
318         * doc/gfortran/gnu-fortran-command-options/options-for-interoperability-with-other-languages.rst:
319         New file.
320         * doc/gfortran/gnu-fortran-command-options/options-to-request-or-suppress-errors-and-warnings.rst:
321         New file.
322         * doc/gfortran/gnu-fortran-compiler-directives.rst: New file.
323         * doc/gfortran/gnu-free-documentation-license.rst: New file.
324         * doc/gfortran/index.rst: New file.
325         * doc/gfortran/indices-and-tables.rst: New file.
326         * doc/gfortran/interoperability-with-c.rst: New file.
327         * doc/gfortran/intrinsic-modules.rst: New file.
328         * doc/gfortran/intrinsic-modules/ieee-modules-ieeeexceptions-ieeearithmetic-and-ieeefeatures.rst:
329         New file.
330         * doc/gfortran/intrinsic-modules/isocbinding.rst: New file.
331         * doc/gfortran/intrinsic-modules/isofortranenv.rst: New file.
332         * doc/gfortran/intrinsic-modules/openacc-module-openacc.rst: New file.
333         * doc/gfortran/intrinsic-modules/openmp-modules-omplib-and-omplibkinds.rst: New file.
334         * doc/gfortran/intrinsic-procedures.rst: New file.
335         * doc/gfortran/intrinsic-procedures/abort.rst: New file.
336         * doc/gfortran/intrinsic-procedures/abs.rst: New file.
337         * doc/gfortran/intrinsic-procedures/access.rst: New file.
338         * doc/gfortran/intrinsic-procedures/achar.rst: New file.
339         * doc/gfortran/intrinsic-procedures/acos.rst: New file.
340         * doc/gfortran/intrinsic-procedures/acosd.rst: New file.
341         * doc/gfortran/intrinsic-procedures/acosh.rst: New file.
342         * doc/gfortran/intrinsic-procedures/adjustl.rst: New file.
343         * doc/gfortran/intrinsic-procedures/adjustr.rst: New file.
344         * doc/gfortran/intrinsic-procedures/aimag.rst: New file.
345         * doc/gfortran/intrinsic-procedures/aint.rst: New file.
346         * doc/gfortran/intrinsic-procedures/alarm.rst: New file.
347         * doc/gfortran/intrinsic-procedures/all.rst: New file.
348         * doc/gfortran/intrinsic-procedures/allocated.rst: New file.
349         * doc/gfortran/intrinsic-procedures/and.rst: New file.
350         * doc/gfortran/intrinsic-procedures/anint.rst: New file.
351         * doc/gfortran/intrinsic-procedures/any.rst: New file.
352         * doc/gfortran/intrinsic-procedures/asin.rst: New file.
353         * doc/gfortran/intrinsic-procedures/asind.rst: New file.
354         * doc/gfortran/intrinsic-procedures/asinh.rst: New file.
355         * doc/gfortran/intrinsic-procedures/associated.rst: New file.
356         * doc/gfortran/intrinsic-procedures/atan.rst: New file.
357         * doc/gfortran/intrinsic-procedures/atan2.rst: New file.
358         * doc/gfortran/intrinsic-procedures/atan2d.rst: New file.
359         * doc/gfortran/intrinsic-procedures/atand.rst: New file.
360         * doc/gfortran/intrinsic-procedures/atanh.rst: New file.
361         * doc/gfortran/intrinsic-procedures/atomicadd.rst: New file.
362         * doc/gfortran/intrinsic-procedures/atomicand.rst: New file.
363         * doc/gfortran/intrinsic-procedures/atomiccas.rst: New file.
364         * doc/gfortran/intrinsic-procedures/atomicdefine.rst: New file.
365         * doc/gfortran/intrinsic-procedures/atomicfetchadd.rst: New file.
366         * doc/gfortran/intrinsic-procedures/atomicfetchand.rst: New file.
367         * doc/gfortran/intrinsic-procedures/atomicfetchor.rst: New file.
368         * doc/gfortran/intrinsic-procedures/atomicfetchxor.rst: New file.
369         * doc/gfortran/intrinsic-procedures/atomicor.rst: New file.
370         * doc/gfortran/intrinsic-procedures/atomicref.rst: New file.
371         * doc/gfortran/intrinsic-procedures/atomicxor.rst: New file.
372         * doc/gfortran/intrinsic-procedures/backtrace.rst: New file.
373         * doc/gfortran/intrinsic-procedures/besselj0.rst: New file.
374         * doc/gfortran/intrinsic-procedures/besselj1.rst: New file.
375         * doc/gfortran/intrinsic-procedures/besseljn.rst: New file.
376         * doc/gfortran/intrinsic-procedures/bessely0.rst: New file.
377         * doc/gfortran/intrinsic-procedures/bessely1.rst: New file.
378         * doc/gfortran/intrinsic-procedures/besselyn.rst: New file.
379         * doc/gfortran/intrinsic-procedures/bge.rst: New file.
380         * doc/gfortran/intrinsic-procedures/bgt.rst: New file.
381         * doc/gfortran/intrinsic-procedures/bitsize.rst: New file.
382         * doc/gfortran/intrinsic-procedures/ble.rst: New file.
383         * doc/gfortran/intrinsic-procedures/blt.rst: New file.
384         * doc/gfortran/intrinsic-procedures/btest.rst: New file.
385         * doc/gfortran/intrinsic-procedures/cassociated.rst: New file.
386         * doc/gfortran/intrinsic-procedures/ceiling.rst: New file.
387         * doc/gfortran/intrinsic-procedures/cfpointer.rst: New file.
388         * doc/gfortran/intrinsic-procedures/cfprocpointer.rst: New file.
389         * doc/gfortran/intrinsic-procedures/cfunloc.rst: New file.
390         * doc/gfortran/intrinsic-procedures/char.rst: New file.
391         * doc/gfortran/intrinsic-procedures/chdir.rst: New file.
392         * doc/gfortran/intrinsic-procedures/chmod.rst: New file.
393         * doc/gfortran/intrinsic-procedures/cloc.rst: New file.
394         * doc/gfortran/intrinsic-procedures/cmplx.rst: New file.
395         * doc/gfortran/intrinsic-procedures/cobroadcast.rst: New file.
396         * doc/gfortran/intrinsic-procedures/comax.rst: New file.
397         * doc/gfortran/intrinsic-procedures/comin.rst: New file.
398         * doc/gfortran/intrinsic-procedures/commandargumentcount.rst: New file.
399         * doc/gfortran/intrinsic-procedures/compileroptions.rst: New file.
400         * doc/gfortran/intrinsic-procedures/compilerversion.rst: New file.
401         * doc/gfortran/intrinsic-procedures/complex.rst: New file.
402         * doc/gfortran/intrinsic-procedures/conjg.rst: New file.
403         * doc/gfortran/intrinsic-procedures/coreduce.rst: New file.
404         * doc/gfortran/intrinsic-procedures/cos.rst: New file.
405         * doc/gfortran/intrinsic-procedures/cosd.rst: New file.
406         * doc/gfortran/intrinsic-procedures/cosh.rst: New file.
407         * doc/gfortran/intrinsic-procedures/cosum.rst: New file.
408         * doc/gfortran/intrinsic-procedures/cotan.rst: New file.
409         * doc/gfortran/intrinsic-procedures/cotand.rst: New file.
410         * doc/gfortran/intrinsic-procedures/count.rst: New file.
411         * doc/gfortran/intrinsic-procedures/cputime.rst: New file.
412         * doc/gfortran/intrinsic-procedures/cshift.rst: New file.
413         * doc/gfortran/intrinsic-procedures/csizeof.rst: New file.
414         * doc/gfortran/intrinsic-procedures/ctime.rst: New file.
415         * doc/gfortran/intrinsic-procedures/dateandtime.rst: New file.
416         * doc/gfortran/intrinsic-procedures/dble.rst: New file.
417         * doc/gfortran/intrinsic-procedures/dcmplx.rst: New file.
418         * doc/gfortran/intrinsic-procedures/digits.rst: New file.
419         * doc/gfortran/intrinsic-procedures/dim.rst: New file.
420         * doc/gfortran/intrinsic-procedures/dotproduct.rst: New file.
421         * doc/gfortran/intrinsic-procedures/dprod.rst: New file.
422         * doc/gfortran/intrinsic-procedures/dreal.rst: New file.
423         * doc/gfortran/intrinsic-procedures/dshiftl.rst: New file.
424         * doc/gfortran/intrinsic-procedures/dshiftr.rst: New file.
425         * doc/gfortran/intrinsic-procedures/dtime.rst: New file.
426         * doc/gfortran/intrinsic-procedures/eoshift.rst: New file.
427         * doc/gfortran/intrinsic-procedures/epsilon.rst: New file.
428         * doc/gfortran/intrinsic-procedures/erf.rst: New file.
429         * doc/gfortran/intrinsic-procedures/erfc.rst: New file.
430         * doc/gfortran/intrinsic-procedures/erfcscaled.rst: New file.
431         * doc/gfortran/intrinsic-procedures/etime.rst: New file.
432         * doc/gfortran/intrinsic-procedures/eventquery.rst: New file.
433         * doc/gfortran/intrinsic-procedures/executecommandline.rst: New file.
434         * doc/gfortran/intrinsic-procedures/exit.rst: New file.
435         * doc/gfortran/intrinsic-procedures/exp.rst: New file.
436         * doc/gfortran/intrinsic-procedures/exponent.rst: New file.
437         * doc/gfortran/intrinsic-procedures/extendstypeof.rst: New file.
438         * doc/gfortran/intrinsic-procedures/fdate.rst: New file.
439         * doc/gfortran/intrinsic-procedures/fget.rst: New file.
440         * doc/gfortran/intrinsic-procedures/fgetc.rst: New file.
441         * doc/gfortran/intrinsic-procedures/findloc.rst: New file.
442         * doc/gfortran/intrinsic-procedures/floor.rst: New file.
443         * doc/gfortran/intrinsic-procedures/flush.rst: New file.
444         * doc/gfortran/intrinsic-procedures/fnum.rst: New file.
445         * doc/gfortran/intrinsic-procedures/fput.rst: New file.
446         * doc/gfortran/intrinsic-procedures/fputc.rst: New file.
447         * doc/gfortran/intrinsic-procedures/fraction.rst: New file.
448         * doc/gfortran/intrinsic-procedures/free.rst: New file.
449         * doc/gfortran/intrinsic-procedures/fseek.rst: New file.
450         * doc/gfortran/intrinsic-procedures/fstat.rst: New file.
451         * doc/gfortran/intrinsic-procedures/ftell.rst: New file.
452         * doc/gfortran/intrinsic-procedures/gamma.rst: New file.
453         * doc/gfortran/intrinsic-procedures/gerror.rst: New file.
454         * doc/gfortran/intrinsic-procedures/getarg.rst: New file.
455         * doc/gfortran/intrinsic-procedures/getcommand.rst: New file.
456         * doc/gfortran/intrinsic-procedures/getcommandargument.rst: New file.
457         * doc/gfortran/intrinsic-procedures/getcwd.rst: New file.
458         * doc/gfortran/intrinsic-procedures/getenv.rst: New file.
459         * doc/gfortran/intrinsic-procedures/getenvironmentvariable.rst: New file.
460         * doc/gfortran/intrinsic-procedures/getgid.rst: New file.
461         * doc/gfortran/intrinsic-procedures/getlog.rst: New file.
462         * doc/gfortran/intrinsic-procedures/getpid.rst: New file.
463         * doc/gfortran/intrinsic-procedures/getuid.rst: New file.
464         * doc/gfortran/intrinsic-procedures/gmtime.rst: New file.
465         * doc/gfortran/intrinsic-procedures/hostnm.rst: New file.
466         * doc/gfortran/intrinsic-procedures/huge.rst: New file.
467         * doc/gfortran/intrinsic-procedures/hypot.rst: New file.
468         * doc/gfortran/intrinsic-procedures/iachar.rst: New file.
469         * doc/gfortran/intrinsic-procedures/iall.rst: New file.
470         * doc/gfortran/intrinsic-procedures/iand.rst: New file.
471         * doc/gfortran/intrinsic-procedures/iany.rst: New file.
472         * doc/gfortran/intrinsic-procedures/iargc.rst: New file.
473         * doc/gfortran/intrinsic-procedures/ibclr.rst: New file.
474         * doc/gfortran/intrinsic-procedures/ibits.rst: New file.
475         * doc/gfortran/intrinsic-procedures/ibset.rst: New file.
476         * doc/gfortran/intrinsic-procedures/ichar.rst: New file.
477         * doc/gfortran/intrinsic-procedures/idate.rst: New file.
478         * doc/gfortran/intrinsic-procedures/ieor.rst: New file.
479         * doc/gfortran/intrinsic-procedures/ierrno.rst: New file.
480         * doc/gfortran/intrinsic-procedures/imageindex.rst: New file.
481         * doc/gfortran/intrinsic-procedures/index.rst: New file.
482         * doc/gfortran/intrinsic-procedures/int.rst: New file.
483         * doc/gfortran/intrinsic-procedures/int2.rst: New file.
484         * doc/gfortran/intrinsic-procedures/int8.rst: New file.
485         * doc/gfortran/intrinsic-procedures/introduction-to-intrinsic-procedures.rst: New file.
486         * doc/gfortran/intrinsic-procedures/ior.rst: New file.
487         * doc/gfortran/intrinsic-procedures/iparity.rst: New file.
488         * doc/gfortran/intrinsic-procedures/irand.rst: New file.
489         * doc/gfortran/intrinsic-procedures/isatty.rst: New file.
490         * doc/gfortran/intrinsic-procedures/iscontiguous.rst: New file.
491         * doc/gfortran/intrinsic-procedures/ishft.rst: New file.
492         * doc/gfortran/intrinsic-procedures/ishftc.rst: New file.
493         * doc/gfortran/intrinsic-procedures/isiostatend.rst: New file.
494         * doc/gfortran/intrinsic-procedures/isiostateor.rst: New file.
495         * doc/gfortran/intrinsic-procedures/isnan.rst: New file.
496         * doc/gfortran/intrinsic-procedures/itime.rst: New file.
497         * doc/gfortran/intrinsic-procedures/kill.rst: New file.
498         * doc/gfortran/intrinsic-procedures/kind.rst: New file.
499         * doc/gfortran/intrinsic-procedures/lbound.rst: New file.
500         * doc/gfortran/intrinsic-procedures/lcobound.rst: New file.
501         * doc/gfortran/intrinsic-procedures/leadz.rst: New file.
502         * doc/gfortran/intrinsic-procedures/len.rst: New file.
503         * doc/gfortran/intrinsic-procedures/lentrim.rst: New file.
504         * doc/gfortran/intrinsic-procedures/lge.rst: New file.
505         * doc/gfortran/intrinsic-procedures/lgt.rst: New file.
506         * doc/gfortran/intrinsic-procedures/link.rst: New file.
507         * doc/gfortran/intrinsic-procedures/lle.rst: New file.
508         * doc/gfortran/intrinsic-procedures/llt.rst: New file.
509         * doc/gfortran/intrinsic-procedures/lnblnk.rst: New file.
510         * doc/gfortran/intrinsic-procedures/loc.rst: New file.
511         * doc/gfortran/intrinsic-procedures/log.rst: New file.
512         * doc/gfortran/intrinsic-procedures/log10.rst: New file.
513         * doc/gfortran/intrinsic-procedures/loggamma.rst: New file.
514         * doc/gfortran/intrinsic-procedures/logical.rst: New file.
515         * doc/gfortran/intrinsic-procedures/lshift.rst: New file.
516         * doc/gfortran/intrinsic-procedures/lstat.rst: New file.
517         * doc/gfortran/intrinsic-procedures/ltime.rst: New file.
518         * doc/gfortran/intrinsic-procedures/malloc.rst: New file.
519         * doc/gfortran/intrinsic-procedures/maskl.rst: New file.
520         * doc/gfortran/intrinsic-procedures/maskr.rst: New file.
521         * doc/gfortran/intrinsic-procedures/matmul.rst: New file.
522         * doc/gfortran/intrinsic-procedures/max.rst: New file.
523         * doc/gfortran/intrinsic-procedures/maxexponent.rst: New file.
524         * doc/gfortran/intrinsic-procedures/maxloc.rst: New file.
525         * doc/gfortran/intrinsic-procedures/maxval.rst: New file.
526         * doc/gfortran/intrinsic-procedures/mclock.rst: New file.
527         * doc/gfortran/intrinsic-procedures/mclock8.rst: New file.
528         * doc/gfortran/intrinsic-procedures/merge.rst: New file.
529         * doc/gfortran/intrinsic-procedures/mergebits.rst: New file.
530         * doc/gfortran/intrinsic-procedures/min.rst: New file.
531         * doc/gfortran/intrinsic-procedures/minexponent.rst: New file.
532         * doc/gfortran/intrinsic-procedures/minloc.rst: New file.
533         * doc/gfortran/intrinsic-procedures/minval.rst: New file.
534         * doc/gfortran/intrinsic-procedures/mod.rst: New file.
535         * doc/gfortran/intrinsic-procedures/modulo.rst: New file.
536         * doc/gfortran/intrinsic-procedures/movealloc.rst: New file.
537         * doc/gfortran/intrinsic-procedures/mvbits.rst: New file.
538         * doc/gfortran/intrinsic-procedures/nearest.rst: New file.
539         * doc/gfortran/intrinsic-procedures/newline.rst: New file.
540         * doc/gfortran/intrinsic-procedures/nint.rst: New file.
541         * doc/gfortran/intrinsic-procedures/norm2.rst: New file.
542         * doc/gfortran/intrinsic-procedures/not.rst: New file.
543         * doc/gfortran/intrinsic-procedures/null.rst: New file.
544         * doc/gfortran/intrinsic-procedures/numimages.rst: New file.
545         * doc/gfortran/intrinsic-procedures/or.rst: New file.
546         * doc/gfortran/intrinsic-procedures/pack.rst: New file.
547         * doc/gfortran/intrinsic-procedures/parity.rst: New file.
548         * doc/gfortran/intrinsic-procedures/perror.rst: New file.
549         * doc/gfortran/intrinsic-procedures/popcnt.rst: New file.
550         * doc/gfortran/intrinsic-procedures/poppar.rst: New file.
551         * doc/gfortran/intrinsic-procedures/precision.rst: New file.
552         * doc/gfortran/intrinsic-procedures/present.rst: New file.
553         * doc/gfortran/intrinsic-procedures/product.rst: New file.
554         * doc/gfortran/intrinsic-procedures/radix.rst: New file.
555         * doc/gfortran/intrinsic-procedures/ran.rst: New file.
556         * doc/gfortran/intrinsic-procedures/rand.rst: New file.
557         * doc/gfortran/intrinsic-procedures/randominit.rst: New file.
558         * doc/gfortran/intrinsic-procedures/randomnumber.rst: New file.
559         * doc/gfortran/intrinsic-procedures/randomseed.rst: New file.
560         * doc/gfortran/intrinsic-procedures/range.rst: New file.
561         * doc/gfortran/intrinsic-procedures/rank.rst: New file.
562         * doc/gfortran/intrinsic-procedures/real.rst: New file.
563         * doc/gfortran/intrinsic-procedures/rename.rst: New file.
564         * doc/gfortran/intrinsic-procedures/repeat.rst: New file.
565         * doc/gfortran/intrinsic-procedures/reshape.rst: New file.
566         * doc/gfortran/intrinsic-procedures/rrspacing.rst: New file.
567         * doc/gfortran/intrinsic-procedures/rshift.rst: New file.
568         * doc/gfortran/intrinsic-procedures/sametypeas.rst: New file.
569         * doc/gfortran/intrinsic-procedures/scale.rst: New file.
570         * doc/gfortran/intrinsic-procedures/scan.rst: New file.
571         * doc/gfortran/intrinsic-procedures/secnds.rst: New file.
572         * doc/gfortran/intrinsic-procedures/second.rst: New file.
573         * doc/gfortran/intrinsic-procedures/selectedcharkind.rst: New file.
574         * doc/gfortran/intrinsic-procedures/selectedintkind.rst: New file.
575         * doc/gfortran/intrinsic-procedures/selectedrealkind.rst: New file.
576         * doc/gfortran/intrinsic-procedures/setexponent.rst: New file.
577         * doc/gfortran/intrinsic-procedures/shape.rst: New file.
578         * doc/gfortran/intrinsic-procedures/shifta.rst: New file.
579         * doc/gfortran/intrinsic-procedures/shiftl.rst: New file.
580         * doc/gfortran/intrinsic-procedures/shiftr.rst: New file.
581         * doc/gfortran/intrinsic-procedures/sign.rst: New file.
582         * doc/gfortran/intrinsic-procedures/signal.rst: New file.
583         * doc/gfortran/intrinsic-procedures/sin.rst: New file.
584         * doc/gfortran/intrinsic-procedures/sind.rst: New file.
585         * doc/gfortran/intrinsic-procedures/sinh.rst: New file.
586         * doc/gfortran/intrinsic-procedures/size.rst: New file.
587         * doc/gfortran/intrinsic-procedures/sizeof.rst: New file.
588         * doc/gfortran/intrinsic-procedures/sleep.rst: New file.
589         * doc/gfortran/intrinsic-procedures/spacing.rst: New file.
590         * doc/gfortran/intrinsic-procedures/spread.rst: New file.
591         * doc/gfortran/intrinsic-procedures/sqrt.rst: New file.
592         * doc/gfortran/intrinsic-procedures/srand.rst: New file.
593         * doc/gfortran/intrinsic-procedures/stat.rst: New file.
594         * doc/gfortran/intrinsic-procedures/storagesize.rst: New file.
595         * doc/gfortran/intrinsic-procedures/sum.rst: New file.
596         * doc/gfortran/intrinsic-procedures/symlnk.rst: New file.
597         * doc/gfortran/intrinsic-procedures/system.rst: New file.
598         * doc/gfortran/intrinsic-procedures/systemclock.rst: New file.
599         * doc/gfortran/intrinsic-procedures/tan.rst: New file.
600         * doc/gfortran/intrinsic-procedures/tand.rst: New file.
601         * doc/gfortran/intrinsic-procedures/tanh.rst: New file.
602         * doc/gfortran/intrinsic-procedures/thisimage.rst: New file.
603         * doc/gfortran/intrinsic-procedures/time.rst: New file.
604         * doc/gfortran/intrinsic-procedures/time8.rst: New file.
605         * doc/gfortran/intrinsic-procedures/tiny.rst: New file.
606         * doc/gfortran/intrinsic-procedures/trailz.rst: New file.
607         * doc/gfortran/intrinsic-procedures/transfer.rst: New file.
608         * doc/gfortran/intrinsic-procedures/transpose.rst: New file.
609         * doc/gfortran/intrinsic-procedures/trim.rst: New file.
610         * doc/gfortran/intrinsic-procedures/ttynam.rst: New file.
611         * doc/gfortran/intrinsic-procedures/ubound.rst: New file.
612         * doc/gfortran/intrinsic-procedures/ucobound.rst: New file.
613         * doc/gfortran/intrinsic-procedures/umask.rst: New file.
614         * doc/gfortran/intrinsic-procedures/unlink.rst: New file.
615         * doc/gfortran/intrinsic-procedures/unpack.rst: New file.
616         * doc/gfortran/intrinsic-procedures/verify.rst: New file.
617         * doc/gfortran/intrinsic-procedures/xor.rst: New file.
618         * doc/gfortran/introduction.rst: New file.
619         * doc/gfortran/mixed-language-programming.rst: New file.
620         * doc/gfortran/naming-and-argument-passing-conventions.rst: New file.
621         * doc/gfortran/non-fortran-main-program.rst: New file.
622         * doc/gfortran/projects.rst: New file.
623         * doc/gfortran/runtime.rst: New file.
624         * doc/gfortran/runtime/gfortranconvertunit.rst: New file.
625         * doc/gfortran/runtime/gfortranerrorbacktrace.rst: New file.
626         * doc/gfortran/runtime/gfortranformattedbuffersize.rst: New file.
627         * doc/gfortran/runtime/gfortranlistseparator.rst: New file.
628         * doc/gfortran/runtime/gfortranoptionalplus.rst: New file.
629         * doc/gfortran/runtime/gfortranshowlocus.rst: New file.
630         * doc/gfortran/runtime/gfortranstderrunit.rst: New file.
631         * doc/gfortran/runtime/gfortranstdinunit.rst: New file.
632         * doc/gfortran/runtime/gfortranstdoutunit.rst: New file.
633         * doc/gfortran/runtime/gfortranunbufferedall.rst: New file.
634         * doc/gfortran/runtime/gfortranunbufferedpreconnected.rst: New file.
635         * doc/gfortran/runtime/gfortranunformattedbuffersize.rst: New file.
636         * doc/gfortran/runtime/tmpdir.rst: New file.
637         * doc/gfortran/standards.rst: New file.
638         * doc/gfortran/type-and-enum-abi-documentation.rst: New file.
640 2022-11-14  Martin Liska  <mliska@suse.cz>
642         Revert:
643         2022-11-14  Martin Liska  <mliska@suse.cz>
645         * Make-lang.in: Support Sphinx based documentation.
647 2022-11-14  Martin Liska  <mliska@suse.cz>
649         Revert:
650         2022-11-14  Martin Liska  <mliska@suse.cz>
652         * gfc-internals.texi: Removed.
653         * gfortran.texi: Removed.
654         * intrinsic.texi: Removed.
655         * invoke.texi: Removed.
657 2022-11-14  Martin Liska  <mliska@suse.cz>
659         Revert:
660         2022-11-14  Martin Liska  <mliska@suse.cz>
662         * Make-lang.in: Support --with-sphinx-build.
664 2022-11-14  Martin Liska  <mliska@suse.cz>
666         Revert:
667         2022-11-14  Martin Liska  <mliska@suse.cz>
669         * Make-lang.in:
670         Support installation if sphinx-build is missing.
672 2022-11-14  Martin Liska  <mliska@suse.cz>
674         Revert:
675         2022-11-09  Martin Liska  <mliska@suse.cz>
677         * doc/gfortran/intrinsic-procedures/aint.rst: Simplify function
678         declaration.
679         * doc/gfortran/intrinsic-procedures/int.rst: Likewise.
680         * doc/gfortran/intrinsic-procedures/anint.rst: Likewise.
681         * doc/gfortran/intrinsic-procedures/char.rst: Likewise.
682         * doc/gfortran/intrinsic-procedures/real.rst: Likewise.
684 2022-11-14  Martin Liska  <mliska@suse.cz>
686         Revert:
687         2022-11-14  Martin Liska  <mliska@suse.cz>
689         * doc/gfc-internals/code-that-interacts-with-the-user.rst:
690         Add trailing newline.
691         * doc/gfc-internals/command-line-options.rst:
692         Add trailing newline.
693         * doc/gfc-internals/copyright.rst:
694         Add trailing newline.
695         * doc/gfc-internals/error-handling.rst:
696         Add trailing newline.
697         * doc/gfc-internals/frontend-data-structures.rst:
698         Add trailing newline.
699         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages.rst:
700         Add trailing newline.
701         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/accessing-declarations.rst:
702         Add trailing newline.
703         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/basic-data-structures.rst:
704         Add trailing newline.
705         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/converting-expressions-to-tree.rst:
706         Add trailing newline.
707         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/translating-statements.rst:
708         Add trailing newline.
709         * doc/gfc-internals/gfccode.rst:
710         Add trailing newline.
711         * doc/gfc-internals/gfcexpr.rst:
712         Add trailing newline.
713         * doc/gfc-internals/gnu-free-documentation-license.rst:
714         Add trailing newline.
715         * doc/gfc-internals/index.rst:
716         Add trailing newline.
717         * doc/gfc-internals/indices-and-tables.rst:
718         Add trailing newline.
719         * doc/gfc-internals/internals-of-fortran-2003-oop-features.rst:
720         Add trailing newline.
721         * doc/gfc-internals/introduction.rst:
722         Add trailing newline.
723         * doc/gfc-internals/symbol-versioning.rst:
724         Add trailing newline.
725         * doc/gfc-internals/the-libgfortran-runtime-library.rst:
726         Add trailing newline.
727         * doc/gfc-internals/type-bound-operators.rst:
728         Add trailing newline.
729         * doc/gfc-internals/type-bound-procedures.rst:
730         Add trailing newline.
731         * doc/gfortran/about-gnu-fortran.rst:
732         Add trailing newline.
733         * doc/gfortran/coarray-programming.rst:
734         Add trailing newline.
735         * doc/gfortran/compiler-characteristics.rst:
736         Add trailing newline.
737         * doc/gfortran/compiler-characteristics/asynchronous-i-o.rst:
738         Add trailing newline.
739         * doc/gfortran/compiler-characteristics/data-consistency-and-durability.rst:
740         Add trailing newline.
741         * doc/gfortran/compiler-characteristics/evaluation-of-logical-expressions.rst:
742         Add trailing newline.
743         * doc/gfortran/compiler-characteristics/file-format-of-unformatted-sequential-files.rst:
744         Add trailing newline.
745         * doc/gfortran/compiler-characteristics/file-operations-on-symbolic-links.rst:
746         Add trailing newline.
747         * doc/gfortran/compiler-characteristics/files-opened-without-an-explicit-action=-specifier.rst:
748         Add trailing newline.
749         * doc/gfortran/compiler-characteristics/internal-representation-of-logical-variables.rst:
750         Add trailing newline.
751         * doc/gfortran/compiler-characteristics/kind-type-parameters.rst:
752         Add trailing newline.
753         * doc/gfortran/compiler-characteristics/max-and-min-intrinsics-with-real-nan-arguments.rst:
754         Add trailing newline.
755         * doc/gfortran/compiler-characteristics/thread-safety-of-the-runtime-library.rst:
756         Add trailing newline.
757         * doc/gfortran/contributing.rst:
758         Add trailing newline.
759         * doc/gfortran/contributors-to-gnu-fortran.rst:
760         Add trailing newline.
761         * doc/gfortran/copyright.rst:
762         Add trailing newline.
763         * doc/gfortran/extensions-implemented-in-gnu-fortran.rst:
764         Add trailing newline.
765         * doc/gfortran/extensions-not-implemented-in-gnu-fortran.rst:
766         Add trailing newline.
767         * doc/gfortran/extensions.rst:
768         Add trailing newline.
769         * doc/gfortran/function-abi-documentation.rst:
770         Add trailing newline.
771         * doc/gfortran/funding.rst:
772         Add trailing newline.
773         * doc/gfortran/general-public-license-3.rst:
774         Add trailing newline.
775         * doc/gfortran/gnu-fortran-and-gcc.rst:
776         Add trailing newline.
777         * doc/gfortran/gnu-fortran-command-options.rst:
778         Add trailing newline.
779         * doc/gfortran/gnu-fortran-command-options/description.rst:
780         Add trailing newline.
781         * doc/gfortran/gnu-fortran-command-options/enable-and-customize-preprocessing.rst:
782         Add trailing newline.
783         * doc/gfortran/gnu-fortran-command-options/environment-variables-affecting-gfortran.rst:
784         Add trailing newline.
785         * doc/gfortran/gnu-fortran-command-options/influencing-runtime-behavior.rst:
786         Add trailing newline.
787         * doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst:
788         Add trailing newline.
789         * doc/gfortran/gnu-fortran-command-options/option-summary.rst:
790         Add trailing newline.
791         * doc/gfortran/gnu-fortran-command-options/options-controlling-fortran-dialect.rst:
792         Add trailing newline.
793         * doc/gfortran/gnu-fortran-command-options/options-for-code-generation-conventions.rst:
794         Add trailing newline.
795         * doc/gfortran/gnu-fortran-command-options/options-for-debugging-your-program-or-gnu-fortran.rst:
796         Add trailing newline.
797         * doc/gfortran/gnu-fortran-command-options/options-for-directory-search.rst:
798         Add trailing newline.
799         * doc/gfortran/gnu-fortran-command-options/options-for-interoperability-with-other-languages.rst:
800         Add trailing newline.
801         * doc/gfortran/gnu-fortran-command-options/options-to-request-or-suppress-errors-and-warnings.rst:
802         Add trailing newline.
803         * doc/gfortran/gnu-fortran-compiler-directives.rst:
804         Add trailing newline.
805         * doc/gfortran/gnu-free-documentation-license.rst:
806         Add trailing newline.
807         * doc/gfortran/index.rst:
808         Add trailing newline.
809         * doc/gfortran/indices-and-tables.rst:
810         Add trailing newline.
811         * doc/gfortran/interoperability-with-c.rst:
812         Add trailing newline.
813         * doc/gfortran/intrinsic-modules.rst:
814         Add trailing newline.
815         * doc/gfortran/intrinsic-modules/ieee-modules-ieeeexceptions-ieeearithmetic-and-ieeefeatures.rst:
816         Add trailing newline.
817         * doc/gfortran/intrinsic-modules/isocbinding.rst:
818         Add trailing newline.
819         * doc/gfortran/intrinsic-modules/isofortranenv.rst:
820         Add trailing newline.
821         * doc/gfortran/intrinsic-modules/openacc-module-openacc.rst:
822         Add trailing newline.
823         * doc/gfortran/intrinsic-modules/openmp-modules-omplib-and-omplibkinds.rst:
824         Add trailing newline.
825         * doc/gfortran/intrinsic-procedures.rst:
826         Add trailing newline.
827         * doc/gfortran/intrinsic-procedures/abort.rst:
828         Add trailing newline.
829         * doc/gfortran/intrinsic-procedures/abs.rst:
830         Add trailing newline.
831         * doc/gfortran/intrinsic-procedures/access.rst:
832         Add trailing newline.
833         * doc/gfortran/intrinsic-procedures/achar.rst:
834         Add trailing newline.
835         * doc/gfortran/intrinsic-procedures/acos.rst:
836         Add trailing newline.
837         * doc/gfortran/intrinsic-procedures/acosd.rst:
838         Add trailing newline.
839         * doc/gfortran/intrinsic-procedures/acosh.rst:
840         Add trailing newline.
841         * doc/gfortran/intrinsic-procedures/adjustl.rst:
842         Add trailing newline.
843         * doc/gfortran/intrinsic-procedures/adjustr.rst:
844         Add trailing newline.
845         * doc/gfortran/intrinsic-procedures/aimag.rst:
846         Add trailing newline.
847         * doc/gfortran/intrinsic-procedures/alarm.rst:
848         Add trailing newline.
849         * doc/gfortran/intrinsic-procedures/all.rst:
850         Add trailing newline.
851         * doc/gfortran/intrinsic-procedures/allocated.rst:
852         Add trailing newline.
853         * doc/gfortran/intrinsic-procedures/and.rst:
854         Add trailing newline.
855         * doc/gfortran/intrinsic-procedures/any.rst:
856         Add trailing newline.
857         * doc/gfortran/intrinsic-procedures/asin.rst:
858         Add trailing newline.
859         * doc/gfortran/intrinsic-procedures/asind.rst:
860         Add trailing newline.
861         * doc/gfortran/intrinsic-procedures/asinh.rst:
862         Add trailing newline.
863         * doc/gfortran/intrinsic-procedures/associated.rst:
864         Add trailing newline.
865         * doc/gfortran/intrinsic-procedures/atan.rst:
866         Add trailing newline.
867         * doc/gfortran/intrinsic-procedures/atan2.rst:
868         Add trailing newline.
869         * doc/gfortran/intrinsic-procedures/atan2d.rst:
870         Add trailing newline.
871         * doc/gfortran/intrinsic-procedures/atand.rst:
872         Add trailing newline.
873         * doc/gfortran/intrinsic-procedures/atanh.rst:
874         Add trailing newline.
875         * doc/gfortran/intrinsic-procedures/atomicadd.rst:
876         Add trailing newline.
877         * doc/gfortran/intrinsic-procedures/atomicand.rst:
878         Add trailing newline.
879         * doc/gfortran/intrinsic-procedures/atomiccas.rst:
880         Add trailing newline.
881         * doc/gfortran/intrinsic-procedures/atomicdefine.rst:
882         Add trailing newline.
883         * doc/gfortran/intrinsic-procedures/atomicfetchadd.rst:
884         Add trailing newline.
885         * doc/gfortran/intrinsic-procedures/atomicfetchand.rst:
886         Add trailing newline.
887         * doc/gfortran/intrinsic-procedures/atomicfetchor.rst:
888         Add trailing newline.
889         * doc/gfortran/intrinsic-procedures/atomicfetchxor.rst:
890         Add trailing newline.
891         * doc/gfortran/intrinsic-procedures/atomicor.rst:
892         Add trailing newline.
893         * doc/gfortran/intrinsic-procedures/atomicref.rst:
894         Add trailing newline.
895         * doc/gfortran/intrinsic-procedures/atomicxor.rst:
896         Add trailing newline.
897         * doc/gfortran/intrinsic-procedures/backtrace.rst:
898         Add trailing newline.
899         * doc/gfortran/intrinsic-procedures/besselj0.rst:
900         Add trailing newline.
901         * doc/gfortran/intrinsic-procedures/besselj1.rst:
902         Add trailing newline.
903         * doc/gfortran/intrinsic-procedures/besseljn.rst:
904         Add trailing newline.
905         * doc/gfortran/intrinsic-procedures/bessely0.rst:
906         Add trailing newline.
907         * doc/gfortran/intrinsic-procedures/bessely1.rst:
908         Add trailing newline.
909         * doc/gfortran/intrinsic-procedures/besselyn.rst:
910         Add trailing newline.
911         * doc/gfortran/intrinsic-procedures/bge.rst:
912         Add trailing newline.
913         * doc/gfortran/intrinsic-procedures/bgt.rst:
914         Add trailing newline.
915         * doc/gfortran/intrinsic-procedures/bitsize.rst:
916         Add trailing newline.
917         * doc/gfortran/intrinsic-procedures/ble.rst:
918         Add trailing newline.
919         * doc/gfortran/intrinsic-procedures/blt.rst:
920         Add trailing newline.
921         * doc/gfortran/intrinsic-procedures/btest.rst:
922         Add trailing newline.
923         * doc/gfortran/intrinsic-procedures/cassociated.rst:
924         Add trailing newline.
925         * doc/gfortran/intrinsic-procedures/ceiling.rst:
926         Add trailing newline.
927         * doc/gfortran/intrinsic-procedures/cfpointer.rst:
928         Add trailing newline.
929         * doc/gfortran/intrinsic-procedures/cfprocpointer.rst:
930         Add trailing newline.
931         * doc/gfortran/intrinsic-procedures/cfunloc.rst:
932         Add trailing newline.
933         * doc/gfortran/intrinsic-procedures/chdir.rst:
934         Add trailing newline.
935         * doc/gfortran/intrinsic-procedures/chmod.rst:
936         Add trailing newline.
937         * doc/gfortran/intrinsic-procedures/cloc.rst:
938         Add trailing newline.
939         * doc/gfortran/intrinsic-procedures/cmplx.rst:
940         Add trailing newline.
941         * doc/gfortran/intrinsic-procedures/cobroadcast.rst:
942         Add trailing newline.
943         * doc/gfortran/intrinsic-procedures/comax.rst:
944         Add trailing newline.
945         * doc/gfortran/intrinsic-procedures/comin.rst:
946         Add trailing newline.
947         * doc/gfortran/intrinsic-procedures/commandargumentcount.rst:
948         Add trailing newline.
949         * doc/gfortran/intrinsic-procedures/compileroptions.rst:
950         Add trailing newline.
951         * doc/gfortran/intrinsic-procedures/compilerversion.rst:
952         Add trailing newline.
953         * doc/gfortran/intrinsic-procedures/complex.rst:
954         Add trailing newline.
955         * doc/gfortran/intrinsic-procedures/conjg.rst:
956         Add trailing newline.
957         * doc/gfortran/intrinsic-procedures/coreduce.rst:
958         Add trailing newline.
959         * doc/gfortran/intrinsic-procedures/cos.rst:
960         Add trailing newline.
961         * doc/gfortran/intrinsic-procedures/cosd.rst:
962         Add trailing newline.
963         * doc/gfortran/intrinsic-procedures/cosh.rst:
964         Add trailing newline.
965         * doc/gfortran/intrinsic-procedures/cosum.rst:
966         Add trailing newline.
967         * doc/gfortran/intrinsic-procedures/cotan.rst:
968         Add trailing newline.
969         * doc/gfortran/intrinsic-procedures/cotand.rst:
970         Add trailing newline.
971         * doc/gfortran/intrinsic-procedures/count.rst:
972         Add trailing newline.
973         * doc/gfortran/intrinsic-procedures/cputime.rst:
974         Add trailing newline.
975         * doc/gfortran/intrinsic-procedures/cshift.rst:
976         Add trailing newline.
977         * doc/gfortran/intrinsic-procedures/csizeof.rst:
978         Add trailing newline.
979         * doc/gfortran/intrinsic-procedures/ctime.rst:
980         Add trailing newline.
981         * doc/gfortran/intrinsic-procedures/dateandtime.rst:
982         Add trailing newline.
983         * doc/gfortran/intrinsic-procedures/dble.rst:
984         Add trailing newline.
985         * doc/gfortran/intrinsic-procedures/dcmplx.rst:
986         Add trailing newline.
987         * doc/gfortran/intrinsic-procedures/digits.rst:
988         Add trailing newline.
989         * doc/gfortran/intrinsic-procedures/dim.rst:
990         Add trailing newline.
991         * doc/gfortran/intrinsic-procedures/dotproduct.rst:
992         Add trailing newline.
993         * doc/gfortran/intrinsic-procedures/dprod.rst:
994         Add trailing newline.
995         * doc/gfortran/intrinsic-procedures/dreal.rst:
996         Add trailing newline.
997         * doc/gfortran/intrinsic-procedures/dshiftl.rst:
998         Add trailing newline.
999         * doc/gfortran/intrinsic-procedures/dshiftr.rst:
1000         Add trailing newline.
1001         * doc/gfortran/intrinsic-procedures/dtime.rst:
1002         Add trailing newline.
1003         * doc/gfortran/intrinsic-procedures/eoshift.rst:
1004         Add trailing newline.
1005         * doc/gfortran/intrinsic-procedures/epsilon.rst:
1006         Add trailing newline.
1007         * doc/gfortran/intrinsic-procedures/erf.rst:
1008         Add trailing newline.
1009         * doc/gfortran/intrinsic-procedures/erfc.rst:
1010         Add trailing newline.
1011         * doc/gfortran/intrinsic-procedures/erfcscaled.rst:
1012         Add trailing newline.
1013         * doc/gfortran/intrinsic-procedures/etime.rst:
1014         Add trailing newline.
1015         * doc/gfortran/intrinsic-procedures/eventquery.rst:
1016         Add trailing newline.
1017         * doc/gfortran/intrinsic-procedures/executecommandline.rst:
1018         Add trailing newline.
1019         * doc/gfortran/intrinsic-procedures/exit.rst:
1020         Add trailing newline.
1021         * doc/gfortran/intrinsic-procedures/exp.rst:
1022         Add trailing newline.
1023         * doc/gfortran/intrinsic-procedures/exponent.rst:
1024         Add trailing newline.
1025         * doc/gfortran/intrinsic-procedures/extendstypeof.rst:
1026         Add trailing newline.
1027         * doc/gfortran/intrinsic-procedures/fdate.rst:
1028         Add trailing newline.
1029         * doc/gfortran/intrinsic-procedures/fget.rst:
1030         Add trailing newline.
1031         * doc/gfortran/intrinsic-procedures/fgetc.rst:
1032         Add trailing newline.
1033         * doc/gfortran/intrinsic-procedures/findloc.rst:
1034         Add trailing newline.
1035         * doc/gfortran/intrinsic-procedures/floor.rst:
1036         Add trailing newline.
1037         * doc/gfortran/intrinsic-procedures/flush.rst:
1038         Add trailing newline.
1039         * doc/gfortran/intrinsic-procedures/fnum.rst:
1040         Add trailing newline.
1041         * doc/gfortran/intrinsic-procedures/fput.rst:
1042         Add trailing newline.
1043         * doc/gfortran/intrinsic-procedures/fputc.rst:
1044         Add trailing newline.
1045         * doc/gfortran/intrinsic-procedures/fraction.rst:
1046         Add trailing newline.
1047         * doc/gfortran/intrinsic-procedures/free.rst:
1048         Add trailing newline.
1049         * doc/gfortran/intrinsic-procedures/fseek.rst:
1050         Add trailing newline.
1051         * doc/gfortran/intrinsic-procedures/fstat.rst:
1052         Add trailing newline.
1053         * doc/gfortran/intrinsic-procedures/ftell.rst:
1054         Add trailing newline.
1055         * doc/gfortran/intrinsic-procedures/gamma.rst:
1056         Add trailing newline.
1057         * doc/gfortran/intrinsic-procedures/gerror.rst:
1058         Add trailing newline.
1059         * doc/gfortran/intrinsic-procedures/getarg.rst:
1060         Add trailing newline.
1061         * doc/gfortran/intrinsic-procedures/getcommand.rst:
1062         Add trailing newline.
1063         * doc/gfortran/intrinsic-procedures/getcommandargument.rst:
1064         Add trailing newline.
1065         * doc/gfortran/intrinsic-procedures/getcwd.rst:
1066         Add trailing newline.
1067         * doc/gfortran/intrinsic-procedures/getenv.rst:
1068         Add trailing newline.
1069         * doc/gfortran/intrinsic-procedures/getenvironmentvariable.rst:
1070         Add trailing newline.
1071         * doc/gfortran/intrinsic-procedures/getgid.rst:
1072         Add trailing newline.
1073         * doc/gfortran/intrinsic-procedures/getlog.rst:
1074         Add trailing newline.
1075         * doc/gfortran/intrinsic-procedures/getpid.rst:
1076         Add trailing newline.
1077         * doc/gfortran/intrinsic-procedures/getuid.rst:
1078         Add trailing newline.
1079         * doc/gfortran/intrinsic-procedures/gmtime.rst:
1080         Add trailing newline.
1081         * doc/gfortran/intrinsic-procedures/hostnm.rst:
1082         Add trailing newline.
1083         * doc/gfortran/intrinsic-procedures/huge.rst:
1084         Add trailing newline.
1085         * doc/gfortran/intrinsic-procedures/hypot.rst:
1086         Add trailing newline.
1087         * doc/gfortran/intrinsic-procedures/iachar.rst:
1088         Add trailing newline.
1089         * doc/gfortran/intrinsic-procedures/iall.rst:
1090         Add trailing newline.
1091         * doc/gfortran/intrinsic-procedures/iand.rst:
1092         Add trailing newline.
1093         * doc/gfortran/intrinsic-procedures/iany.rst:
1094         Add trailing newline.
1095         * doc/gfortran/intrinsic-procedures/iargc.rst:
1096         Add trailing newline.
1097         * doc/gfortran/intrinsic-procedures/ibclr.rst:
1098         Add trailing newline.
1099         * doc/gfortran/intrinsic-procedures/ibits.rst:
1100         Add trailing newline.
1101         * doc/gfortran/intrinsic-procedures/ibset.rst:
1102         Add trailing newline.
1103         * doc/gfortran/intrinsic-procedures/ichar.rst:
1104         Add trailing newline.
1105         * doc/gfortran/intrinsic-procedures/idate.rst:
1106         Add trailing newline.
1107         * doc/gfortran/intrinsic-procedures/ieor.rst:
1108         Add trailing newline.
1109         * doc/gfortran/intrinsic-procedures/ierrno.rst:
1110         Add trailing newline.
1111         * doc/gfortran/intrinsic-procedures/imageindex.rst:
1112         Add trailing newline.
1113         * doc/gfortran/intrinsic-procedures/index.rst:
1114         Add trailing newline.
1115         * doc/gfortran/intrinsic-procedures/int2.rst:
1116         Add trailing newline.
1117         * doc/gfortran/intrinsic-procedures/int8.rst:
1118         Add trailing newline.
1119         * doc/gfortran/intrinsic-procedures/introduction-to-intrinsic-procedures.rst:
1120         Add trailing newline.
1121         * doc/gfortran/intrinsic-procedures/ior.rst:
1122         Add trailing newline.
1123         * doc/gfortran/intrinsic-procedures/iparity.rst:
1124         Add trailing newline.
1125         * doc/gfortran/intrinsic-procedures/irand.rst:
1126         Add trailing newline.
1127         * doc/gfortran/intrinsic-procedures/isatty.rst:
1128         Add trailing newline.
1129         * doc/gfortran/intrinsic-procedures/iscontiguous.rst:
1130         Add trailing newline.
1131         * doc/gfortran/intrinsic-procedures/ishft.rst:
1132         Add trailing newline.
1133         * doc/gfortran/intrinsic-procedures/ishftc.rst:
1134         Add trailing newline.
1135         * doc/gfortran/intrinsic-procedures/isiostatend.rst:
1136         Add trailing newline.
1137         * doc/gfortran/intrinsic-procedures/isiostateor.rst:
1138         Add trailing newline.
1139         * doc/gfortran/intrinsic-procedures/isnan.rst:
1140         Add trailing newline.
1141         * doc/gfortran/intrinsic-procedures/itime.rst:
1142         Add trailing newline.
1143         * doc/gfortran/intrinsic-procedures/kill.rst:
1144         Add trailing newline.
1145         * doc/gfortran/intrinsic-procedures/kind.rst:
1146         Add trailing newline.
1147         * doc/gfortran/intrinsic-procedures/lbound.rst:
1148         Add trailing newline.
1149         * doc/gfortran/intrinsic-procedures/lcobound.rst:
1150         Add trailing newline.
1151         * doc/gfortran/intrinsic-procedures/leadz.rst:
1152         Add trailing newline.
1153         * doc/gfortran/intrinsic-procedures/len.rst:
1154         Add trailing newline.
1155         * doc/gfortran/intrinsic-procedures/lentrim.rst:
1156         Add trailing newline.
1157         * doc/gfortran/intrinsic-procedures/lge.rst:
1158         Add trailing newline.
1159         * doc/gfortran/intrinsic-procedures/lgt.rst:
1160         Add trailing newline.
1161         * doc/gfortran/intrinsic-procedures/link.rst:
1162         Add trailing newline.
1163         * doc/gfortran/intrinsic-procedures/lle.rst:
1164         Add trailing newline.
1165         * doc/gfortran/intrinsic-procedures/llt.rst:
1166         Add trailing newline.
1167         * doc/gfortran/intrinsic-procedures/lnblnk.rst:
1168         Add trailing newline.
1169         * doc/gfortran/intrinsic-procedures/loc.rst:
1170         Add trailing newline.
1171         * doc/gfortran/intrinsic-procedures/log.rst:
1172         Add trailing newline.
1173         * doc/gfortran/intrinsic-procedures/log10.rst:
1174         Add trailing newline.
1175         * doc/gfortran/intrinsic-procedures/loggamma.rst:
1176         Add trailing newline.
1177         * doc/gfortran/intrinsic-procedures/logical.rst:
1178         Add trailing newline.
1179         * doc/gfortran/intrinsic-procedures/lshift.rst:
1180         Add trailing newline.
1181         * doc/gfortran/intrinsic-procedures/lstat.rst:
1182         Add trailing newline.
1183         * doc/gfortran/intrinsic-procedures/ltime.rst:
1184         Add trailing newline.
1185         * doc/gfortran/intrinsic-procedures/malloc.rst:
1186         Add trailing newline.
1187         * doc/gfortran/intrinsic-procedures/maskl.rst:
1188         Add trailing newline.
1189         * doc/gfortran/intrinsic-procedures/maskr.rst:
1190         Add trailing newline.
1191         * doc/gfortran/intrinsic-procedures/matmul.rst:
1192         Add trailing newline.
1193         * doc/gfortran/intrinsic-procedures/max.rst:
1194         Add trailing newline.
1195         * doc/gfortran/intrinsic-procedures/maxexponent.rst:
1196         Add trailing newline.
1197         * doc/gfortran/intrinsic-procedures/maxloc.rst:
1198         Add trailing newline.
1199         * doc/gfortran/intrinsic-procedures/maxval.rst:
1200         Add trailing newline.
1201         * doc/gfortran/intrinsic-procedures/mclock.rst:
1202         Add trailing newline.
1203         * doc/gfortran/intrinsic-procedures/mclock8.rst:
1204         Add trailing newline.
1205         * doc/gfortran/intrinsic-procedures/merge.rst:
1206         Add trailing newline.
1207         * doc/gfortran/intrinsic-procedures/mergebits.rst:
1208         Add trailing newline.
1209         * doc/gfortran/intrinsic-procedures/min.rst:
1210         Add trailing newline.
1211         * doc/gfortran/intrinsic-procedures/minexponent.rst:
1212         Add trailing newline.
1213         * doc/gfortran/intrinsic-procedures/minloc.rst:
1214         Add trailing newline.
1215         * doc/gfortran/intrinsic-procedures/minval.rst:
1216         Add trailing newline.
1217         * doc/gfortran/intrinsic-procedures/mod.rst:
1218         Add trailing newline.
1219         * doc/gfortran/intrinsic-procedures/modulo.rst:
1220         Add trailing newline.
1221         * doc/gfortran/intrinsic-procedures/movealloc.rst:
1222         Add trailing newline.
1223         * doc/gfortran/intrinsic-procedures/mvbits.rst:
1224         Add trailing newline.
1225         * doc/gfortran/intrinsic-procedures/nearest.rst:
1226         Add trailing newline.
1227         * doc/gfortran/intrinsic-procedures/newline.rst:
1228         Add trailing newline.
1229         * doc/gfortran/intrinsic-procedures/nint.rst:
1230         Add trailing newline.
1231         * doc/gfortran/intrinsic-procedures/norm2.rst:
1232         Add trailing newline.
1233         * doc/gfortran/intrinsic-procedures/not.rst:
1234         Add trailing newline.
1235         * doc/gfortran/intrinsic-procedures/null.rst:
1236         Add trailing newline.
1237         * doc/gfortran/intrinsic-procedures/numimages.rst:
1238         Add trailing newline.
1239         * doc/gfortran/intrinsic-procedures/or.rst:
1240         Add trailing newline.
1241         * doc/gfortran/intrinsic-procedures/pack.rst:
1242         Add trailing newline.
1243         * doc/gfortran/intrinsic-procedures/parity.rst:
1244         Add trailing newline.
1245         * doc/gfortran/intrinsic-procedures/perror.rst:
1246         Add trailing newline.
1247         * doc/gfortran/intrinsic-procedures/popcnt.rst:
1248         Add trailing newline.
1249         * doc/gfortran/intrinsic-procedures/poppar.rst:
1250         Add trailing newline.
1251         * doc/gfortran/intrinsic-procedures/precision.rst:
1252         Add trailing newline.
1253         * doc/gfortran/intrinsic-procedures/present.rst:
1254         Add trailing newline.
1255         * doc/gfortran/intrinsic-procedures/product.rst:
1256         Add trailing newline.
1257         * doc/gfortran/intrinsic-procedures/radix.rst:
1258         Add trailing newline.
1259         * doc/gfortran/intrinsic-procedures/ran.rst:
1260         Add trailing newline.
1261         * doc/gfortran/intrinsic-procedures/rand.rst:
1262         Add trailing newline.
1263         * doc/gfortran/intrinsic-procedures/randominit.rst:
1264         Add trailing newline.
1265         * doc/gfortran/intrinsic-procedures/randomnumber.rst:
1266         Add trailing newline.
1267         * doc/gfortran/intrinsic-procedures/randomseed.rst:
1268         Add trailing newline.
1269         * doc/gfortran/intrinsic-procedures/range.rst:
1270         Add trailing newline.
1271         * doc/gfortran/intrinsic-procedures/rank.rst:
1272         Add trailing newline.
1273         * doc/gfortran/intrinsic-procedures/rename.rst:
1274         Add trailing newline.
1275         * doc/gfortran/intrinsic-procedures/repeat.rst:
1276         Add trailing newline.
1277         * doc/gfortran/intrinsic-procedures/reshape.rst:
1278         Add trailing newline.
1279         * doc/gfortran/intrinsic-procedures/rrspacing.rst:
1280         Add trailing newline.
1281         * doc/gfortran/intrinsic-procedures/rshift.rst:
1282         Add trailing newline.
1283         * doc/gfortran/intrinsic-procedures/sametypeas.rst:
1284         Add trailing newline.
1285         * doc/gfortran/intrinsic-procedures/scale.rst:
1286         Add trailing newline.
1287         * doc/gfortran/intrinsic-procedures/scan.rst:
1288         Add trailing newline.
1289         * doc/gfortran/intrinsic-procedures/secnds.rst:
1290         Add trailing newline.
1291         * doc/gfortran/intrinsic-procedures/second.rst:
1292         Add trailing newline.
1293         * doc/gfortran/intrinsic-procedures/selectedcharkind.rst:
1294         Add trailing newline.
1295         * doc/gfortran/intrinsic-procedures/selectedintkind.rst:
1296         Add trailing newline.
1297         * doc/gfortran/intrinsic-procedures/selectedrealkind.rst:
1298         Add trailing newline.
1299         * doc/gfortran/intrinsic-procedures/setexponent.rst:
1300         Add trailing newline.
1301         * doc/gfortran/intrinsic-procedures/shape.rst:
1302         Add trailing newline.
1303         * doc/gfortran/intrinsic-procedures/shifta.rst:
1304         Add trailing newline.
1305         * doc/gfortran/intrinsic-procedures/shiftl.rst:
1306         Add trailing newline.
1307         * doc/gfortran/intrinsic-procedures/shiftr.rst:
1308         Add trailing newline.
1309         * doc/gfortran/intrinsic-procedures/sign.rst:
1310         Add trailing newline.
1311         * doc/gfortran/intrinsic-procedures/signal.rst:
1312         Add trailing newline.
1313         * doc/gfortran/intrinsic-procedures/sin.rst:
1314         Add trailing newline.
1315         * doc/gfortran/intrinsic-procedures/sind.rst:
1316         Add trailing newline.
1317         * doc/gfortran/intrinsic-procedures/sinh.rst:
1318         Add trailing newline.
1319         * doc/gfortran/intrinsic-procedures/size.rst:
1320         Add trailing newline.
1321         * doc/gfortran/intrinsic-procedures/sizeof.rst:
1322         Add trailing newline.
1323         * doc/gfortran/intrinsic-procedures/sleep.rst:
1324         Add trailing newline.
1325         * doc/gfortran/intrinsic-procedures/spacing.rst:
1326         Add trailing newline.
1327         * doc/gfortran/intrinsic-procedures/spread.rst:
1328         Add trailing newline.
1329         * doc/gfortran/intrinsic-procedures/sqrt.rst:
1330         Add trailing newline.
1331         * doc/gfortran/intrinsic-procedures/srand.rst:
1332         Add trailing newline.
1333         * doc/gfortran/intrinsic-procedures/stat.rst:
1334         Add trailing newline.
1335         * doc/gfortran/intrinsic-procedures/storagesize.rst:
1336         Add trailing newline.
1337         * doc/gfortran/intrinsic-procedures/sum.rst:
1338         Add trailing newline.
1339         * doc/gfortran/intrinsic-procedures/symlnk.rst:
1340         Add trailing newline.
1341         * doc/gfortran/intrinsic-procedures/system.rst:
1342         Add trailing newline.
1343         * doc/gfortran/intrinsic-procedures/systemclock.rst:
1344         Add trailing newline.
1345         * doc/gfortran/intrinsic-procedures/tan.rst:
1346         Add trailing newline.
1347         * doc/gfortran/intrinsic-procedures/tand.rst:
1348         Add trailing newline.
1349         * doc/gfortran/intrinsic-procedures/tanh.rst:
1350         Add trailing newline.
1351         * doc/gfortran/intrinsic-procedures/thisimage.rst:
1352         Add trailing newline.
1353         * doc/gfortran/intrinsic-procedures/time.rst:
1354         Add trailing newline.
1355         * doc/gfortran/intrinsic-procedures/time8.rst:
1356         Add trailing newline.
1357         * doc/gfortran/intrinsic-procedures/tiny.rst:
1358         Add trailing newline.
1359         * doc/gfortran/intrinsic-procedures/trailz.rst:
1360         Add trailing newline.
1361         * doc/gfortran/intrinsic-procedures/transfer.rst:
1362         Add trailing newline.
1363         * doc/gfortran/intrinsic-procedures/transpose.rst:
1364         Add trailing newline.
1365         * doc/gfortran/intrinsic-procedures/trim.rst:
1366         Add trailing newline.
1367         * doc/gfortran/intrinsic-procedures/ttynam.rst:
1368         Add trailing newline.
1369         * doc/gfortran/intrinsic-procedures/ubound.rst:
1370         Add trailing newline.
1371         * doc/gfortran/intrinsic-procedures/ucobound.rst:
1372         Add trailing newline.
1373         * doc/gfortran/intrinsic-procedures/umask.rst:
1374         Add trailing newline.
1375         * doc/gfortran/intrinsic-procedures/unlink.rst:
1376         Add trailing newline.
1377         * doc/gfortran/intrinsic-procedures/unpack.rst:
1378         Add trailing newline.
1379         * doc/gfortran/intrinsic-procedures/verify.rst:
1380         Add trailing newline.
1381         * doc/gfortran/intrinsic-procedures/xor.rst:
1382         Add trailing newline.
1383         * doc/gfortran/introduction.rst:
1384         Add trailing newline.
1385         * doc/gfortran/mixed-language-programming.rst:
1386         Add trailing newline.
1387         * doc/gfortran/naming-and-argument-passing-conventions.rst:
1388         Add trailing newline.
1389         * doc/gfortran/non-fortran-main-program.rst:
1390         Add trailing newline.
1391         * doc/gfortran/projects.rst:
1392         Add trailing newline.
1393         * doc/gfortran/runtime.rst:
1394         Add trailing newline.
1395         * doc/gfortran/runtime/gfortranconvertunit.rst:
1396         Add trailing newline.
1397         * doc/gfortran/runtime/gfortranerrorbacktrace.rst:
1398         Add trailing newline.
1399         * doc/gfortran/runtime/gfortranformattedbuffersize.rst:
1400         Add trailing newline.
1401         * doc/gfortran/runtime/gfortranlistseparator.rst:
1402         Add trailing newline.
1403         * doc/gfortran/runtime/gfortranoptionalplus.rst:
1404         Add trailing newline.
1405         * doc/gfortran/runtime/gfortranshowlocus.rst:
1406         Add trailing newline.
1407         * doc/gfortran/runtime/gfortranstderrunit.rst:
1408         Add trailing newline.
1409         * doc/gfortran/runtime/gfortranstdinunit.rst:
1410         Add trailing newline.
1411         * doc/gfortran/runtime/gfortranstdoutunit.rst:
1412         Add trailing newline.
1413         * doc/gfortran/runtime/gfortranunbufferedall.rst:
1414         Add trailing newline.
1415         * doc/gfortran/runtime/gfortranunbufferedpreconnected.rst:
1416         Add trailing newline.
1417         * doc/gfortran/runtime/gfortranunformattedbuffersize.rst:
1418         Add trailing newline.
1419         * doc/gfortran/runtime/tmpdir.rst:
1420         Add trailing newline.
1421         * doc/gfortran/standards.rst:
1422         Add trailing newline.
1423         * doc/gfortran/type-and-enum-abi-documentation.rst:
1424         Add trailing newline.
1426 2022-11-14  Martin Liska  <mliska@suse.cz>
1428         Revert:
1429         2022-11-14  Martin Liska  <mliska@suse.cz>
1431         * doc/gfc-internals/conf.py: Add newline at last line.
1432         * doc/gfortran/conf.py: Add newline at last line.
1434 2022-11-14  Martin Liska  <mliska@suse.cz>
1436         Revert:
1437         2022-11-10  Martin Liska  <mliska@suse.cz>
1439         * doc/gfortran/intrinsic-procedures/abs.rst: Move label directly before title.
1440         * doc/gfortran/intrinsic-procedures/acos.rst: Likewise.
1441         * doc/gfortran/intrinsic-procedures/acosd.rst: Likewise.
1442         * doc/gfortran/intrinsic-procedures/acosh.rst: Likewise.
1443         * doc/gfortran/intrinsic-procedures/aimag.rst: Likewise.
1444         * doc/gfortran/intrinsic-procedures/aint.rst: Likewise.
1445         * doc/gfortran/intrinsic-procedures/anint.rst: Likewise.
1446         * doc/gfortran/intrinsic-procedures/asin.rst: Likewise.
1447         * doc/gfortran/intrinsic-procedures/asind.rst: Likewise.
1448         * doc/gfortran/intrinsic-procedures/asinh.rst: Likewise.
1449         * doc/gfortran/intrinsic-procedures/atan.rst: Likewise.
1450         * doc/gfortran/intrinsic-procedures/atan2.rst: Likewise.
1451         * doc/gfortran/intrinsic-procedures/atan2d.rst: Likewise.
1452         * doc/gfortran/intrinsic-procedures/atand.rst: Likewise.
1453         * doc/gfortran/intrinsic-procedures/atanh.rst: Likewise.
1454         * doc/gfortran/intrinsic-procedures/besselj0.rst: Likewise.
1455         * doc/gfortran/intrinsic-procedures/besselj1.rst: Likewise.
1456         * doc/gfortran/intrinsic-procedures/besseljn.rst: Likewise.
1457         * doc/gfortran/intrinsic-procedures/bessely0.rst: Likewise.
1458         * doc/gfortran/intrinsic-procedures/bessely1.rst: Likewise.
1459         * doc/gfortran/intrinsic-procedures/besselyn.rst: Likewise.
1460         * doc/gfortran/intrinsic-procedures/btest.rst: Likewise.
1461         * doc/gfortran/intrinsic-procedures/char.rst: Likewise.
1462         * doc/gfortran/intrinsic-procedures/conjg.rst: Likewise.
1463         * doc/gfortran/intrinsic-procedures/cos.rst: Likewise.
1464         * doc/gfortran/intrinsic-procedures/cosd.rst: Likewise.
1465         * doc/gfortran/intrinsic-procedures/cosh.rst: Likewise.
1466         * doc/gfortran/intrinsic-procedures/cotan.rst: Likewise.
1467         * doc/gfortran/intrinsic-procedures/cotand.rst: Likewise.
1468         * doc/gfortran/intrinsic-procedures/dim.rst: Likewise.
1469         * doc/gfortran/intrinsic-procedures/dprod.rst: Likewise.
1470         * doc/gfortran/intrinsic-procedures/erf.rst: Likewise.
1471         * doc/gfortran/intrinsic-procedures/erfc.rst: Likewise.
1472         * doc/gfortran/intrinsic-procedures/exp.rst: Likewise.
1473         * doc/gfortran/intrinsic-procedures/gamma.rst: Likewise.
1474         * doc/gfortran/intrinsic-procedures/iand.rst: Likewise.
1475         * doc/gfortran/intrinsic-procedures/ibclr.rst: Likewise.
1476         * doc/gfortran/intrinsic-procedures/ibits.rst: Likewise.
1477         * doc/gfortran/intrinsic-procedures/ibset.rst: Likewise.
1478         * doc/gfortran/intrinsic-procedures/ichar.rst: Likewise.
1479         * doc/gfortran/intrinsic-procedures/ieor.rst: Likewise.
1480         * doc/gfortran/intrinsic-procedures/index.rst: Likewise.
1481         * doc/gfortran/intrinsic-procedures/int.rst: Likewise.
1482         * doc/gfortran/intrinsic-procedures/ior.rst: Likewise.
1483         * doc/gfortran/intrinsic-procedures/ishft.rst: Likewise.
1484         * doc/gfortran/intrinsic-procedures/ishftc.rst: Likewise.
1485         * doc/gfortran/intrinsic-procedures/len.rst: Likewise.
1486         * doc/gfortran/intrinsic-procedures/lge.rst: Likewise.
1487         * doc/gfortran/intrinsic-procedures/lgt.rst: Likewise.
1488         * doc/gfortran/intrinsic-procedures/lle.rst: Likewise.
1489         * doc/gfortran/intrinsic-procedures/llt.rst: Likewise.
1490         * doc/gfortran/intrinsic-procedures/log.rst: Likewise.
1491         * doc/gfortran/intrinsic-procedures/log10.rst: Likewise.
1492         * doc/gfortran/intrinsic-procedures/loggamma.rst: Likewise.
1493         * doc/gfortran/intrinsic-procedures/max.rst: Likewise.
1494         * doc/gfortran/intrinsic-procedures/min.rst: Likewise.
1495         * doc/gfortran/intrinsic-procedures/mod.rst: Likewise.
1496         * doc/gfortran/intrinsic-procedures/mvbits.rst: Likewise.
1497         * doc/gfortran/intrinsic-procedures/nint.rst: Likewise.
1498         * doc/gfortran/intrinsic-procedures/not.rst: Likewise.
1499         * doc/gfortran/intrinsic-procedures/real.rst: Likewise.
1500         * doc/gfortran/intrinsic-procedures/sign.rst: Likewise.
1501         * doc/gfortran/intrinsic-procedures/sin.rst: Likewise.
1502         * doc/gfortran/intrinsic-procedures/sind.rst: Likewise.
1503         * doc/gfortran/intrinsic-procedures/sinh.rst: Likewise.
1504         * doc/gfortran/intrinsic-procedures/sqrt.rst: Likewise.
1505         * doc/gfortran/intrinsic-procedures/tan.rst: Likewise.
1506         * doc/gfortran/intrinsic-procedures/tand.rst: Likewise.
1507         * doc/gfortran/intrinsic-procedures/tanh.rst: Likewise.
1509 2022-11-14  Martin Liska  <mliska@suse.cz>
1511         * doc/gfortran/naming-and-argument-passing-conventions.rst:
1512         Revert.
1514 2022-11-13  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
1516         PR fortran/94104
1517         * interface.cc (gfc_compare_actual_formal): Improve error message
1518         dependent on Fortran standard level.
1520 2021-11-06  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
1522         * gfortran.h (gfc_check_include): Remove declaration.
1524 2022-11-12  Harald Anlauf  <anlauf@gmx.de>
1526         PR fortran/107444
1527         * trans-decl.cc (create_function_arglist): Extend presence status
1528         to all intrinsic types, and change prefix of internal symbol to '.'.
1529         * trans-expr.cc (gfc_conv_expr_present): Align to changes in
1530         create_function_arglist.
1531         (gfc_conv_procedure_call): Fix generation of procedure arguments for
1532         the case of character dummy arguments with optional+value attribute.
1533         * trans-types.cc (gfc_get_function_type): Synchronize with changes
1534         to create_function_arglist.
1535         * doc/gfortran/naming-and-argument-passing-conventions.rst: Clarify
1536         the gfortran argument passing conventions with regard to OPTIONAL
1537         dummy arguments of intrinsic type.
1539 2022-11-10  Martin Liska  <mliska@suse.cz>
1541         * doc/gfortran/intrinsic-procedures/abs.rst: Move label directly before title.
1542         * doc/gfortran/intrinsic-procedures/acos.rst: Likewise.
1543         * doc/gfortran/intrinsic-procedures/acosd.rst: Likewise.
1544         * doc/gfortran/intrinsic-procedures/acosh.rst: Likewise.
1545         * doc/gfortran/intrinsic-procedures/aimag.rst: Likewise.
1546         * doc/gfortran/intrinsic-procedures/aint.rst: Likewise.
1547         * doc/gfortran/intrinsic-procedures/anint.rst: Likewise.
1548         * doc/gfortran/intrinsic-procedures/asin.rst: Likewise.
1549         * doc/gfortran/intrinsic-procedures/asind.rst: Likewise.
1550         * doc/gfortran/intrinsic-procedures/asinh.rst: Likewise.
1551         * doc/gfortran/intrinsic-procedures/atan.rst: Likewise.
1552         * doc/gfortran/intrinsic-procedures/atan2.rst: Likewise.
1553         * doc/gfortran/intrinsic-procedures/atan2d.rst: Likewise.
1554         * doc/gfortran/intrinsic-procedures/atand.rst: Likewise.
1555         * doc/gfortran/intrinsic-procedures/atanh.rst: Likewise.
1556         * doc/gfortran/intrinsic-procedures/besselj0.rst: Likewise.
1557         * doc/gfortran/intrinsic-procedures/besselj1.rst: Likewise.
1558         * doc/gfortran/intrinsic-procedures/besseljn.rst: Likewise.
1559         * doc/gfortran/intrinsic-procedures/bessely0.rst: Likewise.
1560         * doc/gfortran/intrinsic-procedures/bessely1.rst: Likewise.
1561         * doc/gfortran/intrinsic-procedures/besselyn.rst: Likewise.
1562         * doc/gfortran/intrinsic-procedures/btest.rst: Likewise.
1563         * doc/gfortran/intrinsic-procedures/char.rst: Likewise.
1564         * doc/gfortran/intrinsic-procedures/conjg.rst: Likewise.
1565         * doc/gfortran/intrinsic-procedures/cos.rst: Likewise.
1566         * doc/gfortran/intrinsic-procedures/cosd.rst: Likewise.
1567         * doc/gfortran/intrinsic-procedures/cosh.rst: Likewise.
1568         * doc/gfortran/intrinsic-procedures/cotan.rst: Likewise.
1569         * doc/gfortran/intrinsic-procedures/cotand.rst: Likewise.
1570         * doc/gfortran/intrinsic-procedures/dim.rst: Likewise.
1571         * doc/gfortran/intrinsic-procedures/dprod.rst: Likewise.
1572         * doc/gfortran/intrinsic-procedures/erf.rst: Likewise.
1573         * doc/gfortran/intrinsic-procedures/erfc.rst: Likewise.
1574         * doc/gfortran/intrinsic-procedures/exp.rst: Likewise.
1575         * doc/gfortran/intrinsic-procedures/gamma.rst: Likewise.
1576         * doc/gfortran/intrinsic-procedures/iand.rst: Likewise.
1577         * doc/gfortran/intrinsic-procedures/ibclr.rst: Likewise.
1578         * doc/gfortran/intrinsic-procedures/ibits.rst: Likewise.
1579         * doc/gfortran/intrinsic-procedures/ibset.rst: Likewise.
1580         * doc/gfortran/intrinsic-procedures/ichar.rst: Likewise.
1581         * doc/gfortran/intrinsic-procedures/ieor.rst: Likewise.
1582         * doc/gfortran/intrinsic-procedures/index.rst: Likewise.
1583         * doc/gfortran/intrinsic-procedures/int.rst: Likewise.
1584         * doc/gfortran/intrinsic-procedures/ior.rst: Likewise.
1585         * doc/gfortran/intrinsic-procedures/ishft.rst: Likewise.
1586         * doc/gfortran/intrinsic-procedures/ishftc.rst: Likewise.
1587         * doc/gfortran/intrinsic-procedures/len.rst: Likewise.
1588         * doc/gfortran/intrinsic-procedures/lge.rst: Likewise.
1589         * doc/gfortran/intrinsic-procedures/lgt.rst: Likewise.
1590         * doc/gfortran/intrinsic-procedures/lle.rst: Likewise.
1591         * doc/gfortran/intrinsic-procedures/llt.rst: Likewise.
1592         * doc/gfortran/intrinsic-procedures/log.rst: Likewise.
1593         * doc/gfortran/intrinsic-procedures/log10.rst: Likewise.
1594         * doc/gfortran/intrinsic-procedures/loggamma.rst: Likewise.
1595         * doc/gfortran/intrinsic-procedures/max.rst: Likewise.
1596         * doc/gfortran/intrinsic-procedures/min.rst: Likewise.
1597         * doc/gfortran/intrinsic-procedures/mod.rst: Likewise.
1598         * doc/gfortran/intrinsic-procedures/mvbits.rst: Likewise.
1599         * doc/gfortran/intrinsic-procedures/nint.rst: Likewise.
1600         * doc/gfortran/intrinsic-procedures/not.rst: Likewise.
1601         * doc/gfortran/intrinsic-procedures/real.rst: Likewise.
1602         * doc/gfortran/intrinsic-procedures/sign.rst: Likewise.
1603         * doc/gfortran/intrinsic-procedures/sin.rst: Likewise.
1604         * doc/gfortran/intrinsic-procedures/sind.rst: Likewise.
1605         * doc/gfortran/intrinsic-procedures/sinh.rst: Likewise.
1606         * doc/gfortran/intrinsic-procedures/sqrt.rst: Likewise.
1607         * doc/gfortran/intrinsic-procedures/tan.rst: Likewise.
1608         * doc/gfortran/intrinsic-procedures/tand.rst: Likewise.
1609         * doc/gfortran/intrinsic-procedures/tanh.rst: Likewise.
1611 2022-11-10  Martin Liska  <mliska@suse.cz>
1613         * doc/gfc-internals/conf.py: Add newline at last line.
1614         * doc/gfortran/conf.py: Add newline at last line.
1616 2022-11-09  Harald Anlauf  <anlauf@gmx.de>
1618         PR fortran/107559
1619         * resolve.cc (resolve_equivalence): Avoid NULL pointer dereference
1620         while emitting diagnostics for bad EQUIVALENCEs.
1622 2022-11-09  Harald Anlauf  <anlauf@gmx.de>
1624         PR fortran/107441
1625         * trans-decl.cc (create_function_arglist): Adjust the ordering of
1626         automatically generated hidden procedure arguments to match the
1627         documented ABI for gfortran.
1628         * trans-types.cc (gfc_get_function_type): Separate hidden parameters
1629         so that the presence flag for optional+value arguments come before
1630         string length, coarray token and offset, as required.
1632 2022-11-09  Martin Liska  <mliska@suse.cz>
1634         * doc/gfc-internals/code-that-interacts-with-the-user.rst:
1635         Add trailing newline.
1636         * doc/gfc-internals/command-line-options.rst:
1637         Add trailing newline.
1638         * doc/gfc-internals/copyright.rst:
1639         Add trailing newline.
1640         * doc/gfc-internals/error-handling.rst:
1641         Add trailing newline.
1642         * doc/gfc-internals/frontend-data-structures.rst:
1643         Add trailing newline.
1644         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages.rst:
1645         Add trailing newline.
1646         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/accessing-declarations.rst:
1647         Add trailing newline.
1648         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/basic-data-structures.rst:
1649         Add trailing newline.
1650         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/converting-expressions-to-tree.rst:
1651         Add trailing newline.
1652         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/translating-statements.rst:
1653         Add trailing newline.
1654         * doc/gfc-internals/gfccode.rst:
1655         Add trailing newline.
1656         * doc/gfc-internals/gfcexpr.rst:
1657         Add trailing newline.
1658         * doc/gfc-internals/gnu-free-documentation-license.rst:
1659         Add trailing newline.
1660         * doc/gfc-internals/index.rst:
1661         Add trailing newline.
1662         * doc/gfc-internals/indices-and-tables.rst:
1663         Add trailing newline.
1664         * doc/gfc-internals/internals-of-fortran-2003-oop-features.rst:
1665         Add trailing newline.
1666         * doc/gfc-internals/introduction.rst:
1667         Add trailing newline.
1668         * doc/gfc-internals/symbol-versioning.rst:
1669         Add trailing newline.
1670         * doc/gfc-internals/the-libgfortran-runtime-library.rst:
1671         Add trailing newline.
1672         * doc/gfc-internals/type-bound-operators.rst:
1673         Add trailing newline.
1674         * doc/gfc-internals/type-bound-procedures.rst:
1675         Add trailing newline.
1676         * doc/gfortran/about-gnu-fortran.rst:
1677         Add trailing newline.
1678         * doc/gfortran/coarray-programming.rst:
1679         Add trailing newline.
1680         * doc/gfortran/compiler-characteristics.rst:
1681         Add trailing newline.
1682         * doc/gfortran/compiler-characteristics/asynchronous-i-o.rst:
1683         Add trailing newline.
1684         * doc/gfortran/compiler-characteristics/data-consistency-and-durability.rst:
1685         Add trailing newline.
1686         * doc/gfortran/compiler-characteristics/evaluation-of-logical-expressions.rst:
1687         Add trailing newline.
1688         * doc/gfortran/compiler-characteristics/file-format-of-unformatted-sequential-files.rst:
1689         Add trailing newline.
1690         * doc/gfortran/compiler-characteristics/file-operations-on-symbolic-links.rst:
1691         Add trailing newline.
1692         * doc/gfortran/compiler-characteristics/files-opened-without-an-explicit-action=-specifier.rst:
1693         Add trailing newline.
1694         * doc/gfortran/compiler-characteristics/internal-representation-of-logical-variables.rst:
1695         Add trailing newline.
1696         * doc/gfortran/compiler-characteristics/kind-type-parameters.rst:
1697         Add trailing newline.
1698         * doc/gfortran/compiler-characteristics/max-and-min-intrinsics-with-real-nan-arguments.rst:
1699         Add trailing newline.
1700         * doc/gfortran/compiler-characteristics/thread-safety-of-the-runtime-library.rst:
1701         Add trailing newline.
1702         * doc/gfortran/contributing.rst:
1703         Add trailing newline.
1704         * doc/gfortran/contributors-to-gnu-fortran.rst:
1705         Add trailing newline.
1706         * doc/gfortran/copyright.rst:
1707         Add trailing newline.
1708         * doc/gfortran/extensions-implemented-in-gnu-fortran.rst:
1709         Add trailing newline.
1710         * doc/gfortran/extensions-not-implemented-in-gnu-fortran.rst:
1711         Add trailing newline.
1712         * doc/gfortran/extensions.rst:
1713         Add trailing newline.
1714         * doc/gfortran/function-abi-documentation.rst:
1715         Add trailing newline.
1716         * doc/gfortran/funding.rst:
1717         Add trailing newline.
1718         * doc/gfortran/general-public-license-3.rst:
1719         Add trailing newline.
1720         * doc/gfortran/gnu-fortran-and-gcc.rst:
1721         Add trailing newline.
1722         * doc/gfortran/gnu-fortran-command-options.rst:
1723         Add trailing newline.
1724         * doc/gfortran/gnu-fortran-command-options/description.rst:
1725         Add trailing newline.
1726         * doc/gfortran/gnu-fortran-command-options/enable-and-customize-preprocessing.rst:
1727         Add trailing newline.
1728         * doc/gfortran/gnu-fortran-command-options/environment-variables-affecting-gfortran.rst:
1729         Add trailing newline.
1730         * doc/gfortran/gnu-fortran-command-options/influencing-runtime-behavior.rst:
1731         Add trailing newline.
1732         * doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst:
1733         Add trailing newline.
1734         * doc/gfortran/gnu-fortran-command-options/option-summary.rst:
1735         Add trailing newline.
1736         * doc/gfortran/gnu-fortran-command-options/options-controlling-fortran-dialect.rst:
1737         Add trailing newline.
1738         * doc/gfortran/gnu-fortran-command-options/options-for-code-generation-conventions.rst:
1739         Add trailing newline.
1740         * doc/gfortran/gnu-fortran-command-options/options-for-debugging-your-program-or-gnu-fortran.rst:
1741         Add trailing newline.
1742         * doc/gfortran/gnu-fortran-command-options/options-for-directory-search.rst:
1743         Add trailing newline.
1744         * doc/gfortran/gnu-fortran-command-options/options-for-interoperability-with-other-languages.rst:
1745         Add trailing newline.
1746         * doc/gfortran/gnu-fortran-command-options/options-to-request-or-suppress-errors-and-warnings.rst:
1747         Add trailing newline.
1748         * doc/gfortran/gnu-fortran-compiler-directives.rst:
1749         Add trailing newline.
1750         * doc/gfortran/gnu-free-documentation-license.rst:
1751         Add trailing newline.
1752         * doc/gfortran/index.rst:
1753         Add trailing newline.
1754         * doc/gfortran/indices-and-tables.rst:
1755         Add trailing newline.
1756         * doc/gfortran/interoperability-with-c.rst:
1757         Add trailing newline.
1758         * doc/gfortran/intrinsic-modules.rst:
1759         Add trailing newline.
1760         * doc/gfortran/intrinsic-modules/ieee-modules-ieeeexceptions-ieeearithmetic-and-ieeefeatures.rst:
1761         Add trailing newline.
1762         * doc/gfortran/intrinsic-modules/isocbinding.rst:
1763         Add trailing newline.
1764         * doc/gfortran/intrinsic-modules/isofortranenv.rst:
1765         Add trailing newline.
1766         * doc/gfortran/intrinsic-modules/openacc-module-openacc.rst:
1767         Add trailing newline.
1768         * doc/gfortran/intrinsic-modules/openmp-modules-omplib-and-omplibkinds.rst:
1769         Add trailing newline.
1770         * doc/gfortran/intrinsic-procedures.rst:
1771         Add trailing newline.
1772         * doc/gfortran/intrinsic-procedures/abort.rst:
1773         Add trailing newline.
1774         * doc/gfortran/intrinsic-procedures/abs.rst:
1775         Add trailing newline.
1776         * doc/gfortran/intrinsic-procedures/access.rst:
1777         Add trailing newline.
1778         * doc/gfortran/intrinsic-procedures/achar.rst:
1779         Add trailing newline.
1780         * doc/gfortran/intrinsic-procedures/acos.rst:
1781         Add trailing newline.
1782         * doc/gfortran/intrinsic-procedures/acosd.rst:
1783         Add trailing newline.
1784         * doc/gfortran/intrinsic-procedures/acosh.rst:
1785         Add trailing newline.
1786         * doc/gfortran/intrinsic-procedures/adjustl.rst:
1787         Add trailing newline.
1788         * doc/gfortran/intrinsic-procedures/adjustr.rst:
1789         Add trailing newline.
1790         * doc/gfortran/intrinsic-procedures/aimag.rst:
1791         Add trailing newline.
1792         * doc/gfortran/intrinsic-procedures/alarm.rst:
1793         Add trailing newline.
1794         * doc/gfortran/intrinsic-procedures/all.rst:
1795         Add trailing newline.
1796         * doc/gfortran/intrinsic-procedures/allocated.rst:
1797         Add trailing newline.
1798         * doc/gfortran/intrinsic-procedures/and.rst:
1799         Add trailing newline.
1800         * doc/gfortran/intrinsic-procedures/any.rst:
1801         Add trailing newline.
1802         * doc/gfortran/intrinsic-procedures/asin.rst:
1803         Add trailing newline.
1804         * doc/gfortran/intrinsic-procedures/asind.rst:
1805         Add trailing newline.
1806         * doc/gfortran/intrinsic-procedures/asinh.rst:
1807         Add trailing newline.
1808         * doc/gfortran/intrinsic-procedures/associated.rst:
1809         Add trailing newline.
1810         * doc/gfortran/intrinsic-procedures/atan.rst:
1811         Add trailing newline.
1812         * doc/gfortran/intrinsic-procedures/atan2.rst:
1813         Add trailing newline.
1814         * doc/gfortran/intrinsic-procedures/atan2d.rst:
1815         Add trailing newline.
1816         * doc/gfortran/intrinsic-procedures/atand.rst:
1817         Add trailing newline.
1818         * doc/gfortran/intrinsic-procedures/atanh.rst:
1819         Add trailing newline.
1820         * doc/gfortran/intrinsic-procedures/atomicadd.rst:
1821         Add trailing newline.
1822         * doc/gfortran/intrinsic-procedures/atomicand.rst:
1823         Add trailing newline.
1824         * doc/gfortran/intrinsic-procedures/atomiccas.rst:
1825         Add trailing newline.
1826         * doc/gfortran/intrinsic-procedures/atomicdefine.rst:
1827         Add trailing newline.
1828         * doc/gfortran/intrinsic-procedures/atomicfetchadd.rst:
1829         Add trailing newline.
1830         * doc/gfortran/intrinsic-procedures/atomicfetchand.rst:
1831         Add trailing newline.
1832         * doc/gfortran/intrinsic-procedures/atomicfetchor.rst:
1833         Add trailing newline.
1834         * doc/gfortran/intrinsic-procedures/atomicfetchxor.rst:
1835         Add trailing newline.
1836         * doc/gfortran/intrinsic-procedures/atomicor.rst:
1837         Add trailing newline.
1838         * doc/gfortran/intrinsic-procedures/atomicref.rst:
1839         Add trailing newline.
1840         * doc/gfortran/intrinsic-procedures/atomicxor.rst:
1841         Add trailing newline.
1842         * doc/gfortran/intrinsic-procedures/backtrace.rst:
1843         Add trailing newline.
1844         * doc/gfortran/intrinsic-procedures/besselj0.rst:
1845         Add trailing newline.
1846         * doc/gfortran/intrinsic-procedures/besselj1.rst:
1847         Add trailing newline.
1848         * doc/gfortran/intrinsic-procedures/besseljn.rst:
1849         Add trailing newline.
1850         * doc/gfortran/intrinsic-procedures/bessely0.rst:
1851         Add trailing newline.
1852         * doc/gfortran/intrinsic-procedures/bessely1.rst:
1853         Add trailing newline.
1854         * doc/gfortran/intrinsic-procedures/besselyn.rst:
1855         Add trailing newline.
1856         * doc/gfortran/intrinsic-procedures/bge.rst:
1857         Add trailing newline.
1858         * doc/gfortran/intrinsic-procedures/bgt.rst:
1859         Add trailing newline.
1860         * doc/gfortran/intrinsic-procedures/bitsize.rst:
1861         Add trailing newline.
1862         * doc/gfortran/intrinsic-procedures/ble.rst:
1863         Add trailing newline.
1864         * doc/gfortran/intrinsic-procedures/blt.rst:
1865         Add trailing newline.
1866         * doc/gfortran/intrinsic-procedures/btest.rst:
1867         Add trailing newline.
1868         * doc/gfortran/intrinsic-procedures/cassociated.rst:
1869         Add trailing newline.
1870         * doc/gfortran/intrinsic-procedures/ceiling.rst:
1871         Add trailing newline.
1872         * doc/gfortran/intrinsic-procedures/cfpointer.rst:
1873         Add trailing newline.
1874         * doc/gfortran/intrinsic-procedures/cfprocpointer.rst:
1875         Add trailing newline.
1876         * doc/gfortran/intrinsic-procedures/cfunloc.rst:
1877         Add trailing newline.
1878         * doc/gfortran/intrinsic-procedures/chdir.rst:
1879         Add trailing newline.
1880         * doc/gfortran/intrinsic-procedures/chmod.rst:
1881         Add trailing newline.
1882         * doc/gfortran/intrinsic-procedures/cloc.rst:
1883         Add trailing newline.
1884         * doc/gfortran/intrinsic-procedures/cmplx.rst:
1885         Add trailing newline.
1886         * doc/gfortran/intrinsic-procedures/cobroadcast.rst:
1887         Add trailing newline.
1888         * doc/gfortran/intrinsic-procedures/comax.rst:
1889         Add trailing newline.
1890         * doc/gfortran/intrinsic-procedures/comin.rst:
1891         Add trailing newline.
1892         * doc/gfortran/intrinsic-procedures/commandargumentcount.rst:
1893         Add trailing newline.
1894         * doc/gfortran/intrinsic-procedures/compileroptions.rst:
1895         Add trailing newline.
1896         * doc/gfortran/intrinsic-procedures/compilerversion.rst:
1897         Add trailing newline.
1898         * doc/gfortran/intrinsic-procedures/complex.rst:
1899         Add trailing newline.
1900         * doc/gfortran/intrinsic-procedures/conjg.rst:
1901         Add trailing newline.
1902         * doc/gfortran/intrinsic-procedures/coreduce.rst:
1903         Add trailing newline.
1904         * doc/gfortran/intrinsic-procedures/cos.rst:
1905         Add trailing newline.
1906         * doc/gfortran/intrinsic-procedures/cosd.rst:
1907         Add trailing newline.
1908         * doc/gfortran/intrinsic-procedures/cosh.rst:
1909         Add trailing newline.
1910         * doc/gfortran/intrinsic-procedures/cosum.rst:
1911         Add trailing newline.
1912         * doc/gfortran/intrinsic-procedures/cotan.rst:
1913         Add trailing newline.
1914         * doc/gfortran/intrinsic-procedures/cotand.rst:
1915         Add trailing newline.
1916         * doc/gfortran/intrinsic-procedures/count.rst:
1917         Add trailing newline.
1918         * doc/gfortran/intrinsic-procedures/cputime.rst:
1919         Add trailing newline.
1920         * doc/gfortran/intrinsic-procedures/cshift.rst:
1921         Add trailing newline.
1922         * doc/gfortran/intrinsic-procedures/csizeof.rst:
1923         Add trailing newline.
1924         * doc/gfortran/intrinsic-procedures/ctime.rst:
1925         Add trailing newline.
1926         * doc/gfortran/intrinsic-procedures/dateandtime.rst:
1927         Add trailing newline.
1928         * doc/gfortran/intrinsic-procedures/dble.rst:
1929         Add trailing newline.
1930         * doc/gfortran/intrinsic-procedures/dcmplx.rst:
1931         Add trailing newline.
1932         * doc/gfortran/intrinsic-procedures/digits.rst:
1933         Add trailing newline.
1934         * doc/gfortran/intrinsic-procedures/dim.rst:
1935         Add trailing newline.
1936         * doc/gfortran/intrinsic-procedures/dotproduct.rst:
1937         Add trailing newline.
1938         * doc/gfortran/intrinsic-procedures/dprod.rst:
1939         Add trailing newline.
1940         * doc/gfortran/intrinsic-procedures/dreal.rst:
1941         Add trailing newline.
1942         * doc/gfortran/intrinsic-procedures/dshiftl.rst:
1943         Add trailing newline.
1944         * doc/gfortran/intrinsic-procedures/dshiftr.rst:
1945         Add trailing newline.
1946         * doc/gfortran/intrinsic-procedures/dtime.rst:
1947         Add trailing newline.
1948         * doc/gfortran/intrinsic-procedures/eoshift.rst:
1949         Add trailing newline.
1950         * doc/gfortran/intrinsic-procedures/epsilon.rst:
1951         Add trailing newline.
1952         * doc/gfortran/intrinsic-procedures/erf.rst:
1953         Add trailing newline.
1954         * doc/gfortran/intrinsic-procedures/erfc.rst:
1955         Add trailing newline.
1956         * doc/gfortran/intrinsic-procedures/erfcscaled.rst:
1957         Add trailing newline.
1958         * doc/gfortran/intrinsic-procedures/etime.rst:
1959         Add trailing newline.
1960         * doc/gfortran/intrinsic-procedures/eventquery.rst:
1961         Add trailing newline.
1962         * doc/gfortran/intrinsic-procedures/executecommandline.rst:
1963         Add trailing newline.
1964         * doc/gfortran/intrinsic-procedures/exit.rst:
1965         Add trailing newline.
1966         * doc/gfortran/intrinsic-procedures/exp.rst:
1967         Add trailing newline.
1968         * doc/gfortran/intrinsic-procedures/exponent.rst:
1969         Add trailing newline.
1970         * doc/gfortran/intrinsic-procedures/extendstypeof.rst:
1971         Add trailing newline.
1972         * doc/gfortran/intrinsic-procedures/fdate.rst:
1973         Add trailing newline.
1974         * doc/gfortran/intrinsic-procedures/fget.rst:
1975         Add trailing newline.
1976         * doc/gfortran/intrinsic-procedures/fgetc.rst:
1977         Add trailing newline.
1978         * doc/gfortran/intrinsic-procedures/findloc.rst:
1979         Add trailing newline.
1980         * doc/gfortran/intrinsic-procedures/floor.rst:
1981         Add trailing newline.
1982         * doc/gfortran/intrinsic-procedures/flush.rst:
1983         Add trailing newline.
1984         * doc/gfortran/intrinsic-procedures/fnum.rst:
1985         Add trailing newline.
1986         * doc/gfortran/intrinsic-procedures/fput.rst:
1987         Add trailing newline.
1988         * doc/gfortran/intrinsic-procedures/fputc.rst:
1989         Add trailing newline.
1990         * doc/gfortran/intrinsic-procedures/fraction.rst:
1991         Add trailing newline.
1992         * doc/gfortran/intrinsic-procedures/free.rst:
1993         Add trailing newline.
1994         * doc/gfortran/intrinsic-procedures/fseek.rst:
1995         Add trailing newline.
1996         * doc/gfortran/intrinsic-procedures/fstat.rst:
1997         Add trailing newline.
1998         * doc/gfortran/intrinsic-procedures/ftell.rst:
1999         Add trailing newline.
2000         * doc/gfortran/intrinsic-procedures/gamma.rst:
2001         Add trailing newline.
2002         * doc/gfortran/intrinsic-procedures/gerror.rst:
2003         Add trailing newline.
2004         * doc/gfortran/intrinsic-procedures/getarg.rst:
2005         Add trailing newline.
2006         * doc/gfortran/intrinsic-procedures/getcommand.rst:
2007         Add trailing newline.
2008         * doc/gfortran/intrinsic-procedures/getcommandargument.rst:
2009         Add trailing newline.
2010         * doc/gfortran/intrinsic-procedures/getcwd.rst:
2011         Add trailing newline.
2012         * doc/gfortran/intrinsic-procedures/getenv.rst:
2013         Add trailing newline.
2014         * doc/gfortran/intrinsic-procedures/getenvironmentvariable.rst:
2015         Add trailing newline.
2016         * doc/gfortran/intrinsic-procedures/getgid.rst:
2017         Add trailing newline.
2018         * doc/gfortran/intrinsic-procedures/getlog.rst:
2019         Add trailing newline.
2020         * doc/gfortran/intrinsic-procedures/getpid.rst:
2021         Add trailing newline.
2022         * doc/gfortran/intrinsic-procedures/getuid.rst:
2023         Add trailing newline.
2024         * doc/gfortran/intrinsic-procedures/gmtime.rst:
2025         Add trailing newline.
2026         * doc/gfortran/intrinsic-procedures/hostnm.rst:
2027         Add trailing newline.
2028         * doc/gfortran/intrinsic-procedures/huge.rst:
2029         Add trailing newline.
2030         * doc/gfortran/intrinsic-procedures/hypot.rst:
2031         Add trailing newline.
2032         * doc/gfortran/intrinsic-procedures/iachar.rst:
2033         Add trailing newline.
2034         * doc/gfortran/intrinsic-procedures/iall.rst:
2035         Add trailing newline.
2036         * doc/gfortran/intrinsic-procedures/iand.rst:
2037         Add trailing newline.
2038         * doc/gfortran/intrinsic-procedures/iany.rst:
2039         Add trailing newline.
2040         * doc/gfortran/intrinsic-procedures/iargc.rst:
2041         Add trailing newline.
2042         * doc/gfortran/intrinsic-procedures/ibclr.rst:
2043         Add trailing newline.
2044         * doc/gfortran/intrinsic-procedures/ibits.rst:
2045         Add trailing newline.
2046         * doc/gfortran/intrinsic-procedures/ibset.rst:
2047         Add trailing newline.
2048         * doc/gfortran/intrinsic-procedures/ichar.rst:
2049         Add trailing newline.
2050         * doc/gfortran/intrinsic-procedures/idate.rst:
2051         Add trailing newline.
2052         * doc/gfortran/intrinsic-procedures/ieor.rst:
2053         Add trailing newline.
2054         * doc/gfortran/intrinsic-procedures/ierrno.rst:
2055         Add trailing newline.
2056         * doc/gfortran/intrinsic-procedures/imageindex.rst:
2057         Add trailing newline.
2058         * doc/gfortran/intrinsic-procedures/index.rst:
2059         Add trailing newline.
2060         * doc/gfortran/intrinsic-procedures/int2.rst:
2061         Add trailing newline.
2062         * doc/gfortran/intrinsic-procedures/int8.rst:
2063         Add trailing newline.
2064         * doc/gfortran/intrinsic-procedures/introduction-to-intrinsic-procedures.rst:
2065         Add trailing newline.
2066         * doc/gfortran/intrinsic-procedures/ior.rst:
2067         Add trailing newline.
2068         * doc/gfortran/intrinsic-procedures/iparity.rst:
2069         Add trailing newline.
2070         * doc/gfortran/intrinsic-procedures/irand.rst:
2071         Add trailing newline.
2072         * doc/gfortran/intrinsic-procedures/isatty.rst:
2073         Add trailing newline.
2074         * doc/gfortran/intrinsic-procedures/iscontiguous.rst:
2075         Add trailing newline.
2076         * doc/gfortran/intrinsic-procedures/ishft.rst:
2077         Add trailing newline.
2078         * doc/gfortran/intrinsic-procedures/ishftc.rst:
2079         Add trailing newline.
2080         * doc/gfortran/intrinsic-procedures/isiostatend.rst:
2081         Add trailing newline.
2082         * doc/gfortran/intrinsic-procedures/isiostateor.rst:
2083         Add trailing newline.
2084         * doc/gfortran/intrinsic-procedures/isnan.rst:
2085         Add trailing newline.
2086         * doc/gfortran/intrinsic-procedures/itime.rst:
2087         Add trailing newline.
2088         * doc/gfortran/intrinsic-procedures/kill.rst:
2089         Add trailing newline.
2090         * doc/gfortran/intrinsic-procedures/kind.rst:
2091         Add trailing newline.
2092         * doc/gfortran/intrinsic-procedures/lbound.rst:
2093         Add trailing newline.
2094         * doc/gfortran/intrinsic-procedures/lcobound.rst:
2095         Add trailing newline.
2096         * doc/gfortran/intrinsic-procedures/leadz.rst:
2097         Add trailing newline.
2098         * doc/gfortran/intrinsic-procedures/len.rst:
2099         Add trailing newline.
2100         * doc/gfortran/intrinsic-procedures/lentrim.rst:
2101         Add trailing newline.
2102         * doc/gfortran/intrinsic-procedures/lge.rst:
2103         Add trailing newline.
2104         * doc/gfortran/intrinsic-procedures/lgt.rst:
2105         Add trailing newline.
2106         * doc/gfortran/intrinsic-procedures/link.rst:
2107         Add trailing newline.
2108         * doc/gfortran/intrinsic-procedures/lle.rst:
2109         Add trailing newline.
2110         * doc/gfortran/intrinsic-procedures/llt.rst:
2111         Add trailing newline.
2112         * doc/gfortran/intrinsic-procedures/lnblnk.rst:
2113         Add trailing newline.
2114         * doc/gfortran/intrinsic-procedures/loc.rst:
2115         Add trailing newline.
2116         * doc/gfortran/intrinsic-procedures/log.rst:
2117         Add trailing newline.
2118         * doc/gfortran/intrinsic-procedures/log10.rst:
2119         Add trailing newline.
2120         * doc/gfortran/intrinsic-procedures/loggamma.rst:
2121         Add trailing newline.
2122         * doc/gfortran/intrinsic-procedures/logical.rst:
2123         Add trailing newline.
2124         * doc/gfortran/intrinsic-procedures/lshift.rst:
2125         Add trailing newline.
2126         * doc/gfortran/intrinsic-procedures/lstat.rst:
2127         Add trailing newline.
2128         * doc/gfortran/intrinsic-procedures/ltime.rst:
2129         Add trailing newline.
2130         * doc/gfortran/intrinsic-procedures/malloc.rst:
2131         Add trailing newline.
2132         * doc/gfortran/intrinsic-procedures/maskl.rst:
2133         Add trailing newline.
2134         * doc/gfortran/intrinsic-procedures/maskr.rst:
2135         Add trailing newline.
2136         * doc/gfortran/intrinsic-procedures/matmul.rst:
2137         Add trailing newline.
2138         * doc/gfortran/intrinsic-procedures/max.rst:
2139         Add trailing newline.
2140         * doc/gfortran/intrinsic-procedures/maxexponent.rst:
2141         Add trailing newline.
2142         * doc/gfortran/intrinsic-procedures/maxloc.rst:
2143         Add trailing newline.
2144         * doc/gfortran/intrinsic-procedures/maxval.rst:
2145         Add trailing newline.
2146         * doc/gfortran/intrinsic-procedures/mclock.rst:
2147         Add trailing newline.
2148         * doc/gfortran/intrinsic-procedures/mclock8.rst:
2149         Add trailing newline.
2150         * doc/gfortran/intrinsic-procedures/merge.rst:
2151         Add trailing newline.
2152         * doc/gfortran/intrinsic-procedures/mergebits.rst:
2153         Add trailing newline.
2154         * doc/gfortran/intrinsic-procedures/min.rst:
2155         Add trailing newline.
2156         * doc/gfortran/intrinsic-procedures/minexponent.rst:
2157         Add trailing newline.
2158         * doc/gfortran/intrinsic-procedures/minloc.rst:
2159         Add trailing newline.
2160         * doc/gfortran/intrinsic-procedures/minval.rst:
2161         Add trailing newline.
2162         * doc/gfortran/intrinsic-procedures/mod.rst:
2163         Add trailing newline.
2164         * doc/gfortran/intrinsic-procedures/modulo.rst:
2165         Add trailing newline.
2166         * doc/gfortran/intrinsic-procedures/movealloc.rst:
2167         Add trailing newline.
2168         * doc/gfortran/intrinsic-procedures/mvbits.rst:
2169         Add trailing newline.
2170         * doc/gfortran/intrinsic-procedures/nearest.rst:
2171         Add trailing newline.
2172         * doc/gfortran/intrinsic-procedures/newline.rst:
2173         Add trailing newline.
2174         * doc/gfortran/intrinsic-procedures/nint.rst:
2175         Add trailing newline.
2176         * doc/gfortran/intrinsic-procedures/norm2.rst:
2177         Add trailing newline.
2178         * doc/gfortran/intrinsic-procedures/not.rst:
2179         Add trailing newline.
2180         * doc/gfortran/intrinsic-procedures/null.rst:
2181         Add trailing newline.
2182         * doc/gfortran/intrinsic-procedures/numimages.rst:
2183         Add trailing newline.
2184         * doc/gfortran/intrinsic-procedures/or.rst:
2185         Add trailing newline.
2186         * doc/gfortran/intrinsic-procedures/pack.rst:
2187         Add trailing newline.
2188         * doc/gfortran/intrinsic-procedures/parity.rst:
2189         Add trailing newline.
2190         * doc/gfortran/intrinsic-procedures/perror.rst:
2191         Add trailing newline.
2192         * doc/gfortran/intrinsic-procedures/popcnt.rst:
2193         Add trailing newline.
2194         * doc/gfortran/intrinsic-procedures/poppar.rst:
2195         Add trailing newline.
2196         * doc/gfortran/intrinsic-procedures/precision.rst:
2197         Add trailing newline.
2198         * doc/gfortran/intrinsic-procedures/present.rst:
2199         Add trailing newline.
2200         * doc/gfortran/intrinsic-procedures/product.rst:
2201         Add trailing newline.
2202         * doc/gfortran/intrinsic-procedures/radix.rst:
2203         Add trailing newline.
2204         * doc/gfortran/intrinsic-procedures/ran.rst:
2205         Add trailing newline.
2206         * doc/gfortran/intrinsic-procedures/rand.rst:
2207         Add trailing newline.
2208         * doc/gfortran/intrinsic-procedures/randominit.rst:
2209         Add trailing newline.
2210         * doc/gfortran/intrinsic-procedures/randomnumber.rst:
2211         Add trailing newline.
2212         * doc/gfortran/intrinsic-procedures/randomseed.rst:
2213         Add trailing newline.
2214         * doc/gfortran/intrinsic-procedures/range.rst:
2215         Add trailing newline.
2216         * doc/gfortran/intrinsic-procedures/rank.rst:
2217         Add trailing newline.
2218         * doc/gfortran/intrinsic-procedures/rename.rst:
2219         Add trailing newline.
2220         * doc/gfortran/intrinsic-procedures/repeat.rst:
2221         Add trailing newline.
2222         * doc/gfortran/intrinsic-procedures/reshape.rst:
2223         Add trailing newline.
2224         * doc/gfortran/intrinsic-procedures/rrspacing.rst:
2225         Add trailing newline.
2226         * doc/gfortran/intrinsic-procedures/rshift.rst:
2227         Add trailing newline.
2228         * doc/gfortran/intrinsic-procedures/sametypeas.rst:
2229         Add trailing newline.
2230         * doc/gfortran/intrinsic-procedures/scale.rst:
2231         Add trailing newline.
2232         * doc/gfortran/intrinsic-procedures/scan.rst:
2233         Add trailing newline.
2234         * doc/gfortran/intrinsic-procedures/secnds.rst:
2235         Add trailing newline.
2236         * doc/gfortran/intrinsic-procedures/second.rst:
2237         Add trailing newline.
2238         * doc/gfortran/intrinsic-procedures/selectedcharkind.rst:
2239         Add trailing newline.
2240         * doc/gfortran/intrinsic-procedures/selectedintkind.rst:
2241         Add trailing newline.
2242         * doc/gfortran/intrinsic-procedures/selectedrealkind.rst:
2243         Add trailing newline.
2244         * doc/gfortran/intrinsic-procedures/setexponent.rst:
2245         Add trailing newline.
2246         * doc/gfortran/intrinsic-procedures/shape.rst:
2247         Add trailing newline.
2248         * doc/gfortran/intrinsic-procedures/shifta.rst:
2249         Add trailing newline.
2250         * doc/gfortran/intrinsic-procedures/shiftl.rst:
2251         Add trailing newline.
2252         * doc/gfortran/intrinsic-procedures/shiftr.rst:
2253         Add trailing newline.
2254         * doc/gfortran/intrinsic-procedures/sign.rst:
2255         Add trailing newline.
2256         * doc/gfortran/intrinsic-procedures/signal.rst:
2257         Add trailing newline.
2258         * doc/gfortran/intrinsic-procedures/sin.rst:
2259         Add trailing newline.
2260         * doc/gfortran/intrinsic-procedures/sind.rst:
2261         Add trailing newline.
2262         * doc/gfortran/intrinsic-procedures/sinh.rst:
2263         Add trailing newline.
2264         * doc/gfortran/intrinsic-procedures/size.rst:
2265         Add trailing newline.
2266         * doc/gfortran/intrinsic-procedures/sizeof.rst:
2267         Add trailing newline.
2268         * doc/gfortran/intrinsic-procedures/sleep.rst:
2269         Add trailing newline.
2270         * doc/gfortran/intrinsic-procedures/spacing.rst:
2271         Add trailing newline.
2272         * doc/gfortran/intrinsic-procedures/spread.rst:
2273         Add trailing newline.
2274         * doc/gfortran/intrinsic-procedures/sqrt.rst:
2275         Add trailing newline.
2276         * doc/gfortran/intrinsic-procedures/srand.rst:
2277         Add trailing newline.
2278         * doc/gfortran/intrinsic-procedures/stat.rst:
2279         Add trailing newline.
2280         * doc/gfortran/intrinsic-procedures/storagesize.rst:
2281         Add trailing newline.
2282         * doc/gfortran/intrinsic-procedures/sum.rst:
2283         Add trailing newline.
2284         * doc/gfortran/intrinsic-procedures/symlnk.rst:
2285         Add trailing newline.
2286         * doc/gfortran/intrinsic-procedures/system.rst:
2287         Add trailing newline.
2288         * doc/gfortran/intrinsic-procedures/systemclock.rst:
2289         Add trailing newline.
2290         * doc/gfortran/intrinsic-procedures/tan.rst:
2291         Add trailing newline.
2292         * doc/gfortran/intrinsic-procedures/tand.rst:
2293         Add trailing newline.
2294         * doc/gfortran/intrinsic-procedures/tanh.rst:
2295         Add trailing newline.
2296         * doc/gfortran/intrinsic-procedures/thisimage.rst:
2297         Add trailing newline.
2298         * doc/gfortran/intrinsic-procedures/time.rst:
2299         Add trailing newline.
2300         * doc/gfortran/intrinsic-procedures/time8.rst:
2301         Add trailing newline.
2302         * doc/gfortran/intrinsic-procedures/tiny.rst:
2303         Add trailing newline.
2304         * doc/gfortran/intrinsic-procedures/trailz.rst:
2305         Add trailing newline.
2306         * doc/gfortran/intrinsic-procedures/transfer.rst:
2307         Add trailing newline.
2308         * doc/gfortran/intrinsic-procedures/transpose.rst:
2309         Add trailing newline.
2310         * doc/gfortran/intrinsic-procedures/trim.rst:
2311         Add trailing newline.
2312         * doc/gfortran/intrinsic-procedures/ttynam.rst:
2313         Add trailing newline.
2314         * doc/gfortran/intrinsic-procedures/ubound.rst:
2315         Add trailing newline.
2316         * doc/gfortran/intrinsic-procedures/ucobound.rst:
2317         Add trailing newline.
2318         * doc/gfortran/intrinsic-procedures/umask.rst:
2319         Add trailing newline.
2320         * doc/gfortran/intrinsic-procedures/unlink.rst:
2321         Add trailing newline.
2322         * doc/gfortran/intrinsic-procedures/unpack.rst:
2323         Add trailing newline.
2324         * doc/gfortran/intrinsic-procedures/verify.rst:
2325         Add trailing newline.
2326         * doc/gfortran/intrinsic-procedures/xor.rst:
2327         Add trailing newline.
2328         * doc/gfortran/introduction.rst:
2329         Add trailing newline.
2330         * doc/gfortran/mixed-language-programming.rst:
2331         Add trailing newline.
2332         * doc/gfortran/naming-and-argument-passing-conventions.rst:
2333         Add trailing newline.
2334         * doc/gfortran/non-fortran-main-program.rst:
2335         Add trailing newline.
2336         * doc/gfortran/projects.rst:
2337         Add trailing newline.
2338         * doc/gfortran/runtime.rst:
2339         Add trailing newline.
2340         * doc/gfortran/runtime/gfortranconvertunit.rst:
2341         Add trailing newline.
2342         * doc/gfortran/runtime/gfortranerrorbacktrace.rst:
2343         Add trailing newline.
2344         * doc/gfortran/runtime/gfortranformattedbuffersize.rst:
2345         Add trailing newline.
2346         * doc/gfortran/runtime/gfortranlistseparator.rst:
2347         Add trailing newline.
2348         * doc/gfortran/runtime/gfortranoptionalplus.rst:
2349         Add trailing newline.
2350         * doc/gfortran/runtime/gfortranshowlocus.rst:
2351         Add trailing newline.
2352         * doc/gfortran/runtime/gfortranstderrunit.rst:
2353         Add trailing newline.
2354         * doc/gfortran/runtime/gfortranstdinunit.rst:
2355         Add trailing newline.
2356         * doc/gfortran/runtime/gfortranstdoutunit.rst:
2357         Add trailing newline.
2358         * doc/gfortran/runtime/gfortranunbufferedall.rst:
2359         Add trailing newline.
2360         * doc/gfortran/runtime/gfortranunbufferedpreconnected.rst:
2361         Add trailing newline.
2362         * doc/gfortran/runtime/gfortranunformattedbuffersize.rst:
2363         Add trailing newline.
2364         * doc/gfortran/runtime/tmpdir.rst:
2365         Add trailing newline.
2366         * doc/gfortran/standards.rst:
2367         Add trailing newline.
2368         * doc/gfortran/type-and-enum-abi-documentation.rst:
2369         Add trailing newline.
2371 2022-11-09  Martin Liska  <mliska@suse.cz>
2373         * doc/gfortran/intrinsic-procedures/aint.rst: Simplify function
2374         declaration.
2375         * doc/gfortran/intrinsic-procedures/int.rst: Likewise.
2376         * doc/gfortran/intrinsic-procedures/anint.rst: Likewise.
2377         * doc/gfortran/intrinsic-procedures/char.rst: Likewise.
2378         * doc/gfortran/intrinsic-procedures/real.rst: Likewise.
2380 2022-11-09  Martin Liska  <mliska@suse.cz>
2382         * Make-lang.in:
2383         Support installation if sphinx-build is missing.
2385 2022-11-09  Martin Liska  <mliska@suse.cz>
2387         * Make-lang.in: Support --with-sphinx-build.
2389 2022-11-09  Martin Liska  <mliska@suse.cz>
2391         * gfc-internals.texi: Removed.
2392         * gfortran.texi: Removed.
2393         * intrinsic.texi: Removed.
2394         * invoke.texi: Removed.
2396 2022-11-09  Martin Liska  <mliska@suse.cz>
2398         * Make-lang.in: Support Sphinx based documentation.
2400 2022-11-09  Martin Liska  <mliska@suse.cz>
2402         * doc/gfc-internals/code-that-interacts-with-the-user.rst: New file.
2403         * doc/gfc-internals/command-line-options.rst: New file.
2404         * doc/gfc-internals/conf.py: New file.
2405         * doc/gfc-internals/copyright.rst: New file.
2406         * doc/gfc-internals/error-handling.rst: New file.
2407         * doc/gfc-internals/frontend-data-structures.rst: New file.
2408         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages.rst: New file.
2409         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/accessing-declarations.rst:
2410         New file.
2411         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/basic-data-structures.rst:
2412         New file.
2413         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/converting-expressions-to-tree.rst:
2414         New file.
2415         * doc/gfc-internals/generating-the-intermediate-language-for-later-stages/translating-statements.rst:
2416         New file.
2417         * doc/gfc-internals/gfccode.rst: New file.
2418         * doc/gfc-internals/gfcexpr.rst: New file.
2419         * doc/gfc-internals/gnu-free-documentation-license.rst: New file.
2420         * doc/gfc-internals/index.rst: New file.
2421         * doc/gfc-internals/indices-and-tables.rst: New file.
2422         * doc/gfc-internals/internals-of-fortran-2003-oop-features.rst: New file.
2423         * doc/gfc-internals/introduction.rst: New file.
2424         * doc/gfc-internals/symbol-versioning.rst: New file.
2425         * doc/gfc-internals/the-libgfortran-runtime-library.rst: New file.
2426         * doc/gfc-internals/type-bound-operators.rst: New file.
2427         * doc/gfc-internals/type-bound-procedures.rst: New file.
2428         * doc/gfortran/about-gnu-fortran.rst: New file.
2429         * doc/gfortran/coarray-programming.rst: New file.
2430         * doc/gfortran/compiler-characteristics.rst: New file.
2431         * doc/gfortran/compiler-characteristics/asynchronous-i-o.rst: New file.
2432         * doc/gfortran/compiler-characteristics/data-consistency-and-durability.rst: New file.
2433         * doc/gfortran/compiler-characteristics/evaluation-of-logical-expressions.rst: New file.
2434         * doc/gfortran/compiler-characteristics/file-format-of-unformatted-sequential-files.rst:
2435         New file.
2436         * doc/gfortran/compiler-characteristics/file-operations-on-symbolic-links.rst: New file.
2437         * doc/gfortran/compiler-characteristics/files-opened-without-an-explicit-action=-specifier.rst:
2438         New file.
2439         * doc/gfortran/compiler-characteristics/internal-representation-of-logical-variables.rst:
2440         New file.
2441         * doc/gfortran/compiler-characteristics/kind-type-parameters.rst: New file.
2442         * doc/gfortran/compiler-characteristics/max-and-min-intrinsics-with-real-nan-arguments.rst:
2443         New file.
2444         * doc/gfortran/compiler-characteristics/thread-safety-of-the-runtime-library.rst: New file.
2445         * doc/gfortran/conf.py: New file.
2446         * doc/gfortran/contributing.rst: New file.
2447         * doc/gfortran/contributors-to-gnu-fortran.rst: New file.
2448         * doc/gfortran/copyright.rst: New file.
2449         * doc/gfortran/extensions-implemented-in-gnu-fortran.rst: New file.
2450         * doc/gfortran/extensions-not-implemented-in-gnu-fortran.rst: New file.
2451         * doc/gfortran/extensions.rst: New file.
2452         * doc/gfortran/function-abi-documentation.rst: New file.
2453         * doc/gfortran/funding.rst: New file.
2454         * doc/gfortran/general-public-license-3.rst: New file.
2455         * doc/gfortran/gnu-fortran-and-gcc.rst: New file.
2456         * doc/gfortran/gnu-fortran-command-options.rst: New file.
2457         * doc/gfortran/gnu-fortran-command-options/description.rst: New file.
2458         * doc/gfortran/gnu-fortran-command-options/enable-and-customize-preprocessing.rst: New file.
2459         * doc/gfortran/gnu-fortran-command-options/environment-variables-affecting-gfortran.rst:
2460         New file.
2461         * doc/gfortran/gnu-fortran-command-options/influencing-runtime-behavior.rst: New file.
2462         * doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst: New file.
2463         * doc/gfortran/gnu-fortran-command-options/option-summary.rst: New file.
2464         * doc/gfortran/gnu-fortran-command-options/options-controlling-fortran-dialect.rst:
2465         New file.
2466         * doc/gfortran/gnu-fortran-command-options/options-for-code-generation-conventions.rst:
2467         New file.
2468         * doc/gfortran/gnu-fortran-command-options/options-for-debugging-your-program-or-gnu-fortran.rst:
2469         New file.
2470         * doc/gfortran/gnu-fortran-command-options/options-for-directory-search.rst: New file.
2471         * doc/gfortran/gnu-fortran-command-options/options-for-interoperability-with-other-languages.rst:
2472         New file.
2473         * doc/gfortran/gnu-fortran-command-options/options-to-request-or-suppress-errors-and-warnings.rst:
2474         New file.
2475         * doc/gfortran/gnu-fortran-compiler-directives.rst: New file.
2476         * doc/gfortran/gnu-free-documentation-license.rst: New file.
2477         * doc/gfortran/index.rst: New file.
2478         * doc/gfortran/indices-and-tables.rst: New file.
2479         * doc/gfortran/interoperability-with-c.rst: New file.
2480         * doc/gfortran/intrinsic-modules.rst: New file.
2481         * doc/gfortran/intrinsic-modules/ieee-modules-ieeeexceptions-ieeearithmetic-and-ieeefeatures.rst:
2482         New file.
2483         * doc/gfortran/intrinsic-modules/isocbinding.rst: New file.
2484         * doc/gfortran/intrinsic-modules/isofortranenv.rst: New file.
2485         * doc/gfortran/intrinsic-modules/openacc-module-openacc.rst: New file.
2486         * doc/gfortran/intrinsic-modules/openmp-modules-omplib-and-omplibkinds.rst: New file.
2487         * doc/gfortran/intrinsic-procedures.rst: New file.
2488         * doc/gfortran/intrinsic-procedures/abort.rst: New file.
2489         * doc/gfortran/intrinsic-procedures/abs.rst: New file.
2490         * doc/gfortran/intrinsic-procedures/access.rst: New file.
2491         * doc/gfortran/intrinsic-procedures/achar.rst: New file.
2492         * doc/gfortran/intrinsic-procedures/acos.rst: New file.
2493         * doc/gfortran/intrinsic-procedures/acosd.rst: New file.
2494         * doc/gfortran/intrinsic-procedures/acosh.rst: New file.
2495         * doc/gfortran/intrinsic-procedures/adjustl.rst: New file.
2496         * doc/gfortran/intrinsic-procedures/adjustr.rst: New file.
2497         * doc/gfortran/intrinsic-procedures/aimag.rst: New file.
2498         * doc/gfortran/intrinsic-procedures/aint.rst: New file.
2499         * doc/gfortran/intrinsic-procedures/alarm.rst: New file.
2500         * doc/gfortran/intrinsic-procedures/all.rst: New file.
2501         * doc/gfortran/intrinsic-procedures/allocated.rst: New file.
2502         * doc/gfortran/intrinsic-procedures/and.rst: New file.
2503         * doc/gfortran/intrinsic-procedures/anint.rst: New file.
2504         * doc/gfortran/intrinsic-procedures/any.rst: New file.
2505         * doc/gfortran/intrinsic-procedures/asin.rst: New file.
2506         * doc/gfortran/intrinsic-procedures/asind.rst: New file.
2507         * doc/gfortran/intrinsic-procedures/asinh.rst: New file.
2508         * doc/gfortran/intrinsic-procedures/associated.rst: New file.
2509         * doc/gfortran/intrinsic-procedures/atan.rst: New file.
2510         * doc/gfortran/intrinsic-procedures/atan2.rst: New file.
2511         * doc/gfortran/intrinsic-procedures/atan2d.rst: New file.
2512         * doc/gfortran/intrinsic-procedures/atand.rst: New file.
2513         * doc/gfortran/intrinsic-procedures/atanh.rst: New file.
2514         * doc/gfortran/intrinsic-procedures/atomicadd.rst: New file.
2515         * doc/gfortran/intrinsic-procedures/atomicand.rst: New file.
2516         * doc/gfortran/intrinsic-procedures/atomiccas.rst: New file.
2517         * doc/gfortran/intrinsic-procedures/atomicdefine.rst: New file.
2518         * doc/gfortran/intrinsic-procedures/atomicfetchadd.rst: New file.
2519         * doc/gfortran/intrinsic-procedures/atomicfetchand.rst: New file.
2520         * doc/gfortran/intrinsic-procedures/atomicfetchor.rst: New file.
2521         * doc/gfortran/intrinsic-procedures/atomicfetchxor.rst: New file.
2522         * doc/gfortran/intrinsic-procedures/atomicor.rst: New file.
2523         * doc/gfortran/intrinsic-procedures/atomicref.rst: New file.
2524         * doc/gfortran/intrinsic-procedures/atomicxor.rst: New file.
2525         * doc/gfortran/intrinsic-procedures/backtrace.rst: New file.
2526         * doc/gfortran/intrinsic-procedures/besselj0.rst: New file.
2527         * doc/gfortran/intrinsic-procedures/besselj1.rst: New file.
2528         * doc/gfortran/intrinsic-procedures/besseljn.rst: New file.
2529         * doc/gfortran/intrinsic-procedures/bessely0.rst: New file.
2530         * doc/gfortran/intrinsic-procedures/bessely1.rst: New file.
2531         * doc/gfortran/intrinsic-procedures/besselyn.rst: New file.
2532         * doc/gfortran/intrinsic-procedures/bge.rst: New file.
2533         * doc/gfortran/intrinsic-procedures/bgt.rst: New file.
2534         * doc/gfortran/intrinsic-procedures/bitsize.rst: New file.
2535         * doc/gfortran/intrinsic-procedures/ble.rst: New file.
2536         * doc/gfortran/intrinsic-procedures/blt.rst: New file.
2537         * doc/gfortran/intrinsic-procedures/btest.rst: New file.
2538         * doc/gfortran/intrinsic-procedures/cassociated.rst: New file.
2539         * doc/gfortran/intrinsic-procedures/ceiling.rst: New file.
2540         * doc/gfortran/intrinsic-procedures/cfpointer.rst: New file.
2541         * doc/gfortran/intrinsic-procedures/cfprocpointer.rst: New file.
2542         * doc/gfortran/intrinsic-procedures/cfunloc.rst: New file.
2543         * doc/gfortran/intrinsic-procedures/char.rst: New file.
2544         * doc/gfortran/intrinsic-procedures/chdir.rst: New file.
2545         * doc/gfortran/intrinsic-procedures/chmod.rst: New file.
2546         * doc/gfortran/intrinsic-procedures/cloc.rst: New file.
2547         * doc/gfortran/intrinsic-procedures/cmplx.rst: New file.
2548         * doc/gfortran/intrinsic-procedures/cobroadcast.rst: New file.
2549         * doc/gfortran/intrinsic-procedures/comax.rst: New file.
2550         * doc/gfortran/intrinsic-procedures/comin.rst: New file.
2551         * doc/gfortran/intrinsic-procedures/commandargumentcount.rst: New file.
2552         * doc/gfortran/intrinsic-procedures/compileroptions.rst: New file.
2553         * doc/gfortran/intrinsic-procedures/compilerversion.rst: New file.
2554         * doc/gfortran/intrinsic-procedures/complex.rst: New file.
2555         * doc/gfortran/intrinsic-procedures/conjg.rst: New file.
2556         * doc/gfortran/intrinsic-procedures/coreduce.rst: New file.
2557         * doc/gfortran/intrinsic-procedures/cos.rst: New file.
2558         * doc/gfortran/intrinsic-procedures/cosd.rst: New file.
2559         * doc/gfortran/intrinsic-procedures/cosh.rst: New file.
2560         * doc/gfortran/intrinsic-procedures/cosum.rst: New file.
2561         * doc/gfortran/intrinsic-procedures/cotan.rst: New file.
2562         * doc/gfortran/intrinsic-procedures/cotand.rst: New file.
2563         * doc/gfortran/intrinsic-procedures/count.rst: New file.
2564         * doc/gfortran/intrinsic-procedures/cputime.rst: New file.
2565         * doc/gfortran/intrinsic-procedures/cshift.rst: New file.
2566         * doc/gfortran/intrinsic-procedures/csizeof.rst: New file.
2567         * doc/gfortran/intrinsic-procedures/ctime.rst: New file.
2568         * doc/gfortran/intrinsic-procedures/dateandtime.rst: New file.
2569         * doc/gfortran/intrinsic-procedures/dble.rst: New file.
2570         * doc/gfortran/intrinsic-procedures/dcmplx.rst: New file.
2571         * doc/gfortran/intrinsic-procedures/digits.rst: New file.
2572         * doc/gfortran/intrinsic-procedures/dim.rst: New file.
2573         * doc/gfortran/intrinsic-procedures/dotproduct.rst: New file.
2574         * doc/gfortran/intrinsic-procedures/dprod.rst: New file.
2575         * doc/gfortran/intrinsic-procedures/dreal.rst: New file.
2576         * doc/gfortran/intrinsic-procedures/dshiftl.rst: New file.
2577         * doc/gfortran/intrinsic-procedures/dshiftr.rst: New file.
2578         * doc/gfortran/intrinsic-procedures/dtime.rst: New file.
2579         * doc/gfortran/intrinsic-procedures/eoshift.rst: New file.
2580         * doc/gfortran/intrinsic-procedures/epsilon.rst: New file.
2581         * doc/gfortran/intrinsic-procedures/erf.rst: New file.
2582         * doc/gfortran/intrinsic-procedures/erfc.rst: New file.
2583         * doc/gfortran/intrinsic-procedures/erfcscaled.rst: New file.
2584         * doc/gfortran/intrinsic-procedures/etime.rst: New file.
2585         * doc/gfortran/intrinsic-procedures/eventquery.rst: New file.
2586         * doc/gfortran/intrinsic-procedures/executecommandline.rst: New file.
2587         * doc/gfortran/intrinsic-procedures/exit.rst: New file.
2588         * doc/gfortran/intrinsic-procedures/exp.rst: New file.
2589         * doc/gfortran/intrinsic-procedures/exponent.rst: New file.
2590         * doc/gfortran/intrinsic-procedures/extendstypeof.rst: New file.
2591         * doc/gfortran/intrinsic-procedures/fdate.rst: New file.
2592         * doc/gfortran/intrinsic-procedures/fget.rst: New file.
2593         * doc/gfortran/intrinsic-procedures/fgetc.rst: New file.
2594         * doc/gfortran/intrinsic-procedures/findloc.rst: New file.
2595         * doc/gfortran/intrinsic-procedures/floor.rst: New file.
2596         * doc/gfortran/intrinsic-procedures/flush.rst: New file.
2597         * doc/gfortran/intrinsic-procedures/fnum.rst: New file.
2598         * doc/gfortran/intrinsic-procedures/fput.rst: New file.
2599         * doc/gfortran/intrinsic-procedures/fputc.rst: New file.
2600         * doc/gfortran/intrinsic-procedures/fraction.rst: New file.
2601         * doc/gfortran/intrinsic-procedures/free.rst: New file.
2602         * doc/gfortran/intrinsic-procedures/fseek.rst: New file.
2603         * doc/gfortran/intrinsic-procedures/fstat.rst: New file.
2604         * doc/gfortran/intrinsic-procedures/ftell.rst: New file.
2605         * doc/gfortran/intrinsic-procedures/gamma.rst: New file.
2606         * doc/gfortran/intrinsic-procedures/gerror.rst: New file.
2607         * doc/gfortran/intrinsic-procedures/getarg.rst: New file.
2608         * doc/gfortran/intrinsic-procedures/getcommand.rst: New file.
2609         * doc/gfortran/intrinsic-procedures/getcommandargument.rst: New file.
2610         * doc/gfortran/intrinsic-procedures/getcwd.rst: New file.
2611         * doc/gfortran/intrinsic-procedures/getenv.rst: New file.
2612         * doc/gfortran/intrinsic-procedures/getenvironmentvariable.rst: New file.
2613         * doc/gfortran/intrinsic-procedures/getgid.rst: New file.
2614         * doc/gfortran/intrinsic-procedures/getlog.rst: New file.
2615         * doc/gfortran/intrinsic-procedures/getpid.rst: New file.
2616         * doc/gfortran/intrinsic-procedures/getuid.rst: New file.
2617         * doc/gfortran/intrinsic-procedures/gmtime.rst: New file.
2618         * doc/gfortran/intrinsic-procedures/hostnm.rst: New file.
2619         * doc/gfortran/intrinsic-procedures/huge.rst: New file.
2620         * doc/gfortran/intrinsic-procedures/hypot.rst: New file.
2621         * doc/gfortran/intrinsic-procedures/iachar.rst: New file.
2622         * doc/gfortran/intrinsic-procedures/iall.rst: New file.
2623         * doc/gfortran/intrinsic-procedures/iand.rst: New file.
2624         * doc/gfortran/intrinsic-procedures/iany.rst: New file.
2625         * doc/gfortran/intrinsic-procedures/iargc.rst: New file.
2626         * doc/gfortran/intrinsic-procedures/ibclr.rst: New file.
2627         * doc/gfortran/intrinsic-procedures/ibits.rst: New file.
2628         * doc/gfortran/intrinsic-procedures/ibset.rst: New file.
2629         * doc/gfortran/intrinsic-procedures/ichar.rst: New file.
2630         * doc/gfortran/intrinsic-procedures/idate.rst: New file.
2631         * doc/gfortran/intrinsic-procedures/ieor.rst: New file.
2632         * doc/gfortran/intrinsic-procedures/ierrno.rst: New file.
2633         * doc/gfortran/intrinsic-procedures/imageindex.rst: New file.
2634         * doc/gfortran/intrinsic-procedures/index.rst: New file.
2635         * doc/gfortran/intrinsic-procedures/int.rst: New file.
2636         * doc/gfortran/intrinsic-procedures/int2.rst: New file.
2637         * doc/gfortran/intrinsic-procedures/int8.rst: New file.
2638         * doc/gfortran/intrinsic-procedures/introduction-to-intrinsic-procedures.rst: New file.
2639         * doc/gfortran/intrinsic-procedures/ior.rst: New file.
2640         * doc/gfortran/intrinsic-procedures/iparity.rst: New file.
2641         * doc/gfortran/intrinsic-procedures/irand.rst: New file.
2642         * doc/gfortran/intrinsic-procedures/isatty.rst: New file.
2643         * doc/gfortran/intrinsic-procedures/iscontiguous.rst: New file.
2644         * doc/gfortran/intrinsic-procedures/ishft.rst: New file.
2645         * doc/gfortran/intrinsic-procedures/ishftc.rst: New file.
2646         * doc/gfortran/intrinsic-procedures/isiostatend.rst: New file.
2647         * doc/gfortran/intrinsic-procedures/isiostateor.rst: New file.
2648         * doc/gfortran/intrinsic-procedures/isnan.rst: New file.
2649         * doc/gfortran/intrinsic-procedures/itime.rst: New file.
2650         * doc/gfortran/intrinsic-procedures/kill.rst: New file.
2651         * doc/gfortran/intrinsic-procedures/kind.rst: New file.
2652         * doc/gfortran/intrinsic-procedures/lbound.rst: New file.
2653         * doc/gfortran/intrinsic-procedures/lcobound.rst: New file.
2654         * doc/gfortran/intrinsic-procedures/leadz.rst: New file.
2655         * doc/gfortran/intrinsic-procedures/len.rst: New file.
2656         * doc/gfortran/intrinsic-procedures/lentrim.rst: New file.
2657         * doc/gfortran/intrinsic-procedures/lge.rst: New file.
2658         * doc/gfortran/intrinsic-procedures/lgt.rst: New file.
2659         * doc/gfortran/intrinsic-procedures/link.rst: New file.
2660         * doc/gfortran/intrinsic-procedures/lle.rst: New file.
2661         * doc/gfortran/intrinsic-procedures/llt.rst: New file.
2662         * doc/gfortran/intrinsic-procedures/lnblnk.rst: New file.
2663         * doc/gfortran/intrinsic-procedures/loc.rst: New file.
2664         * doc/gfortran/intrinsic-procedures/log.rst: New file.
2665         * doc/gfortran/intrinsic-procedures/log10.rst: New file.
2666         * doc/gfortran/intrinsic-procedures/loggamma.rst: New file.
2667         * doc/gfortran/intrinsic-procedures/logical.rst: New file.
2668         * doc/gfortran/intrinsic-procedures/lshift.rst: New file.
2669         * doc/gfortran/intrinsic-procedures/lstat.rst: New file.
2670         * doc/gfortran/intrinsic-procedures/ltime.rst: New file.
2671         * doc/gfortran/intrinsic-procedures/malloc.rst: New file.
2672         * doc/gfortran/intrinsic-procedures/maskl.rst: New file.
2673         * doc/gfortran/intrinsic-procedures/maskr.rst: New file.
2674         * doc/gfortran/intrinsic-procedures/matmul.rst: New file.
2675         * doc/gfortran/intrinsic-procedures/max.rst: New file.
2676         * doc/gfortran/intrinsic-procedures/maxexponent.rst: New file.
2677         * doc/gfortran/intrinsic-procedures/maxloc.rst: New file.
2678         * doc/gfortran/intrinsic-procedures/maxval.rst: New file.
2679         * doc/gfortran/intrinsic-procedures/mclock.rst: New file.
2680         * doc/gfortran/intrinsic-procedures/mclock8.rst: New file.
2681         * doc/gfortran/intrinsic-procedures/merge.rst: New file.
2682         * doc/gfortran/intrinsic-procedures/mergebits.rst: New file.
2683         * doc/gfortran/intrinsic-procedures/min.rst: New file.
2684         * doc/gfortran/intrinsic-procedures/minexponent.rst: New file.
2685         * doc/gfortran/intrinsic-procedures/minloc.rst: New file.
2686         * doc/gfortran/intrinsic-procedures/minval.rst: New file.
2687         * doc/gfortran/intrinsic-procedures/mod.rst: New file.
2688         * doc/gfortran/intrinsic-procedures/modulo.rst: New file.
2689         * doc/gfortran/intrinsic-procedures/movealloc.rst: New file.
2690         * doc/gfortran/intrinsic-procedures/mvbits.rst: New file.
2691         * doc/gfortran/intrinsic-procedures/nearest.rst: New file.
2692         * doc/gfortran/intrinsic-procedures/newline.rst: New file.
2693         * doc/gfortran/intrinsic-procedures/nint.rst: New file.
2694         * doc/gfortran/intrinsic-procedures/norm2.rst: New file.
2695         * doc/gfortran/intrinsic-procedures/not.rst: New file.
2696         * doc/gfortran/intrinsic-procedures/null.rst: New file.
2697         * doc/gfortran/intrinsic-procedures/numimages.rst: New file.
2698         * doc/gfortran/intrinsic-procedures/or.rst: New file.
2699         * doc/gfortran/intrinsic-procedures/pack.rst: New file.
2700         * doc/gfortran/intrinsic-procedures/parity.rst: New file.
2701         * doc/gfortran/intrinsic-procedures/perror.rst: New file.
2702         * doc/gfortran/intrinsic-procedures/popcnt.rst: New file.
2703         * doc/gfortran/intrinsic-procedures/poppar.rst: New file.
2704         * doc/gfortran/intrinsic-procedures/precision.rst: New file.
2705         * doc/gfortran/intrinsic-procedures/present.rst: New file.
2706         * doc/gfortran/intrinsic-procedures/product.rst: New file.
2707         * doc/gfortran/intrinsic-procedures/radix.rst: New file.
2708         * doc/gfortran/intrinsic-procedures/ran.rst: New file.
2709         * doc/gfortran/intrinsic-procedures/rand.rst: New file.
2710         * doc/gfortran/intrinsic-procedures/randominit.rst: New file.
2711         * doc/gfortran/intrinsic-procedures/randomnumber.rst: New file.
2712         * doc/gfortran/intrinsic-procedures/randomseed.rst: New file.
2713         * doc/gfortran/intrinsic-procedures/range.rst: New file.
2714         * doc/gfortran/intrinsic-procedures/rank.rst: New file.
2715         * doc/gfortran/intrinsic-procedures/real.rst: New file.
2716         * doc/gfortran/intrinsic-procedures/rename.rst: New file.
2717         * doc/gfortran/intrinsic-procedures/repeat.rst: New file.
2718         * doc/gfortran/intrinsic-procedures/reshape.rst: New file.
2719         * doc/gfortran/intrinsic-procedures/rrspacing.rst: New file.
2720         * doc/gfortran/intrinsic-procedures/rshift.rst: New file.
2721         * doc/gfortran/intrinsic-procedures/sametypeas.rst: New file.
2722         * doc/gfortran/intrinsic-procedures/scale.rst: New file.
2723         * doc/gfortran/intrinsic-procedures/scan.rst: New file.
2724         * doc/gfortran/intrinsic-procedures/secnds.rst: New file.
2725         * doc/gfortran/intrinsic-procedures/second.rst: New file.
2726         * doc/gfortran/intrinsic-procedures/selectedcharkind.rst: New file.
2727         * doc/gfortran/intrinsic-procedures/selectedintkind.rst: New file.
2728         * doc/gfortran/intrinsic-procedures/selectedrealkind.rst: New file.
2729         * doc/gfortran/intrinsic-procedures/setexponent.rst: New file.
2730         * doc/gfortran/intrinsic-procedures/shape.rst: New file.
2731         * doc/gfortran/intrinsic-procedures/shifta.rst: New file.
2732         * doc/gfortran/intrinsic-procedures/shiftl.rst: New file.
2733         * doc/gfortran/intrinsic-procedures/shiftr.rst: New file.
2734         * doc/gfortran/intrinsic-procedures/sign.rst: New file.
2735         * doc/gfortran/intrinsic-procedures/signal.rst: New file.
2736         * doc/gfortran/intrinsic-procedures/sin.rst: New file.
2737         * doc/gfortran/intrinsic-procedures/sind.rst: New file.
2738         * doc/gfortran/intrinsic-procedures/sinh.rst: New file.
2739         * doc/gfortran/intrinsic-procedures/size.rst: New file.
2740         * doc/gfortran/intrinsic-procedures/sizeof.rst: New file.
2741         * doc/gfortran/intrinsic-procedures/sleep.rst: New file.
2742         * doc/gfortran/intrinsic-procedures/spacing.rst: New file.
2743         * doc/gfortran/intrinsic-procedures/spread.rst: New file.
2744         * doc/gfortran/intrinsic-procedures/sqrt.rst: New file.
2745         * doc/gfortran/intrinsic-procedures/srand.rst: New file.
2746         * doc/gfortran/intrinsic-procedures/stat.rst: New file.
2747         * doc/gfortran/intrinsic-procedures/storagesize.rst: New file.
2748         * doc/gfortran/intrinsic-procedures/sum.rst: New file.
2749         * doc/gfortran/intrinsic-procedures/symlnk.rst: New file.
2750         * doc/gfortran/intrinsic-procedures/system.rst: New file.
2751         * doc/gfortran/intrinsic-procedures/systemclock.rst: New file.
2752         * doc/gfortran/intrinsic-procedures/tan.rst: New file.
2753         * doc/gfortran/intrinsic-procedures/tand.rst: New file.
2754         * doc/gfortran/intrinsic-procedures/tanh.rst: New file.
2755         * doc/gfortran/intrinsic-procedures/thisimage.rst: New file.
2756         * doc/gfortran/intrinsic-procedures/time.rst: New file.
2757         * doc/gfortran/intrinsic-procedures/time8.rst: New file.
2758         * doc/gfortran/intrinsic-procedures/tiny.rst: New file.
2759         * doc/gfortran/intrinsic-procedures/trailz.rst: New file.
2760         * doc/gfortran/intrinsic-procedures/transfer.rst: New file.
2761         * doc/gfortran/intrinsic-procedures/transpose.rst: New file.
2762         * doc/gfortran/intrinsic-procedures/trim.rst: New file.
2763         * doc/gfortran/intrinsic-procedures/ttynam.rst: New file.
2764         * doc/gfortran/intrinsic-procedures/ubound.rst: New file.
2765         * doc/gfortran/intrinsic-procedures/ucobound.rst: New file.
2766         * doc/gfortran/intrinsic-procedures/umask.rst: New file.
2767         * doc/gfortran/intrinsic-procedures/unlink.rst: New file.
2768         * doc/gfortran/intrinsic-procedures/unpack.rst: New file.
2769         * doc/gfortran/intrinsic-procedures/verify.rst: New file.
2770         * doc/gfortran/intrinsic-procedures/xor.rst: New file.
2771         * doc/gfortran/introduction.rst: New file.
2772         * doc/gfortran/mixed-language-programming.rst: New file.
2773         * doc/gfortran/naming-and-argument-passing-conventions.rst: New file.
2774         * doc/gfortran/non-fortran-main-program.rst: New file.
2775         * doc/gfortran/projects.rst: New file.
2776         * doc/gfortran/runtime.rst: New file.
2777         * doc/gfortran/runtime/gfortranconvertunit.rst: New file.
2778         * doc/gfortran/runtime/gfortranerrorbacktrace.rst: New file.
2779         * doc/gfortran/runtime/gfortranformattedbuffersize.rst: New file.
2780         * doc/gfortran/runtime/gfortranlistseparator.rst: New file.
2781         * doc/gfortran/runtime/gfortranoptionalplus.rst: New file.
2782         * doc/gfortran/runtime/gfortranshowlocus.rst: New file.
2783         * doc/gfortran/runtime/gfortranstderrunit.rst: New file.
2784         * doc/gfortran/runtime/gfortranstdinunit.rst: New file.
2785         * doc/gfortran/runtime/gfortranstdoutunit.rst: New file.
2786         * doc/gfortran/runtime/gfortranunbufferedall.rst: New file.
2787         * doc/gfortran/runtime/gfortranunbufferedpreconnected.rst: New file.
2788         * doc/gfortran/runtime/gfortranunformattedbuffersize.rst: New file.
2789         * doc/gfortran/runtime/tmpdir.rst: New file.
2790         * doc/gfortran/standards.rst: New file.
2791         * doc/gfortran/type-and-enum-abi-documentation.rst: New file.
2793 2022-11-07  Tobias Burnus  <tobias@codesourcery.com>
2795         PR fortran/107508
2796         * trans-array.cc (gfc_alloc_allocatable_for_assignment): Fix
2797         string-length check, plug memory leak, and avoid generation of
2798         effectively no-op code.
2799         * trans-expr.cc (alloc_scalar_allocatable_for_assignment): Extend
2800         comment; minor cleanup.
2802 2022-11-03  Tobias Burnus  <tobias@codesourcery.com>
2804         * openmp.cc (gfc_match_omp_clauses): Permit derived types for
2805         the 'to' and 'from' clauses of 'target update'.
2806         * trans-openmp.cc (gfc_trans_omp_clauses): Fixes for
2807         derived-type changes; fix size for scalars.
2809 2022-10-28  Joseph Myers  <joseph@codesourcery.com>
2811         * trans-types.cc (gfc_get_function_type): Do not use
2812         build_varargs_function_type_vec for unprototyped function.
2814 2022-10-26  Harald Anlauf  <anlauf@gmx.de>
2816         PR fortran/103413
2817         * symbol.cc (gfc_type_compatible): A boz-literal-constant has no type
2818         and thus is not considered compatible to any type.
2820 2022-10-21  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
2822         PR fortran/100097
2823         PR fortran/100098
2824         * trans-array.cc (gfc_trans_class_array): New function to
2825         initialize class descriptor's TKR information.
2826         * trans-array.h (gfc_trans_class_array): Add function prototype.
2827         * trans-decl.cc (gfc_trans_deferred_vars): Add calls to the new
2828         function for both pointers and allocatables.
2830 2022-10-20  Harald Anlauf  <anlauf@gmx.de>
2831             Steven G. Kargl  <kargl@gcc.gnu.org>
2833         PR fortran/105633
2834         * expr.cc (find_array_section): Move check for NULL pointers so
2835         that both subscript triplets and vector subscripts are covered.
2837 2022-10-17  Steve Kargl  <kargl@gcc.gnu.org>
2839         PR fortran/104330
2840         * simplify.cc (gfc_simplify_image_index): Do not dereference NULL
2841         pointer.
2843 2022-10-17  Harald Anlauf  <anlauf@gmx.de>
2844             Mikael Morin  <mikael@gcc.gnu.org>
2846         PR fortran/93483
2847         PR fortran/107216
2848         PR fortran/107219
2849         * arith.cc (reduce_unary): Handled expressions are EXP_CONSTANT and
2850         EXPR_ARRAY.  Do not attempt to reduce otherwise.
2851         (reduce_binary_ac): Likewise.
2852         (reduce_binary_ca): Likewise.
2853         (reduce_binary_aa): Moved check for EXP_CONSTANT and EXPR_ARRAY
2854         from here ...
2855         (reduce_binary): ... to here.
2856         (eval_intrinsic): Catch failed reductions.
2857         * gfortran.h (GFC_INTRINSIC_OPS): New enum ARITH_NOT_REDUCED to keep
2858         track of expressions that were not reduced by the arithmetic evaluation
2859         code.
2861 2022-10-17  Harald Anlauf  <anlauf@gmx.de>
2863         PR fortran/107272
2864         * arith.cc (gfc_arith_not): Operand must be of type BT_LOGICAL.
2865         (gfc_arith_and): Likewise.
2866         (gfc_arith_or): Likewise.
2867         (gfc_arith_eqv): Likewise.
2868         (gfc_arith_neqv): Likewise.
2869         (gfc_arith_eq): Compare consistency of types of operands.
2870         (gfc_arith_ne): Likewise.
2871         (gfc_arith_gt): Likewise.
2872         (gfc_arith_ge): Likewise.
2873         (gfc_arith_lt): Likewise.
2874         (gfc_arith_le): Likewise.
2876 2022-10-17  Tobias Burnus  <tobias@codesourcery.com>
2878         PR fortran/107266
2879         * trans-expr.cc (gfc_conv_string_parameter): Use passed
2880         type to honor character kind.
2881         * trans-types.cc (gfc_sym_type): Honor character kind.
2882         * trans-decl.cc (gfc_conv_cfi_to_gfc): Fix handling kind=4
2883         character strings.
2885 2022-10-14  Harald Anlauf  <anlauf@gmx.de>
2887         PR fortran/100971
2888         * resolve.cc (resolve_transfer): Extend check for permissibility
2889         of polymorphic elements in a data transfer to arrays.
2891 2022-10-12  Harald Anlauf  <anlauf@gmx.de>
2893         PR fortran/107217
2894         * arith.cc (gfc_arith_plus): Compare consistency of types of operands.
2895         (gfc_arith_minus): Likewise.
2896         (gfc_arith_times): Likewise.
2897         (gfc_arith_divide): Likewise.
2898         (arith_power): Check that both operands are of numeric type.
2900 2022-10-11  Harald Anlauf  <anlauf@gmx.de>
2902         PR fortran/107215
2903         * arith.cc (gfc_int2int): Check validity of type of source expr.
2904         (gfc_int2real): Likewise.
2905         (gfc_int2complex): Likewise.
2906         (gfc_real2int): Likewise.
2907         (gfc_real2real): Likewise.
2908         (gfc_complex2int): Likewise.
2909         (gfc_complex2real): Likewise.
2910         (gfc_complex2complex): Likewise.
2911         (gfc_log2log): Likewise.
2912         (gfc_log2int): Likewise.
2913         (gfc_int2log): Likewise.
2915 2022-10-10  Jakub Jelinek  <jakub@redhat.com>
2917         * trans-openmp.cc (gfc_trans_omp_assume): Use create_tmp_var_raw
2918         instead of gfc_create_var for TARGET_EXPR slot creation.  Create it
2919         with boolean_type_node and convert.
2921 2022-10-08  Harald Anlauf  <anlauf@gmx.de>
2922             Mikael Morin  <mikael@gcc.gnu.org>
2924         PR fortran/107000
2925         * arith.cc (gfc_arith_error): Define error message for
2926         ARITH_INVALID_TYPE.
2927         (reduce_unary): Catch arithmetic expressions with invalid type.
2928         (reduce_binary_ac): Likewise.
2929         (reduce_binary_ca): Likewise.
2930         (reduce_binary_aa): Likewise.
2931         (eval_intrinsic): Likewise.
2932         (gfc_real2complex): Source expression must be of type REAL.
2933         * gfortran.h (enum arith): Add ARITH_INVALID_TYPE.
2935 2022-10-06  Tobias Burnus  <tobias@codesourcery.com>
2937         * trans-openmp.cc (gfc_trans_omp_assume): New.
2938         (gfc_trans_omp_directive): Call it.
2940 2022-10-05  Tobias Burnus  <tobias@codesourcery.com>
2942         * dump-parse-tree.cc (show_omp_assumes): New.
2943         (show_omp_clauses, show_namespace): Call it.
2944         (show_omp_node, show_code_node): Handle OpenMP ASSUME.
2945         * gfortran.h (enum gfc_statement): Add ST_OMP_ASSUME,
2946         ST_OMP_END_ASSUME, ST_OMP_ASSUMES and ST_NOTHING.
2947         (gfc_exec_op): Add EXEC_OMP_ASSUME.
2948         (gfc_omp_assumptions): New struct.
2949         (gfc_get_omp_assumptions): New XCNEW #define.
2950         (gfc_omp_clauses, gfc_namespace): Add assume member.
2951         (gfc_resolve_omp_assumptions): New prototype.
2952         * match.h (gfc_match_omp_assume, gfc_match_omp_assumes): New.
2953         * openmp.cc (omp_code_to_statement): Forward declare.
2954         (enum gfc_omp_directive_kind, struct gfc_omp_directive): New.
2955         (gfc_free_omp_clauses): Free assume member and its struct data.
2956         (enum omp_mask2): Add OMP_CLAUSE_ASSUMPTIONS.
2957         (gfc_omp_absent_contains_clause): New.
2958         (gfc_match_omp_clauses): Call it; optionally use passed
2959         omp_clauses argument.
2960         (omp_verify_merge_absent_contains, gfc_match_omp_assume,
2961         gfc_match_omp_assumes, gfc_resolve_omp_assumptions): New.
2962         (resolve_omp_clauses): Call the latter.
2963         (gfc_resolve_omp_directive, omp_code_to_statement): Handle
2964         EXEC_OMP_ASSUME.
2965         * parse.cc (decode_omp_directive): Parse OpenMP ASSUME(S).
2966         (next_statement, parse_executable, parse_omp_structured_block):
2967         Handle ST_OMP_ASSUME.
2968         (case_omp_decl): Add ST_OMP_ASSUMES.
2969         (gfc_ascii_statement): Handle Assumes, optional return
2970         string without '!$OMP '/'!$ACC ' prefix.
2971         * parse.h (gfc_ascii_statement): Add optional bool arg to prototype.
2972         * resolve.cc (gfc_resolve_blocks, gfc_resolve_code): Add
2973         EXEC_OMP_ASSUME.
2974         (gfc_resolve): Resolve ASSUMES directive.
2975         * symbol.cc (gfc_free_namespace): Free omp_assumes member.
2976         * st.cc (gfc_free_statement): Handle EXEC_OMP_ASSUME.
2977         * trans-openmp.cc (gfc_trans_omp_directive): Likewise.
2978         * trans.cc (trans_code): Likewise.
2980 2022-10-04  Tobias Burnus  <tobias@codesourcery.com>
2982         * parse.cc (decode_omp_directive): Handle '(end) loop' and 'scan'
2983         also with -fopenmp-simd.
2985 2022-10-01  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
2987         PR fortran/100040
2988         PR fortran/100029
2989         * trans-expr.cc (gfc_conv_class_to_class): Add code to have
2990         assumed-rank arrays recognized as full arrays and fix the type
2991         of the array assignment.
2992         (gfc_conv_procedure_call): Change order of code blocks such that
2993         the free of ALLOCATABLE dummy arguments with INTENT(OUT) occurs
2994         first.
2996 2022-09-30  Tobias Burnus  <tobias@codesourcery.com>
2998         PR fortran/105318
2999         * openmp.cc (resolve_omp_clauses): Update is_device_ptr restrictions
3000         for OpenMP 5.1 and map to has_device_addr where applicable; map
3001         use_device_ptr to use_device_addr where applicable.
3002         Silence integer-range warning for device(omp_{initial,invalid}_device).
3004 2022-09-27  Harald Anlauf  <anlauf@gmx.de>
3006         PR fortran/107054
3007         * simplify.cc (gfc_simplify_unpack): Replace assert by condition
3008         that terminates simplification when there are not enough elements
3009         in the constructor of argument VECTOR.
3011 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3013         PR fortran/41453
3014         * trans-expr.cc (gfc_conv_procedure_call): Allow strictly
3015         matching derived types.
3017 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3019         PR fortran/41453
3020         PR fortran/99169
3021         * trans-expr.cc (gfc_conv_procedure_call): Remove conditions
3022         on ALLOCATABLE and POINTER attributes guarding clobber
3023         generation.
3025 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3027         PR fortran/41453
3028         PR fortran/87401
3029         * trans-expr.cc (gfc_conv_procedure_call): Remove condition
3030         disabling clobber generation for ASSOCIATE variables.
3032 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3034         PR fortran/41453
3035         PR fortran/87395
3036         * trans-expr.cc (gfc_conv_procedure_call): Remove condition
3037         on SAVE attribute guarding clobber generation.
3039 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3041         PR fortran/41453
3042         PR fortran/87395
3043         * trans-expr.cc (gfc_conv_procedure_call): Remove condition
3044         disabling clobber generation for dummy variables.  Remove
3045         obsolete comment.
3047 2022-09-25  Harald Anlauf  <anlauf@gmx.de>
3048             Mikael Morin  <mikael@gcc.gnu.org>
3050         PR fortran/105012
3051         * trans-expr.cc (gfc_conv_procedure_call): Use dummy
3052         information from associated_dummy if there is no information
3053         from the procedure interface.
3055 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3057         PR fortran/106817
3058         * trans-expr.cc (gfc_conv_procedure_call): Collect all clobbers
3059         to their own separate block.  Append the block of clobbers to
3060         the procedure preliminary block after the argument evaluation
3061         codes for all the arguments.
3063 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3065         PR fortran/105012
3066         * trans-expr.cc (gfc_conv_procedure_call): Retrieve variable
3067         from the just calculated variable reference.
3069 2022-09-25  Mikael Morin  <mikael@gcc.gnu.org>
3071         * trans.h (gfc_conv_expr_reference): Remove add_clobber
3072         argument.
3073         * trans-expr.cc (gfc_conv_expr_reference): Ditto. Inline code
3074         depending on add_clobber and conditions controlling it ...
3075         (gfc_conv_procedure_call): ... to here.
3077 2022-09-22  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
3079         PR fortran/100103
3080         * trans-array.cc (gfc_is_reallocatable_lhs): Add select rank
3081         temporary associate names as possible targets of automatic
3082         reallocation.
3084 2022-09-22  Harald Anlauf  <anlauf@gmx.de>
3086         PR fortran/82868
3087         * trans-decl.cc (generate_coarray_sym_init): Skip symbol
3088         if attr.associate_var.
3090 2022-09-20  Tobias Burnus  <tobias@codesourcery.com>
3092         PR fortran/104143
3093         * interface.cc (compare_parameter): Permit scalar args to
3094         'type(*), dimension(*)'.
3096 2022-09-20  Harald Anlauf  <anlauf@gmx.de>
3098         PR fortran/106986
3099         * simplify.cc (gfc_simplify_findloc): Do not try to simplify
3100         intrinsic FINDLOC when the ARRAY argument has a NULL shape.
3102 2022-09-20  Harald Anlauf  <anlauf@gmx.de>
3104         PR fortran/106985
3105         * expr.cc (gfc_simplify_expr): Avoid NULL pointer dereference.
3107 2022-09-20  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
3109         PR fortran/100132
3110         * trans-types.cc (create_fn_spec): Fix function attributes when
3111         passing polymorphic pointers.
3113 2022-09-20  Martin Liska  <mliska@suse.cz>
3115         PR fortran/106636
3116         * gfortran.texi: Add back link to ISO_VARYING_STRING.
3118 2022-09-20  Martin Liska  <mliska@suse.cz>
3120         * gfortran.texi: Replace "the the" with "the".
3122 2022-09-20  Martin Liska  <mliska@suse.cz>
3124         PR fortran/106636
3125         * gfortran.texi: Remove 2 dead links.
3127 2022-09-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3129         * libgfortran.h: Declare GFC_FPE_AWAY.
3131 2022-09-15  Harald Anlauf  <anlauf@gmx.de>
3133         PR fortran/106857
3134         * simplify.cc (gfc_simplify_pack): Check for NULL pointer dereferences
3135         while walking through constructors (error recovery).
3137 2022-09-15  Harald Anlauf  <anlauf@gmx.de>
3138             Steven G. Kargl  <kargl@gcc.gnu.org>
3140         PR fortran/104314
3141         * resolve.cc (deferred_op_assign): Do not try to generate temporary
3142         for deferred character length assignment if types do not agree.
3144 2022-09-15  Richard Biener  <rguenther@suse.de>
3146         * f95-lang.cc (gfc_init_decl_processing): Do not initialize
3147         void_list_node.
3149 2022-09-14  Julian Brown  <julian@codesourcery.com>
3151         * trans-openmp.cc (gfc_trans_omp_clauses): Don't create
3152         GOMP_MAP_TO_PSET mappings for class metadata, nor GOMP_MAP_POINTER
3153         mappings for POINTER_TYPE_P decls.
3155 2022-09-10  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3157         PR fortran/95644
3158         * f95-lang.cc (gfc_init_builtin_functions): Declare FMA
3159         built-ins.
3160         * mathbuiltins.def: Declare FMA built-ins.
3161         * trans-intrinsic.cc (conv_intrinsic_ieee_fma): New function.
3162         (conv_intrinsic_ieee_signbit): New function.
3163         (gfc_build_intrinsic_lib_fndecls): Add cases for FMA and
3164         SIGNBIT.
3166 2022-09-08  Tobias Burnus  <tobias@codesourcery.com>
3168         PR fortran/106670
3169         * scanner.cc (skip_fixed_omp_sentinel): Add -Wsurprising warning
3170         for 'omx' sentinels with -fopenmp.
3171         * invoke.texi (-Wsurprising): Document additional warning case.
3173 2022-09-06  Tobias Burnus  <tobias@codesourcery.com>
3175         * openmp.cc (resolve_omp_clauses): Remove ordered/linear
3176         check as it is handled now in the middle end.
3178 2022-09-05  Tobias Burnus  <tobias@codesourcery.com>
3180         * dump-parse-tree.cc (show_omp_namelist, show_omp_clauses): Handle
3181         omp_cur_iteration and distinguish doacross/depend.
3182         * gfortran.h (enum gfc_omp_depend_doacross_op): Renamed from
3183         gfc_omp_depend_op.
3184         (enum gfc_omp_depend_doacross_op): Add OMP_DOACROSS_SINK_FIRST,
3185         Rename OMP_DEPEND_SINK to OMP_DOACROSS_SINK.
3186         (gfc_omp_namelist) Handle renaming, rename depend_op to
3187         depend_doacross_op.
3188         (struct gfc_omp_clauses): Add doacross_source.
3189         * openmp.cc (gfc_match_omp_depend_sink): Renamed to ...
3190         (gfc_match_omp_doacross_sink): ... this; handle omp_all_memory.
3191         (enum omp_mask2): Add OMP_CLAUSE_DOACROSS.
3192         (gfc_match_omp_clauses): Handle 'doacross' and syntax changes to
3193         depend.
3194         (gfc_match_omp_depobj): Simplify as sink/source are now impossible.
3195         (gfc_match_omp_ordered_depend): Request OMP_CLAUSE_DOACROSS.
3196         (resolve_omp_clauses): Update sink/source checks.
3197         (gfc_resolve_omp_directive): Resolve EXEC_OMP_ORDERED clauses.
3198         * parse.cc (decode_omp_directive): Handle 'ordered doacross'.
3199         * trans-openmp.cc (gfc_trans_omp_clauses): Handle doacross.
3200         (gfc_trans_omp_do): Fix OMP_FOR_ORIG_DECLS handling if 'ordered'
3201         clause is present.
3202         (gfc_trans_omp_depobj): Update for member name change.
3204 2022-09-04  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
3206         PR fortran/100136
3207         * trans-expr.cc (gfc_conv_procedure_call): Add handling of pointer
3208         expressions.
3210 2022-09-03  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
3212         PR fortran/100245
3213         * trans-expr.cc (trans_class_assignment): Add if clause to handle
3214         derived type in the LHS.
3216 2022-09-03  Jakub Jelinek  <jakub@redhat.com>
3218         * trans-openmp.cc (gfc_trans_omp_clauses): Use
3219         OMP_CLAUSE_DOACROSS_SINK_NEGATIVE instead of
3220         OMP_CLAUSE_DEPEND_SINK_NEGATIVE, build OMP_CLAUSE_DOACROSS
3221         clause instead of OMP_CLAUSE_DEPEND and set OMP_CLAUSE_DOACROSS_DEPEND
3222         on it.
3224 2022-09-02  Harald Anlauf  <anlauf@gmx.de>
3225             Steven G. Kargl  <kargl@gcc.gnu.org>
3227         PR fortran/99349
3228         * decl.cc (match_data_constant): Avoid NULL pointer dereference.
3230 2022-08-26  Jakub Jelinek  <jakub@redhat.com>
3232         PR fortran/106579
3233         * trans-intrinsic.cc: Include realmpfr.h.
3234         (conv_intrinsic_ieee_value): New function.
3235         (gfc_conv_ieee_arithmetic_function): Handle ieee_value.
3237 2022-08-26  Jakub Jelinek  <jakub@redhat.com>
3239         PR fortran/106579
3240         * f95-lang.cc (gfc_init_builtin_functions): Initialize
3241         BUILT_IN_FPCLASSIFY.
3242         * libgfortran.h (IEEE_OTHER_VALUE, IEEE_SIGNALING_NAN,
3243         IEEE_QUIET_NAN, IEEE_NEGATIVE_INF, IEEE_NEGATIVE_NORMAL,
3244         IEEE_NEGATIVE_DENORMAL, IEEE_NEGATIVE_SUBNORMAL,
3245         IEEE_NEGATIVE_ZERO, IEEE_POSITIVE_ZERO, IEEE_POSITIVE_DENORMAL,
3246         IEEE_POSITIVE_SUBNORMAL, IEEE_POSITIVE_NORMAL, IEEE_POSITIVE_INF):
3247         New enum.
3248         * trans-intrinsic.cc (conv_intrinsic_ieee_class): New function.
3249         (gfc_conv_ieee_arithmetic_function): Handle ieee_class.
3251 2022-08-26  Jakub Jelinek  <jakub@redhat.com>
3253         * f95-lang.cc (gfc_init_builtin_functions): Initialize
3254         BUILT_IN_ISSIGNALING.
3256 2022-08-25  Tobias Burnus  <tobias@codesourcery.com>
3258         * parse.cc (parse_omp_structured_block): When parsing strictly
3259         structured blocks, issue an error if the end-directive comes
3260         before the 'end block'.
3262 2022-08-24  Harald Anlauf  <anlauf@gmx.de>
3264         PR fortran/103694
3265         * simplify.cc (simplify_size): The size expression of an array cannot
3266         be simplified if an error occurs while resolving the array spec.
3268 2022-08-22  Harald Anlauf  <anlauf@gmx.de>
3270         PR fortran/106557
3271         * simplify.cc (gfc_simplify_ibclr): Ensure consistent results of
3272         the simplification by dropping a redundant memory representation
3273         of argument x.
3274         (gfc_simplify_ibset): Likewise.
3276 2022-08-20  Jakub Jelinek  <jakub@redhat.com>
3278         PR fortran/46539
3279         * lang.opt (static-libgfortran, static-libquadmath): Change Fortran
3280         to Driver.
3281         * options.cc (gfc_handle_option): Don't handle OPT_static_libgfortran
3282         nor OPT_static_libquadmath here.
3284 2022-08-18  Harald Anlauf  <anlauf@gmx.de>
3286         Revert:
3287         2022-07-31  Harald Anlauf  <anlauf@gmx.de>
3289         PR fortran/77652
3290         * check.cc (gfc_check_associated): Make the rank check of POINTER
3291         vs. TARGET match the allowed forms of pointer assignment for the
3292         selected Fortran standard.
3294 2022-08-17  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3295             Jakub Jelinek  <jakub@redhat.com>
3297         PR fortran/46539
3298         * lang.opt (static-libquadmath): New option.
3299         * invoke.texi (-static-libquadmath): Document it.
3300         * options.cc (gfc_handle_option): Error out if -static-libquadmath
3301         is passed but we do not support it.
3303 2022-08-17  Tobias Burnus  <tobias@codesourcery.com>
3305         PR fortran/106566
3306         * openmp.cc (gfc_match_omp_clauses): Fix setting linear-step value
3307         to 1 when not specified.
3308         (gfc_match_omp_declare_simd): Accept module procedures.
3310 2022-08-16  Martin Liska  <mliska@suse.cz>
3312         * gfortran.texi: Fix link destination to a valid URL.
3314 2022-07-31  Harald Anlauf  <anlauf@gmx.de>
3315             Steven G. Kargl  <kargl@gcc.gnu.org>
3317         PR fortran/92805
3318         * match.cc (gfc_match_small_literal_int): Make gobbling of leading
3319         whitespace optional.
3320         (gfc_match_name): Likewise.
3321         (gfc_match_char): Likewise.
3322         * match.h (gfc_match_small_literal_int): Adjust prototype.
3323         (gfc_match_name): Likewise.
3324         (gfc_match_char): Likewise.
3325         * primary.cc (match_kind_param): Match small literal int or name
3326         without gobbling whitespace.
3327         (get_kind): Do not skip over blanks.
3328         (match_string_constant): Likewise.
3330 2022-07-31  Harald Anlauf  <anlauf@gmx.de>
3332         PR fortran/77652
3333         * check.cc (gfc_check_associated): Make the rank check of POINTER
3334         vs. TARGET match the allowed forms of pointer assignment for the
3335         selected Fortran standard.
3337 2022-07-29  Tobias Burnus  <tobias@codesourcery.com>
3339         * openmp.cc (resolve_omp_clauses): Permit assumed-size arrays
3340         in uniform clause.
3342 2022-07-26  Harald Anlauf  <anlauf@gmx.de>
3344         PR fortran/103504
3345         * interface.cc (get_sym_storage_size): Array bounds and character
3346         length can only be of integer type.
3348 2022-07-21  Martin Liska  <mliska@suse.cz>
3350         * intrinsic.texi: Remove trailing dots for 2 Fortran fns.
3352 2022-07-20  Harald Anlauf  <anlauf@gmx.de>
3354         PR fortran/101330
3355         * openmp.cc (gfc_match_iterator): Remove left-over code from
3356         development that could lead to a crash on invalid input.
3358 2022-07-19  Harald Anlauf  <anlauf@gmx.de>
3360         PR fortran/103590
3361         * resolve.cc (find_array_spec): Change function result to bool to
3362         enable error recovery.  Generate error message for invalid array
3363         reference of non-array entity instead of an internal error.
3364         (gfc_resolve_ref): Use function result from find_array_spec for
3365         error recovery.
3367 2022-07-15  Steve Kargl  <kargl@gcc.gnu.org>
3369         PR fortran/104313
3370         * trans-decl.cc (gfc_generate_return): Do not generate conflicting
3371         fake results for functions with no result variable under -ff2c.
3373 2022-07-14  Harald Anlauf  <anlauf@gmx.de>
3374             Steven G. Kargl  <kargl@gcc.gnu.org>
3376         PR fortran/106209
3377         * decl.cc (add_init_expr_to_sym): Handle bad initializers for
3378         implied-shape arrays.
3380 2022-07-12  Harald Anlauf  <anlauf@gmx.de>
3382         PR fortran/106049
3383         * simplify.cc (is_constant_array_expr): A non-zero-sized constant
3384         array shall have a non-empty constructor.  When the constructor is
3385         empty or missing, treat as non-constant.
3387 2022-07-04  Tobias Burnus  <tobias@codesourcery.com>
3388             Jakub Jelinek  <jakub@redhat.com>
3390         * gfortran.h (gfc_omp_namelist): Update by creating 'linear' struct,
3391         move 'linear_op' as 'op' to id and add 'old_modifier' to it.
3392         * dump-parse-tree.cc (show_omp_namelist): Update accordingly.
3393         * module.cc (mio_omp_declare_simd): Likewise.
3394         * trans-openmp.cc (gfc_trans_omp_clauses): Likewise.
3395         * openmp.cc (resolve_omp_clauses): Likewise; accept new-style
3396         'val' modifier with do/simd.
3397         (gfc_match_omp_clauses): Handle OpenMP 5.2 linear clause syntax.
3399 2022-07-04  Tobias Burnus  <tobias@codesourcery.com>
3400             Chung-Lin Tang  <cltang@codesourcery.com>
3401             Thomas Schwinge  <thomas@codesourcery.com>
3403         * openmp.cc (gfc_match_omp_requires): Remove sorry.
3404         * parse.cc (decode_omp_directive): Don't regard 'declare target'
3405         as target usage for 'omp requires'; add more flags to
3406         omp_requires_mask.
3408 2022-07-01  Tobias Burnus  <tobias@codesourcery.com>
3410         * dump-parse-tree.cc (show_omp_namelist): For the map-type,
3411         also handle the always modifer and release/delete.
3412         * openmp.cc (resolve_omp_clauses): Accept tofrom
3413         map-type modifier for target enter/exit data,
3414         but use 'to' / 'from' internally.
3416 2022-06-30  Harald Anlauf  <anlauf@gmx.de>
3417             Steven G. Kargl  <kargl@gcc.gnu.org>
3419         PR fortran/103137
3420         PR fortran/103138
3421         PR fortran/103693
3422         PR fortran/105243
3423         * decl.cc (gfc_match_data_decl): Reject CLASS entity declaration
3424         when it is given the PARAMETER attribute.
3426 2022-06-29  Harald Anlauf  <anlauf@gmx.de>
3427             Steven G. Kargl  <kargl@gcc.gnu.org>
3429         PR fortran/106121
3430         * simplify.cc (gfc_simplify_extends_type_of): Do not attempt to
3431         simplify when one of the arguments is a CLASS variable that was
3432         not properly declared.
3434 2022-06-28  Jakub Jelinek  <jakub@redhat.com>
3436         * gfortran.h (gfc_real_info): Add use_iec_60559 bitfield.
3437         * trans-types.h (gfc_real16_use_iec_60559): Declare.
3438         * trans-types.cc (gfc_real16_use_iec_60559): Define.
3439         (gfc_init_kinds): When building powerpc64le-linux libgfortran
3440         on glibc 2.26 to 2.31, set gfc_real16_use_iec_60559 and
3441         use_iec_60559.
3442         (gfc_build_real_type): Set gfc_real16_use_iec_60559 and use_iec_60559
3443         on glibc 2.26 or later.
3444         * trans-intrinsic.cc (gfc_build_intrinsic_lib_fndecls): Adjust
3445         comment.  Handle gfc_real16_use_iec_60559.
3446         (gfc_get_intrinsic_lib_fndecl): Handle use_iec_60559.
3448 2022-06-26  Harald Anlauf  <anlauf@gmx.de>
3450         PR fortran/105691
3451         * simplify.cc (gfc_simplify_index): Replace old simplification
3452         code by the equivalent of the runtime library implementation.  Use
3453         HOST_WIDE_INT instead of int for string index, length variables.
3455 2022-06-26  Harald Anlauf  <anlauf@gmx.de>
3457         PR fortran/105954
3458         * decl.cc (variable_decl): Adjust upper bounds for explicit-shape
3459         specs with constant bound expressions to ensure non-negative
3460         extents.
3462 2022-06-24  Harald Anlauf  <anlauf@gmx.de>
3464         PR fortran/105813
3465         * check.cc (gfc_check_unpack): Try to simplify MASK argument to
3466         UNPACK so that checking of the VECTOR argument can work when MASK
3467         is a variable.
3469 2022-06-18  Harald Anlauf  <anlauf@gmx.de>
3471         PR fortran/105986
3472         * simplify.cc (gfc_simplify_btest): Add check for POS argument.
3473         (gfc_simplify_ibclr): Add check for POS argument.
3474         (gfc_simplify_ibits): Add check for POS and LEN arguments.
3475         (gfc_simplify_ibset): Add check for POS argument.
3477 2022-06-08  Tobias Burnus  <tobias@codesourcery.com>
3479         * openmp.cc (gfc_match_omp_clauses): Check also parent namespace
3480         for 'requires reverse_offload'.
3482 2022-06-07  Jakub Jelinek  <jakub@redhat.com>
3484         * trans-openmp.cc (gfc_trans_omp_clauses): Set
3485         OMP_CLAUSE_LINEAR_OLD_LINEAR_MODIFIER on OMP_CLAUSE_LINEAR
3486         clauses unconditionally for now.
3488 2022-06-03  Tobias Burnus  <tobias@codesourcery.com>
3490         * openmp.cc (OMP_SCOPE_CLAUSES): Add firstprivate and allocate.
3492 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
3494         * f95-lang.cc (gfc_get_sarif_source_language): New.
3495         (LANG_HOOKS_GET_SARIF_SOURCE_LANGUAGE): Redefine.
3497 2022-05-31  Jason Merrill  <jason@redhat.com>
3499         * Make-lang.in (fortran.tags): Look at *.cc.
3501 2022-05-30  Harald Anlauf  <anlauf@gmx.de>
3503         PR fortran/91300
3504         * libgfortran.h: Define new error code LIBERROR_NO_MEMORY.
3505         * trans-stmt.cc (gfc_trans_allocate): Generate code for setting
3506         ERRMSG depending on result of STAT result of ALLOCATE.
3507         * trans.cc (gfc_allocate_using_malloc): Use STAT value of
3508         LIBERROR_NO_MEMORY in case of failed malloc.
3510 2022-05-28  Tobias Burnus  <tobias@codesourcery.com>
3512         * dump-parse-tree.cc (show_omp_clauses): Handle OMP_LIST_ENTER.
3513         * gfortran.h: Add OMP_LIST_ENTER.
3514         * openmp.cc (enum omp_mask2, OMP_DECLARE_TARGET_CLAUSES): Add
3515         OMP_CLAUSE_ENTER.
3516         (gfc_match_omp_clauses, gfc_match_omp_declare_target,
3517         resolve_omp_clauses): Handle 'enter' clause.
3519 2022-05-27  Tobias Burnus  <tobias@codesourcery.com>
3520             Chung-Lin Tang  <cltang@codesourcery.com>
3522         * openmp.cc (gfc_check_omp_requires): Fix clause name in error.
3524 2022-05-24  Tobias Burnus  <tobias@codesourcery.com>
3526         PR c/105378
3527         * openmp.cc (gfc_match_omp_taskwait): Accept nowait.
3529 2022-05-23  Tobias Burnus  <tobias@codesourcery.com>
3531         PR fortran/104949
3532         * f95-lang.cc (LANG_HOOKS_OMP_ARRAY_SIZE): Redefine.
3533         * trans-openmp.cc (gfc_omp_array_size): New.
3534         (gfc_trans_omp_variable_list): Never turn has_device_addr
3535         to firstprivate.
3536         * trans.h (gfc_omp_array_size): New.
3538 2022-05-18  Tobias Burnus  <tobias@codesourcery.com>
3540         * gfortran.h (enum gfc_omp_depend_op): Add OMP_DEPEND_INOUTSET.
3541         (gfc_omp_clauses): Enlarge ENUM_BITFIELD.
3542         * dump-parse-tree.cc (show_omp_namelist, show_omp_clauses): Handle
3543         'inoutset' depend modifier.
3544         * openmp.cc (gfc_match_omp_clauses, gfc_match_omp_depobj): Likewise.
3545         * trans-openmp.cc (gfc_trans_omp_clauses, gfc_trans_omp_depobj):
3546         Likewise.
3548 2022-05-17  Tobias Burnus  <tobias@codesourcery.com>
3550         * dump-parse-tree.cc (show_omp_namelist): Handle omp_all_memory.
3551         * openmp.cc (gfc_match_omp_variable_list, gfc_match_omp_depend_sink,
3552         gfc_match_omp_clauses, resolve_omp_clauses): Likewise.
3553         * trans-openmp.cc (gfc_trans_omp_clauses, gfc_trans_omp_depobj):
3554         Likewise.
3555         * resolve.cc (resolve_symbol): Reject it as symbol.
3557 2022-05-16  Martin Liska  <mliska@suse.cz>
3559         * frontend-passes.cc (gfc_code_walker): Use ARRAY_SIZE.
3560         * openmp.cc (gfc_match_omp_context_selector_specification): Likewise.
3561         * trans-intrinsic.cc (conv_intrinsic_ieee_builtin): Likewise.
3562         * trans-types.cc (gfc_get_array_descr_info): Likewise.
3564 2022-05-13  Tobias Burnus  <tobias@codesourcery.com>
3566         * trans-openmp.cc (gfc_trans_omp_clauses): When mapping nondescriptor
3567         array sections, use GOMP_MAP_FIRSTPRIVATE_POINTER instead of
3568         GOMP_MAP_POINTER for the pointer attachment.
3570 2022-05-11  Harald Anlauf  <anlauf@gmx.de>
3571             Steven G. Kargl  <kargl@gcc.gnu.org>
3573         PR fortran/105230
3574         * expr.cc (find_array_section): Correct logic to avoid NULL
3575         pointer dereference on invalid array section.
3577 2022-05-10  Harald Anlauf  <anlauf@gmx.de>
3579         PR fortran/105526
3580         * resolve.cc (check_team): New.
3581         (gfc_resolve_code): Add checks for arguments to coarray intrinsics
3582         FORM TEAM, CHANGE TEAM, and SYNC TEAM.
3584 2022-05-09  Harald Anlauf  <anlauf@gmx.de>
3586         PR fortran/105501
3587         * match.cc (gfc_match_if): Adjust patterns used for matching.
3588         (gfc_match_select_rank): Likewise.
3589         * parse.cc (decode_statement): Likewise.
3591 2022-05-05  Sandra Loosemore  <sandra@codesourcery.com>
3593         * gfortran.h (struct gfc_omp_clauses): Add non_rectangular bit.
3594         * openmp.cc (is_outer_iteration_variable): New function.
3595         (expr_is_invariant): New function.
3596         (bound_expr_is_canonical): New function.
3597         (resolve_omp_do): Replace existing non-rectangularity error with
3598         check for canonical form and setting non_rectangular bit.
3599         * trans-openmp.cc (gfc_trans_omp_do): Transfer non_rectangular
3600         flag to generated tree structure.
3602 2022-05-02  Sandra Loosemore  <sandra@codesourcery.com>
3604         * trans-openmp.cc (gfc_trans_omp_critical): Set location on OMP
3605         tree node.
3606         (gfc_trans_omp_do): Likewise.
3607         (gfc_trans_omp_masked): Likewise.
3608         (gfc_trans_omp_do_simd): Likewise.
3609         (gfc_trans_omp_scope): Likewise.
3610         (gfc_trans_omp_taskgroup): Likewise.
3611         (gfc_trans_omp_taskwait): Likewise.
3612         (gfc_trans_omp_distribute): Likewise.
3613         (gfc_trans_omp_taskloop): Likewise.
3614         (gfc_trans_omp_master_masked_taskloop): Likewise.
3616 2022-04-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
3618         * gfortran.texi: Fix exchanged period and letter.
3620 2022-04-28  Thomas Koenig  <tkoenig@gcc.gnu.org>
3622         * gfortran.texi: Mention r16_ieee and r16_ibm.
3623         * invoke.texi: Likewise.
3625 2022-04-27  Mikael Morin  <mikael@gcc.gnu.org>
3627         PR fortran/103662
3628         PR fortran/105379
3629         * array.cc (compare_bounds): Use bool as return type.
3630         Support non-constant expressions.
3631         (gfc_compare_array_spec): Update call to compare_bounds.
3633 2022-04-27  Mikael Morin  <mikael@gcc.gnu.org>
3635         PR fortran/102043
3636         PR fortran/105381
3637         * trans-array.cc (non_negative_strides_array_p): Inline variable
3638         orig_decl and merge nested if conditions.  Add condition to not
3639         recurse if the next argument is the same as the current.
3641 2022-04-25  Jakub Jelinek  <jakub@redhat.com>
3642             Thomas Schwinge  <thomas@codesourcery.com>
3644         PR fortran/104717
3645         * trans-openmp.cc (gfc_trans_oacc_construct): Wrap construct body
3646         in an extra BIND_EXPR.
3648 2022-04-24  Mikael Morin  <mikael@gcc.gnu.org>
3649             Jakub Jelinek  <jakub@redhat.com>
3651         PR fortran/103662
3652         * interface.cc (gfc_compare_derived_types): Support comparing
3653         unlimited polymorphic fake symbols.  Recursively compare class
3654         descriptor types and virtual table types.
3655         * resolve.cc (resolve_fl_derived): Add type to the types list
3656         on unlimited polymorphic short-circuit return.
3658 2022-04-22  Mikael Morin  <mikael@gcc.gnu.org>
3659             Richard Biener  <rguenther@suse.de>
3661         PR fortran/102043
3662         * trans.h (gfc_build_array_ref): Add non_negative_offset
3663         argument.
3664         * trans.cc (gfc_build_array_ref): Ditto. Use pointer arithmetic
3665         if non_negative_offset is false.
3666         * trans-expr.cc (gfc_conv_substring): Set flag in the call to
3667         gfc_build_array_ref.
3668         * trans-array.cc (gfc_get_cfi_dim_item,
3669         gfc_conv_descriptor_dimension): Same.
3670         (build_array_ref): Decide on whether to set the flag and update
3671         the call.
3672         (gfc_conv_scalarized_array_ref): Same.  New argument tmp_array.
3673         (gfc_conv_tmp_array_ref): Update call to
3674         gfc_conv_scalarized_ref.
3675         (non_negative_strides_array_p): New function.
3677 2022-04-22  Mikael Morin  <mikael@gcc.gnu.org>
3679         PR fortran/102043
3680         * trans-array.cc (gfc_conv_expr_descriptor): Use
3681         gfc_conv_tmp_array_ref.
3683 2022-04-22  Mikael Morin  <mikael@gcc.gnu.org>
3685         PR fortran/102043
3686         * trans-io.cc: Add handling for the case where the array
3687         is referenced using pointer arithmetic.
3689 2022-04-22  Mikael Morin  <mikael@gcc.gnu.org>
3691         PR fortran/102043
3692         * trans-expr.cc: Pre-evaluate src and dest to variables
3693         before using them.
3695 2022-04-21  Fritz Reese  <foreese@gcc.gnu.org>
3697         PR fortran/105310
3698         * trans-expr.cc (gfc_conv_union_initializer): Pass vec* by reference.
3700 2022-04-13  Tobias Burnus  <tobias@codesourcery.com>
3702         PR fortran/105242
3703         * match.cc (match_exit_cycle): Handle missing OMP LOOP, DO and SIMD
3704         directives in the EXIT/CYCLE diagnostic.
3706 2022-04-10  Harald Anlauf  <anlauf@gmx.de>
3708         PR fortran/105184
3709         * array.cc (match_subscript): Reject assumed size coarray
3710         specification with missing lower bound.
3711         * resolve.cc (resolve_allocate_expr): Fix logic for checking
3712         allocate-coshape-spec in ALLOCATE statement.
3714 2022-04-05  Sandra Loosemore  <sandra@codesourcery.com>
3716         * trans-openmp.cc (gfc_split_omp_clauses): Fix mask for
3717         EXEC_OMP_MASKED_TASKLOOP.
3719 2022-04-05  Harald Anlauf  <anlauf@gmx.de>
3721         PR fortran/104210
3722         * arith.cc (eval_intrinsic): Avoid NULL pointer dereference.
3723         (gfc_zero_size_array): Likewise.
3725 2022-04-05  Harald Anlauf  <anlauf@gmx.de>
3726             Steven G. Kargl  <kargl@gcc.gnu.org>
3728         PR fortran/105138
3729         * intrinsic.cc (gfc_is_intrinsic): When a symbol refers to a
3730         RECURSIVE procedure, it cannot be an INTRINSIC.
3732 2022-03-30  Harald Anlauf  <anlauf@gmx.de>
3734         PR fortran/100892
3735         * check.cc (gfc_check_associated): Avoid NULL pointer dereference.
3737 2022-03-29  Harald Anlauf  <anlauf@gmx.de>
3738             Steven G. Kargl  <kargl@gcc.gnu.org>
3740         PR fortran/104571
3741         * resolve.cc (resolve_elemental_actual): Avoid NULL pointer
3742         dereference.
3744 2022-03-29  Harald Anlauf  <anlauf@gmx.de>
3746         PR fortran/50549
3747         * resolve.cc (resolve_structure_cons): Reject pointer assignments
3748         of character with different lengths in structure constructor.
3750 2022-03-25  Jakub Jelinek  <jakub@redhat.com>
3752         PR fortran/103691
3753         * trans-array.cc (gfc_conv_array_initializer): If TYPE_MAX_VALUE is
3754         smaller than TYPE_MIN_VALUE (i.e. empty array), ignore the
3755         initializer; if TYPE_MIN_VALUE is equal to TYPE_MAX_VALUE, use just
3756         the TYPE_MIN_VALUE as index instead of RANGE_EXPR.
3758 2022-03-23  Tobias Burnus  <tobias@codesourcery.com>
3760         PR fortran/103560
3761         * scanner.cc (add_path_to_list): Don't append '/' to the
3762         save include path.
3763         (open_included_file): Use '/' in concatenating path + file name.
3764         * module.cc (gzopen_included_file_1): Likewise.
3766 2022-03-22  Harald Anlauf  <anlauf@gmx.de>
3768         PR fortran/104999
3769         * simplify.cc (gfc_simplify_cshift): Ensure temporary holding
3770         source array stride is initialized.
3772 2022-03-19  Mikael Morin  <mikael@gcc.gnu.org>
3774         PR fortran/104228
3775         PR fortran/104570
3776         * parse.cc (parse_associate): Use a new distinct gfc_charlen if the
3777         copied type has one whose length is not known to be constant.
3778         * resolve.cc (resolve_assoc_var): Reset charlen if it’s shared with
3779         the associate target regardless of the expression type.
3780         Don’t reinitialize charlen if it’s deferred.
3782 2022-03-18  Tobias Burnus  <tobias@codesourcery.com>
3784         PR fortran/103039
3785         * trans-openmp.cc (gfc_omp_clause_copy_ctor, gfc_omp_clause_dtor):
3786         Only privatize pointer for associate names.
3788 2022-03-18  Tobias Burnus  <tobias@codesourcery.com>
3790         PR fortran/103039
3791         * openmp.cc (resolve_omp_clauses): Improve associate-name diagnostic
3792         for select type/rank.
3794 2022-03-11  Tobias Burnus  <tobias@codesourcery.com>
3796         * trans-openmp.cc (gfc_trans_omp_clauses, gfc_omp_finish_clause):
3797         Obtain size for mapping only if allocatable array is allocated.
3799 2022-03-09  Harald Anlauf  <anlauf@gmx.de>
3801         PR fortran/104849
3802         * expr.cc (find_array_section): Avoid NULL pointer dereference on
3803         invalid array section.
3805 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
3807         * trans-intrinsic.cc (gfc_conv_intrinsic_sizeof): Fix CLASS handling.
3809 2022-03-08  Tobias Burnus  <tobias@codesourcery.com>
3811         PR fortran/104126
3812         * trans-expr.cc (gfc_conv_gfc_desc_to_cfi_desc): Handle NULL
3813         without MOLD.
3815 2022-03-08  Harald Anlauf  <anlauf@gmx.de>
3817         PR fortran/104811
3818         * frontend-passes.cc (optimize_minmaxloc): Do not attempt
3819         frontend-optimization of MINLOC/MAXLOC for character arrays, as
3820         there is no suitable code yet for inline expansion.
3822 2022-03-07  Tobias Burnus  <tobias@codesourcery.com>
3824         PR fortran/99585
3825         PR fortran/104430
3826         * trans-expr.cc (conv_parent_component_references): Fix comment;
3827         simplify comparison.
3828         (gfc_maybe_dereference_var): Avoid d referencing a nonpointer.
3830 2022-03-07  Tobias Burnus  <tobias@codesourcery.com>
3832         * array.cc (gfc_ref_dimen_size): Fix comment typo.
3833         * dump-parse-tree.cc (gfc_dump_c_prototypes): Likewise.
3834         * frontend-passes.cc (cfe_code): Likewise.
3835         * gfortran.texi: Likewise.
3836         * resolve.cc (generate_component_assignments): Likewise.
3837         * simplify.cc (gfc_simplify_this_image): Likewise.
3838         * trans-expr.cc (trans_scalar_class_assign,
3839         gfc_maybe_dereference_var): Likewise.
3840         * intrinsic.texi: Remove word duplication.
3841         * invoke.texi: Likewise.
3843 2022-03-07  Jakub Jelinek  <jakub@redhat.com>
3845         * trans-expr.cc: Fix up duplicated word issue in a comment.
3846         * gfortran.h: Likewise.
3847         * scanner.cc: Likewise.
3849 2022-03-07  Martin Liska  <mliska@suse.cz>
3851         * intrinsic.cc (gfc_is_intrinsic): Remove asterisk from error
3852         message.
3854 2022-03-07  Martin Liska  <mliska@suse.cz>
3856         PR translation/90148
3857         * intrinsic.cc (gfc_is_intrinsic): Put
3858         quote to a proper place.
3860 2022-03-03  Kwok Cheung Yeung  <kcy@codesourcery.com>
3862         PR fortran/104131
3863         * openmp.cc (gfc_match_omp_detach): Move check for type of event
3864         handle to...
3865         (resolve_omp_clauses) ...here.  Also check that the event handle is
3866         not an array, or an array access or structure element access.
3868 2022-03-02  Harald Anlauf  <anlauf@gmx.de>
3870         PR fortran/104573
3871         * resolve.cc (resolve_structure_cons): Avoid NULL pointer
3872         dereference when there is no valid component.
3874 2022-02-24  Harald Anlauf  <anlauf@gmx.de>
3876         PR fortran/84519
3877         * dump-parse-tree.cc (show_code_node): Dump QUIET specifier when
3878         present.
3879         * match.cc (gfc_match_stopcode): Implement parsing of F2018 QUIET
3880         specifier.  F2018 stopcodes may have non-default integer kind.
3881         * resolve.cc (gfc_resolve_code): Add checks for QUIET argument.
3882         * trans-stmt.cc (gfc_trans_stop): Pass QUIET specifier to call of
3883         library function.
3885 2022-02-22  Harald Anlauf  <anlauf@gmx.de>
3887         PR fortran/104619
3888         * resolve.cc (resolve_structure_cons): Skip shape check if shape
3889         of constructor cannot be determined at compile time.
3891 2022-02-20  Harald Anlauf  <anlauf@gmx.de>
3893         PR fortran/77693
3894         * data.cc (gfc_assign_data_value): If a variable in a data
3895         statement has the POINTER attribute, check for allowed initial
3896         data target that is compatible with pointer assignment.
3897         * gfortran.h (IS_POINTER): New macro.
3899 2022-02-15  Tobias Burnus  <tobias@codesourcery.com>
3901         * trans-openmp.cc (gfc_trans_omp_depobj): Fix to alloc/ptr dummy
3902         and for c_ptr.
3904 2022-02-15  Tobias Burnus  <tobias@codesourcery.com>
3906         * trans-openmp.cc (gfc_trans_omp_clauses, gfc_trans_omp_depobj):
3907         Depend on the proper addr, for ptr/alloc depend on pointee.
3909 2022-02-14  Harald Anlauf  <anlauf@gmx.de>
3911         PR fortran/104211
3912         * expr.cc (find_array_section): Replace assertion by error
3913         recovery when encountering bad array constructor.
3915 2022-02-13  Mikael Morin  <mikael@gcc.gnu.org>
3917         PR fortran/104228
3918         * resolve.cc (resolve_assoc_var): Also create a new character
3919         length for non-dummy associate targets.
3920         * trans-stmt.cc (trans_associate_var): Initialize character length
3921         even if no temporary is used for the associate variable.
3923 2022-02-10  Roger Sayle  <roger@nextmovesoftware.com>
3924             Tobias Burnus  <tobias@codesourcery.com>
3926         * trans-common.cc (GFC_EQUIV_FMT): New macro respecting the
3927         target's NO_DOT_IN_LABEL and NO_DOLLAR_IN_LABEL preferences.
3928         (build_equiv_decl): Use GFC_EQUIV_FMT here.
3930 2022-02-10  Tobias Burnus  <tobias@codesourcery.com>
3932         PR fortran/104329
3933         * openmp.cc (resolve_omp_atomic): Defer extra-code assert after
3934         other diagnostics.
3936 2022-02-10  Marcel Vollweiler  <marcel@codesourcery.com>
3938         * dump-parse-tree.cc (show_omp_clauses): Added OMP_LIST_HAS_DEVICE_ADDR
3939         case.
3940         * gfortran.h: Added OMP_LIST_HAS_DEVICE_ADDR.
3941         * openmp.cc (enum omp_mask2): Added OMP_CLAUSE_HAS_DEVICE_ADDR.
3942         (gfc_match_omp_clauses): Parse HAS_DEVICE_ADDR clause.
3943         (resolve_omp_clauses): Same.
3944         * trans-openmp.cc (gfc_trans_omp_variable_list): Added
3945         OMP_LIST_HAS_DEVICE_ADDR case.
3946         (gfc_trans_omp_clauses): Firstprivatize of array descriptors.
3948 2022-02-09  Harald Anlauf  <anlauf@gmx.de>
3950         PR fortran/66193
3951         * arith.cc (reduce_binary_ac): When reducing binary expressions,
3952         try simplification.  Handle case of empty constructor.
3953         (reduce_binary_ca): Likewise.
3955 2022-02-03  Harald Anlauf  <anlauf@gmx.de>
3957         PR fortran/104311
3958         * check.cc (gfc_calculate_transfer_sizes): Checks for case when
3959         storage size of SOURCE is greater than zero while the storage size
3960         of MOLD is zero and MOLD is an array shall not depend on SIZE.
3962 2022-02-03  Jakub Jelinek  <jakub@redhat.com>
3964         PR fortran/104328
3965         * openmp.cc (is_scalar_intrinsic_expr): If must_be_var && conv_ok
3966         and expr is conversion, verify it is a conversion from EXPR_VARIABLE
3967         with non-NULL symtree.  Check ->block->next before dereferencing it.
3969 2022-02-01  Harald Anlauf  <anlauf@gmx.de>
3971         PR fortran/104331
3972         * simplify.cc (gfc_simplify_eoshift): Avoid NULL pointer
3973         dereference when shape is not set.
3975 2022-01-28  Andre Vehreschild  <vehre@gcc.gnu.org>
3977         PR fortran/103790
3978         * trans-array.cc (structure_alloc_comps): Prevent descriptor
3979         stacking for non-array data; do not broadcast caf-tokens.
3980         * trans-intrinsic.cc (conv_co_collective): Prevent generation
3981         of unused descriptor.
3983 2022-01-28  Andre Vehreschild  <vehre@gcc.gnu.org>
3985         Revert:
3986         2022-01-28  Andre Vehreschild  <vehre@gcc.gnu.org>
3988         PR fortran/103790
3989         * trans-array.cc (structure_alloc_comps): Prevent descriptor
3990         stacking for non-array data; do not broadcast caf-tokens.
3991         * trans-intrinsic.cc (conv_co_collective): Prevent generation
3992         of unused descriptor.
3994 2022-01-28  Andre Vehreschild  <vehre@gcc.gnu.org>
3996         PR fortran/103790
3997         * trans-array.cc (structure_alloc_comps): Prevent descriptor
3998         stacking for non-array data; do not broadcast caf-tokens.
3999         * trans-intrinsic.cc (conv_co_collective): Prevent generation
4000         of unused descriptor.
4002 2022-01-27  Harald Anlauf  <anlauf@gmx.de>
4004         PR fortran/104128
4005         * expr.cc (gfc_copy_expr): Convert internal representation of
4006         string to wide char in value only for default character kind.
4007         * target-memory.cc (interpret_array): Pass flag for conversion of
4008         wide chars.
4009         (gfc_target_interpret_expr): Likewise.
4011 2022-01-27  Harald Anlauf  <anlauf@gmx.de>
4013         PR fortran/84784
4014         * trans-intrinsic.cc (conv_intrinsic_image_status): Convert result
4015         to resulting (default) integer type.
4016         (conv_intrinsic_team_number): Likewise.
4017         (gfc_conv_intrinsic_popcnt_poppar): Likewise.
4019 2022-01-25  Harald Anlauf  <anlauf@gmx.de>
4021         PR fortran/104227
4022         * check.cc (gfc_calculate_transfer_sizes): Fix checking of arrays
4023         passed as MOLD argument to the TRANSFER intrinsic for having
4024         storage size zero.
4026 2022-01-25  Harald Anlauf  <anlauf@gmx.de>
4028         PR fortran/104212
4029         * check.cc (gfc_check_norm2): Check that optional argument DIM is
4030         scalar.
4031         (gfc_check_parity): Likewise.
4033 2022-01-24  Jakub Jelinek  <jakub@redhat.com>
4035         * lang.opt (fconvert=): Add EnumSet property and mention also
4036         r16_ieee and r16_ibm arguments.
4037         (big-endian, little-endian, native, swap): Add Set(1) property.
4038         (r16_ieee, r16_ibm): New EnumValue entries with Set(2) property.
4039         * trans-types.cc (gfc_init_kinds): Emit gfc_fatal_error for
4040         -fconvert=r16_ieee or -fconvert=r16_ibm when R16_IEEE <=> R16_IBM
4041         conversions aren't supported.
4043 2022-01-22  Harald Anlauf  <anlauf@gmx.de>
4045         PR fortran/104127
4046         * simplify.cc (gfc_simplify_transfer): Ensure that the result
4047         typespec is set up for TRANSFER with MOLD of type CHARACTER
4048         including character length even if the result is a zero-sized
4049         array.
4051 2022-01-20  Sandra Loosemore  <sandra@codesourcery.com>
4053         PR fortran/103695
4054         PR fortran/102621
4055         * gfortran.h (struct gfc_namespace) Add omp_affinity_iterator
4056         field.
4057         * dump-parse-tree.cc (show_iterator): Use it.
4058         * openmp.cc (gfc_match_iterator): Likewise.
4059         (resolve_omp_clauses): Likewise.
4060         * trans-decl.cc (gfc_finish_var_decl): Likewise.
4061         * trans-openmp.cc (handle_iterator): Likewise.
4063 2022-01-18  Harald Anlauf  <anlauf@gmx.de>
4065         PR fortran/103692
4066         * array.cc (gfc_expand_constructor): Handle zero-sized array
4067         constructors.
4069 2022-01-17  Martin Liska  <mliska@suse.cz>
4071         * check.cc (gfc_check_all_any): Rename .c names to .cc.
4072         * class.cc (find_intrinsic_vtab): Likewise.
4073         * config-lang.in: Likewise.
4074         * cpp.cc (cpp_define_builtins): Likewise.
4075         * data.cc (get_array_index): Likewise.
4076         * decl.cc (match_clist_expr): Likewise.
4077         (get_proc_name): Likewise.
4078         (gfc_verify_c_interop_param): Likewise.
4079         (gfc_get_pdt_instance): Likewise.
4080         (gfc_match_formal_arglist): Likewise.
4081         (gfc_get_type_attr_spec): Likewise.
4082         * dependency.cc: Likewise.
4083         * error.cc (gfc_format_decoder): Likewise.
4084         * expr.cc (check_restricted): Likewise.
4085         (gfc_build_default_init_expr): Likewise.
4086         * f95-lang.cc: Likewise.
4087         * gfc-internals.texi: Likewise.
4088         * gfortran.h (enum match): Likewise.
4089         (enum procedure_type): Likewise.
4090         (enum oacc_routine_lop): Likewise.
4091         (gfc_get_pdt_instance): Likewise.
4092         (gfc_end_source_files): Likewise.
4093         (gfc_mpz_set_hwi): Likewise.
4094         (gfc_get_option_string): Likewise.
4095         (gfc_find_sym_in_expr): Likewise.
4096         (gfc_errors_to_warnings): Likewise.
4097         (gfc_real_4_kind): Likewise.
4098         (gfc_free_finalizer): Likewise.
4099         (gfc_sym_get_dummy_args): Likewise.
4100         (gfc_check_intrinsic_standard): Likewise.
4101         (gfc_free_case_list): Likewise.
4102         (gfc_resolve_oacc_routines): Likewise.
4103         (gfc_check_vardef_context): Likewise.
4104         (gfc_free_association_list): Likewise.
4105         (gfc_implicit_pure_function): Likewise.
4106         (gfc_ref_dimen_size): Likewise.
4107         (gfc_compare_actual_formal): Likewise.
4108         (gfc_resolve_wait): Likewise.
4109         (gfc_dt_upper_string): Likewise.
4110         (gfc_generate_module_code): Likewise.
4111         (gfc_delete_bbt): Likewise.
4112         (debug): Likewise.
4113         (gfc_build_block_ns): Likewise.
4114         (gfc_dep_difference): Likewise.
4115         (gfc_invalid_null_arg): Likewise.
4116         (gfc_is_finalizable): Likewise.
4117         (gfc_fix_implicit_pure): Likewise.
4118         (gfc_is_size_zero_array): Likewise.
4119         (gfc_is_reallocatable_lhs): Likewise.
4120         * gfortranspec.cc: Likewise.
4121         * interface.cc (compare_actual_expr): Likewise.
4122         * intrinsic.cc (add_functions): Likewise.
4123         * iresolve.cc (gfc_resolve_matmul): Likewise.
4124         (gfc_resolve_alarm_sub): Likewise.
4125         * iso-c-binding.def: Likewise.
4126         * lang-specs.h: Likewise.
4127         * libgfortran.h (GFC_STDERR_UNIT_NUMBER): Likewise.
4128         * match.cc (gfc_match_label): Likewise.
4129         (gfc_match_symbol): Likewise.
4130         (match_derived_type_spec): Likewise.
4131         (copy_ts_from_selector_to_associate): Likewise.
4132         * match.h (gfc_match_call): Likewise.
4133         (gfc_get_common): Likewise.
4134         (gfc_match_omp_end_single): Likewise.
4135         (gfc_match_volatile): Likewise.
4136         (gfc_match_bind_c): Likewise.
4137         (gfc_match_literal_constant): Likewise.
4138         (gfc_match_init_expr): Likewise.
4139         (gfc_match_array_constructor): Likewise.
4140         (gfc_match_end_interface): Likewise.
4141         (gfc_match_print): Likewise.
4142         (gfc_match_expr): Likewise.
4143         * matchexp.cc (next_operator): Likewise.
4144         * mathbuiltins.def: Likewise.
4145         * module.cc (free_true_name): Likewise.
4146         * openmp.cc (gfc_resolve_omp_parallel_blocks): Likewise.
4147         (gfc_omp_save_and_clear_state): Likewise.
4148         * parse.cc (parse_union): Likewise.
4149         (set_syms_host_assoc): Likewise.
4150         * resolve.cc (resolve_actual_arglist): Likewise.
4151         (resolve_elemental_actual): Likewise.
4152         (check_host_association): Likewise.
4153         (resolve_typebound_function): Likewise.
4154         (resolve_typebound_subroutine): Likewise.
4155         (gfc_resolve_expr): Likewise.
4156         (resolve_assoc_var): Likewise.
4157         (resolve_typebound_procedures): Likewise.
4158         (resolve_equivalence_derived): Likewise.
4159         * simplify.cc (simplify_bound): Likewise.
4160         * symbol.cc (gfc_set_default_type): Likewise.
4161         (gfc_add_ext_attribute): Likewise.
4162         * target-memory.cc (gfc_target_interpret_expr): Likewise.
4163         * target-memory.h (gfc_target_interpret_expr): Likewise.
4164         * trans-array.cc (gfc_get_cfi_dim_sm): Likewise.
4165         (gfc_conv_shift_descriptor_lbound): Likewise.
4166         (gfc_could_be_alias): Likewise.
4167         (gfc_get_dataptr_offset): Likewise.
4168         * trans-const.cc: Likewise.
4169         * trans-decl.cc (trans_function_start): Likewise.
4170         (gfc_trans_deferred_vars): Likewise.
4171         (generate_local_decl): Likewise.
4172         (gfc_generate_function_code): Likewise.
4173         * trans-expr.cc (gfc_vptr_size_get): Likewise.
4174         (gfc_trans_class_array_init_assign): Likewise.
4175         (POWI_TABLE_SIZE): Likewise.
4176         (gfc_conv_procedure_call): Likewise.
4177         (gfc_trans_arrayfunc_assign): Likewise.
4178         * trans-intrinsic.cc (gfc_conv_intrinsic_len): Likewise.
4179         (gfc_conv_intrinsic_loc): Likewise.
4180         (conv_intrinsic_event_query): Likewise.
4181         * trans-io.cc (gfc_build_st_parameter): Likewise.
4182         * trans-openmp.cc (gfc_omp_check_optional_argument): Likewise.
4183         (gfc_omp_unshare_expr_r): Likewise.
4184         (gfc_trans_omp_array_section): Likewise.
4185         (gfc_trans_omp_clauses): Likewise.
4186         * trans-stmt.cc (trans_associate_var): Likewise.
4187         (gfc_trans_deallocate): Likewise.
4188         * trans-stmt.h (gfc_trans_class_init_assign): Likewise.
4189         (gfc_trans_deallocate): Likewise.
4190         (gfc_trans_oacc_declare): Likewise.
4191         * trans-types.cc: Likewise.
4192         * trans-types.h (enum gfc_packed): Likewise.
4193         * trans.cc (N_): Likewise.
4194         (trans_code): Likewise.
4195         * trans.h (gfc_build_compare_string): Likewise.
4196         (gfc_conv_expr_type): Likewise.
4197         (gfc_trans_deferred_vars): Likewise.
4198         (getdecls): Likewise.
4199         (gfc_get_array_descr_info): Likewise.
4200         (gfc_omp_firstprivatize_type_sizes): Likewise.
4201         (GTY): Likewise.
4203 2022-01-17  Martin Liska  <mliska@suse.cz>
4205         * arith.c: Moved to...
4206         * arith.cc: ...here.
4207         * array.c: Moved to...
4208         * array.cc: ...here.
4209         * bbt.c: Moved to...
4210         * bbt.cc: ...here.
4211         * check.c: Moved to...
4212         * check.cc: ...here.
4213         * class.c: Moved to...
4214         * class.cc: ...here.
4215         * constructor.c: Moved to...
4216         * constructor.cc: ...here.
4217         * convert.c: Moved to...
4218         * convert.cc: ...here.
4219         * cpp.c: Moved to...
4220         * cpp.cc: ...here.
4221         * data.c: Moved to...
4222         * data.cc: ...here.
4223         * decl.c: Moved to...
4224         * decl.cc: ...here.
4225         * dependency.c: Moved to...
4226         * dependency.cc: ...here.
4227         * dump-parse-tree.c: Moved to...
4228         * dump-parse-tree.cc: ...here.
4229         * error.c: Moved to...
4230         * error.cc: ...here.
4231         * expr.c: Moved to...
4232         * expr.cc: ...here.
4233         * f95-lang.c: Moved to...
4234         * f95-lang.cc: ...here.
4235         * frontend-passes.c: Moved to...
4236         * frontend-passes.cc: ...here.
4237         * gfortranspec.c: Moved to...
4238         * gfortranspec.cc: ...here.
4239         * interface.c: Moved to...
4240         * interface.cc: ...here.
4241         * intrinsic.c: Moved to...
4242         * intrinsic.cc: ...here.
4243         * io.c: Moved to...
4244         * io.cc: ...here.
4245         * iresolve.c: Moved to...
4246         * iresolve.cc: ...here.
4247         * match.c: Moved to...
4248         * match.cc: ...here.
4249         * matchexp.c: Moved to...
4250         * matchexp.cc: ...here.
4251         * misc.c: Moved to...
4252         * misc.cc: ...here.
4253         * module.c: Moved to...
4254         * module.cc: ...here.
4255         * openmp.c: Moved to...
4256         * openmp.cc: ...here.
4257         * options.c: Moved to...
4258         * options.cc: ...here.
4259         * parse.c: Moved to...
4260         * parse.cc: ...here.
4261         * primary.c: Moved to...
4262         * primary.cc: ...here.
4263         * resolve.c: Moved to...
4264         * resolve.cc: ...here.
4265         * scanner.c: Moved to...
4266         * scanner.cc: ...here.
4267         * simplify.c: Moved to...
4268         * simplify.cc: ...here.
4269         * st.c: Moved to...
4270         * st.cc: ...here.
4271         * symbol.c: Moved to...
4272         * symbol.cc: ...here.
4273         * target-memory.c: Moved to...
4274         * target-memory.cc: ...here.
4275         * trans-array.c: Moved to...
4276         * trans-array.cc: ...here.
4277         * trans-common.c: Moved to...
4278         * trans-common.cc: ...here.
4279         * trans-const.c: Moved to...
4280         * trans-const.cc: ...here.
4281         * trans-decl.c: Moved to...
4282         * trans-decl.cc: ...here.
4283         * trans-expr.c: Moved to...
4284         * trans-expr.cc: ...here.
4285         * trans-intrinsic.c: Moved to...
4286         * trans-intrinsic.cc: ...here.
4287         * trans-io.c: Moved to...
4288         * trans-io.cc: ...here.
4289         * trans-openmp.c: Moved to...
4290         * trans-openmp.cc: ...here.
4291         * trans-stmt.c: Moved to...
4292         * trans-stmt.cc: ...here.
4293         * trans-types.c: Moved to...
4294         * trans-types.cc: ...here.
4295         * trans.c: Moved to...
4296         * trans.cc: ...here.
4298 2022-01-17  Andrew Stubbs  <ams@codesourcery.com>
4300         * openmp.c (gfc_match_omp_requires): Don't "sorry" dynamic_allocators.
4302 2022-01-15  Harald Anlauf  <anlauf@gmx.de>
4304         PR fortran/83079
4305         * target-memory.c (gfc_interpret_character): Result length is
4306         in bytes and thus depends on the character kind.
4307         * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Compute correct
4308         string length for the result of the TRANSFER intrinsic and for
4309         temporaries for the different character kinds.
4311 2022-01-14  Harald Anlauf  <anlauf@gmx.de>
4313         PR fortran/99256
4314         * intrinsic.c: Do not check formal argument type when checking
4315         arguments of intrinsics for alternate return specifiers.
4317 2022-01-14  Harald Anlauf  <anlauf@gmx.de>
4319         PR fortran/103782
4320         * expr.c (gfc_simplify_expr): Adjust logic for when to scalarize a
4321         call of an intrinsic which may have been overloaded.
4323 2022-01-13  Hafiz Abid Qadeer  <abidh@codesourcery.com>
4325         * dump-parse-tree.c (show_omp_clauses): Handle OMP_LIST_ALLOCATE.
4326         * gfortran.h (OMP_LIST_ALLOCATE): New enum value.
4327         * openmp.c (enum omp_mask1): Add OMP_CLAUSE_ALLOCATE.
4328         (gfc_match_omp_clauses): Handle OMP_CLAUSE_ALLOCATE
4329         (OMP_PARALLEL_CLAUSES, OMP_DO_CLAUSES, OMP_SECTIONS_CLAUSES)
4330         (OMP_TASK_CLAUSES, OMP_TASKLOOP_CLAUSES, OMP_TARGET_CLAUSES)
4331         (OMP_TEAMS_CLAUSES, OMP_DISTRIBUTE_CLAUSES)
4332         (OMP_SINGLE_CLAUSES): Add OMP_CLAUSE_ALLOCATE.
4333         (OMP_TASKGROUP_CLAUSES): New.
4334         (gfc_match_omp_taskgroup): Use OMP_TASKGROUP_CLAUSES instead of
4335         OMP_CLAUSE_TASK_REDUCTION.
4336         (resolve_omp_clauses): Handle OMP_LIST_ALLOCATE.
4337         (resolve_omp_do): Avoid warning when loop iteration variable is
4338         in allocate clause.
4339         * trans-openmp.c (gfc_trans_omp_clauses): Handle translation of
4340         allocate clause.
4341         (gfc_split_omp_clauses): Update for OMP_LIST_ALLOCATE.
4343 2022-01-13  Harald Anlauf  <anlauf@gmx.de>
4345         PR fortran/67804
4346         * primary.c (gfc_match_structure_constructor): Recover from errors
4347         that occurred while checking for a valid structure constructor in
4348         a DATA statement.
4350 2022-01-11  Thomas Koenig  <tkoenig@gcc.gnu.org>
4352         * libgfortran.h (unit_convert): Add flags.
4354 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
4356         * trans-types.c (gfc_init_kinds): When setting abi_kind to 17, if not
4357         targetting glibc 2.32 or later and -fbuilding-libgfortran, set
4358         gfc_real16_is_float128 and c_float128 in gfc_real_kinds.
4359         (gfc_build_real_type): Don't set c_long_double if c_float128 is
4360         already set.
4361         * trans-intrinsic.c (builtin_decl_for_precision): Don't use
4362         long_double_built_in if gfc_real16_is_float128 and
4363         long_double_type_node == gfc_float128_type_node.
4364         * lang.opt (fbuilding-libgfortran): New undocumented option.
4366 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
4368         * trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Use
4369         gfc_type_abi_kind.
4371 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
4373         * trans-io.c (transfer_array_desc): Pass abi kind instead of kind
4374         to libgfortran.
4376 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
4378         * trans-io.c (transfer_namelist_element): Use gfc_type_abi_kind,
4379         formatting fixes.
4380         (transfer_expr): Use gfc_type_abi_kind, use *REAL128* APIs even
4381         for abi_kind == 17.
4383 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
4385         * gfortran.h (gfc_real_info): Add abi_kind member.
4386         (gfc_type_abi_kind): Declare.
4387         * trans-types.c (gfc_init_kinds): Initialize abi_kind.
4388         * intrinsic.c (gfc_type_abi_kind): New function.
4389         (conv_name): Use it.
4390         * iresolve.c (resolve_transformational, gfc_resolve_abs,
4391         gfc_resolve_char_achar, gfc_resolve_acos, gfc_resolve_acosh,
4392         gfc_resolve_aimag, gfc_resolve_and, gfc_resolve_aint, gfc_resolve_all,
4393         gfc_resolve_anint, gfc_resolve_any, gfc_resolve_asin,
4394         gfc_resolve_asinh, gfc_resolve_atan, gfc_resolve_atanh,
4395         gfc_resolve_atan2, gfc_resolve_bessel_n2, gfc_resolve_ceiling,
4396         gfc_resolve_cmplx, gfc_resolve_complex, gfc_resolve_cos,
4397         gfc_resolve_cosh, gfc_resolve_count, gfc_resolve_dble,
4398         gfc_resolve_dim, gfc_resolve_dot_product, gfc_resolve_dprod,
4399         gfc_resolve_exp, gfc_resolve_floor, gfc_resolve_hypot,
4400         gfc_resolve_int, gfc_resolve_int2, gfc_resolve_int8, gfc_resolve_long,
4401         gfc_resolve_log, gfc_resolve_log10, gfc_resolve_logical,
4402         gfc_resolve_matmul, gfc_resolve_minmax, gfc_resolve_maxloc,
4403         gfc_resolve_findloc, gfc_resolve_maxval, gfc_resolve_merge,
4404         gfc_resolve_minloc, gfc_resolve_minval, gfc_resolve_mod,
4405         gfc_resolve_modulo, gfc_resolve_nearest, gfc_resolve_or,
4406         gfc_resolve_real, gfc_resolve_realpart, gfc_resolve_reshape,
4407         gfc_resolve_sign, gfc_resolve_sin, gfc_resolve_sinh, gfc_resolve_sqrt,
4408         gfc_resolve_tan, gfc_resolve_tanh, gfc_resolve_transpose,
4409         gfc_resolve_trigd, gfc_resolve_xor, gfc_resolve_random_number):
4410         Likewise.
4411         * trans-decl.c (gfc_build_intrinsic_function_decls): Likewise.
4413 2022-01-10  Paul Thomas  <pault@gcc.gnu.org>
4415         PR fortran/103366
4416         * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Allow unlimited
4417         polymorphic actual argument passed to assumed type formal.
4419 2022-01-09  Harald Anlauf  <anlauf@gmx.de>
4421         PR fortran/103777
4422         * simplify.c (gfc_simplify_maskr): Check validity of argument 'I'
4423         before simplifying.
4424         (gfc_simplify_maskl): Likewise.
4426 2022-01-09  Harald Anlauf  <anlauf@gmx.de>
4428         PR fortran/101762
4429         * expr.c (gfc_check_pointer_assign): For pointer initialization
4430         targets, check that subscripts and substring indices in
4431         specifications are constant expressions.
4433 2022-01-09  Mikael Morin  <mikael@gcc.gnu.org>
4435         PR fortran/103789
4436         * trans-array.c (arg_evaluated_for_scalarization): Add MASKL, MASKR,
4437         SCAN and VERIFY to the list of intrinsics whose KIND argument is to be
4438         ignored.
4440 2022-01-07  Sandra Loosemore  <sandra@codesourcery.com>
4442         PR fortran/103898
4443         * trans-intrinsic.c (gfc_conv_intrinsic_size): Make size_var
4444         actually be a variable and fix surrounding code.
4446 2022-01-06  Steve Kargl  <kargl@gcc.gnu.org>
4447             Sandra Loosemore  <sandra@codesourcery.com>
4449         PR fortran/103287
4450         * interface.c (argument_rank_mismatch): Replace incorrect assertion
4451         with return.
4453 2022-01-05  Sandra Loosemore  <sandra@codesourcery.com>
4455         PR fortran/103258
4456         * decl.c (gfc_match_char_spec): Suppress errors around call
4457         to gfc_reduce_init_expr.
4458         * error.c (gfc_query_suppress_errors): New.
4459         * gfortran.h (gfc_query_suppress_errors): Declare.
4460         * symbol.c (gfc_set_default_type): Check gfc_query_suppress_errors.
4462 2022-01-03  Sandra Loosemore  <sandra@codesourcery.com>
4464         PR fortran/103390
4465         * expr.c (gfc_is_simply_contiguous): Make it smarter about
4466         function calls.
4467         * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Do not generate
4468         copy loops for array expressions that are not "variables" (lvalues).
4470 2022-01-03  Jakub Jelinek  <jakub@redhat.com>
4472         * gfortranspec.c (lang_specific_driver): Update copyright notice
4473         dates.
4474         * gfc-internals.texi: Bump @copying's copyright year.
4475         * gfortran.texi: Ditto.
4476         * intrinsic.texi: Ditto.
4477         * invoke.texi: Ditto.
4480 Copyright (C) 2022 Free Software Foundation, Inc.
4482 Copying and distribution of this file, with or without modification,
4483 are permitted in any medium without royalty provided the copyright
4484 notice and this notice are preserved.