Default to dwarf version 4 on hppa64-hpux
[official-gcc.git] / libgfortran / ChangeLog
blob12816cc837812b4ad9a2a0cb9f7a2d4564d8775b
1 2021-09-27  Tobias Burnus  <tobias@codesourcery.com>
3         PR fortran/94070
4         * intrinsics/size.c (size0, size1): Comment that now not
5         used by newer compiler code.
7 2021-09-26  Tobias Burnus  <tobias@codesourcery.com>
9         PR fortran/101334
10         * intrinsics/associated.c (associated): Also check for same rank.
12 2021-09-22  Tobias Burnus  <tobias@codesourcery.com>
14         PR fortran/55534
15         * configure.ac (AM_FCFLAGS): Revert r12-3722 by removing
16         -Wno-missing-include-dirs.
17         * configure: Regenerate.
19 2021-09-21  Tobias Burnus  <tobias@codesourcery.com>
21         PR fortran/55534
22         * configure.ac (AM_FCFLAGS): Add -Wno-missing-include-dirs.
23         * configure: Regenerate.
25 2021-09-17  Sandra Loosemore  <sandra@codesourcery.com>
27         * ISO_Fortran_binding.h: Update comments.
28         * runtime/ISO_Fortran_binding.c: Likewise.
30 2021-09-17  Sandra Loosemore  <sandra@codesourcery.com>
31             Tobias Burnus  <tobias@codesourcery.com>
33         * ISO_Fortran_binding.h: Only include float.h if the C compiler
34         doesn't have predefined __LDBL_* and __DBL_* macros. Handle
35         LDBL_MANT_DIG == 53 for FreeBSD.
37 2021-09-13  Andreas Schwab  <schwab@linux-m68k.org>
39         * ISO_Fortran_binding.h (CFI_type_long_double)
40         (CFI_type_long_double_Complex) [LDBL_MANT_DIG == 64 &&
41         LDBL_MIN_EXP == -16382 && LDBL_MAX_EXP == 16384]: Define.
43 2021-09-07  Tobias Burnus  <tobias@codesourcery.com>
45         * Makefile.am (gfor_built_src): Depend on
46         include/ISO_Fortran_binding.h not on ISO_Fortran_binding.h.
47         (ISO_Fortran_binding.h): Rename make target to ...
48         (include/ISO_Fortran_binding.h): ... this.
49         * Makefile.in: Regenerate.
51 2021-09-07  Sandra Loosemore  <sandra@codesourcery.com>
53         * ISO_Fortran_binding-1-tmpl.h: Deleted.
54         * ISO_Fortran_binding-2-tmpl.h: Deleted.
55         * ISO_Fortran_binding-3-tmpl.h: Deleted.
56         * ISO_Fortran_binding.h: New file to replace the above.
57         * Makefile.am (gfor_cdir): Remove MULTISUBDIR.
58         (ISO_Fortran_binding.h): Simplify to just copy the file.
59         * Makefile.in: Regenerated.
60         * mk-kinds-h.sh: Revert pieces no longer needed for
61         ISO_Fortran_binding.h.
63 2021-09-02  Sandra Loosemore  <sandra@codesourcery.com>
64             José Rui Faustino de Sousa  <jrfsousa@gmail.com>
66         PR fortran/100907
67         PR fortran/100911
68         PR fortran/100914
69         PR fortran/100915
70         PR fortran/100917
71         * ISO_Fortran_binding-1-tmpl.h (CFI_type_cfunptr): Make equivalent
72         to CFI_type_cptr.
73         * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Fix
74         handling of CFI_type_cptr and CFI_type_cfunptr.  Additional error
75         checking and code cleanup.
76         (gfc_desc_to_cfi_desc): Likewise.  Also correct kind mapping
77         for character, complex, and long double types.
79 2021-08-27  Iain Sandoe  <iain@sandoe.co.uk>
81         * Makefile.am: Use configured libm availability.
82         * Makefile.in: Regenerate.
83         * configure: Regenerate.
84         * configure.ac: Use libtool macro to find libm availability.
85         * libgfortran.spec.in: Use configured libm availability.
87 2021-08-10  Tobias Burnus  <tobias@codesourcery.com>
89         PR libfortran/101305
90         PR fortran/101660
91         PR testsuite/101847
92         * Makefile.am (ISO_Fortran_binding.h): Create include/ in the build dir
93         and copy the include file to it.
94         (clean-local): Add for removing the 'include' directory.
95         * Makefile.in: Regenerate.
97 2021-07-28  Sandra Loosemore  <sandra@codesourcery.com>
99         PR libfortran/101317
100         * runtime/ISO_Fortran_binding.c: Include <inttypes.h>.
101         (CFI_address): Tidy error messages and comments.
102         (CFI_allocate): Likewise.
103         (CFI_deallocate): Likewise.
104         (CFI_establish): Likewise.  Add new checks for validity of
105         elem_len when it's used, plus type argument and extents.
106         (CFI_is_contiguous): Tidy error messages and comments.
107         (CFI_section): Likewise.  Refactor some repetitive code to
108         make it more understandable.
109         (CFI_select_part): Likewise.
110         (CFI_setpointer): Likewise.  Check that source is not an
111         unallocated allocatable array or an assumed-size array.
113 2021-07-28  Sandra Loosemore  <sandra@codesourcery.com>
115         PR libfortran/101310
116         * runtime/ISO_Fortran_binding.c (CFI_section): Fix the base
117         address computation and simplify the code.
119 2021-07-28  Sandra Loosemore  <sandra@codesourcery.com>
121         PR libfortran/101305
122         * runtime/ISO_Fortran_binding.c (CFI_establish): Special-case
123         CFI_type_cptr and CFI_type_cfunptr.  Correct size of long double
124         on targets where it has kind 10.
126 2021-07-28  Sandra Loosemore  <sandra@codesourcery.com>
127             Tobias Burnus  <tobias@codesourcery.com>
129         PR libfortran/101305
130         * ISO_Fortran_binding.h: Fix hard-coded sizes and split into...
131         * ISO_Fortran_binding-1-tmpl.h: New file.
132         * ISO_Fortran_binding-2-tmpl.h: New file.
133         * ISO_Fortran_binding-3-tmpl.h: New file.
134         * Makefile.am: Add rule for generating ISO_Fortran_binding.h.
135         Adjust pathnames to that file.
136         * Makefile.in: Regenerated.
137         * mk-kinds-h.sh: New file.
138         * runtime/ISO_Fortran_binding.c: Fix include path.
140 2021-07-26  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
141             Tobias Burnus  <tobias@codesourcery.com>
143         PR fortran/93308
144         PR fortran/93963
145         PR fortran/94327
146         PR fortran/94331
147         PR fortran/97046
148         * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Add code
149         to verify the descriptor. Correct bounds calculation.
150         (gfc_desc_to_cfi_desc): Add code to verify the descriptor.
152 2021-07-22  Sandra Loosemore  <sandra@codesourcery.com>
154         * runtime/ISO_Fortran_binding.c (CFI_allocate): Don't use elem_len
155         for CFI_type_signed_char.
156         (CFI_select_part): Likewise.
158 2021-07-01  Tobias Burnus  <tobias@codesourcery.com>
159             Sandra Loosemore  <sandra@codesourcery.com>
161         * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc):
162         Initialize version field to 0.
163         (gfc_desc_to_cfi_desc): Initialize version field to CFI_VERSION.
165 2021-06-29  Julian Brown  <julian@codesourcery.com>
167         PR target/96306
168         * configure.ac: Remove stanza that removes KIND=16 integers for AMD GCN.
169         * configure: Regenerate.
171 2021-06-22  Sandra Loosemore  <sandra@codesourcery.com>
172             Tobias Burnus  <tobias@codesourcery.com>
174         PR fortran/93524
175         * runtime/ISO_Fortran_binding.c (CFI_allocate): Fix
176         sm computation.
178 2021-06-08  Martin Liska  <mliska@suse.cz>
180         * intrinsics/chmod.c (chmod_internal): Fix typo.
181         * io/transfer.c (read_sf): Likewise.
183 2021-06-05  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
185         PR fortran/100120
186         * intrinsics/associated.c (associated): have associated verify if
187         the "span" matches insted of the "elem_len".
188         * libgfortran.h (GFC_DESCRIPTOR_SPAN): add macro to retrive the
189         descriptor "span".
191 2021-05-22  Andre Vehreschild  <vehre@gcc.gnu.org>
193         PR fortran/98301
194         * caf/libcaf.h (_gfortran_caf_random_init): New function.
195         * caf/single.c (_gfortran_caf_random_init): New function.
196         * gfortran.map: Added fndecl.
197         * intrinsics/random_init.f90: Implement random_init.
199 2021-05-05  Tobias Burnus  <tobias@codesourcery.com>
201         * intrinsics/chmod.c (chmod_internal): Only declare mode_mask var
202         if HAVE_UMASK.
204 2021-05-02  Tobias Burnus  <tobias@codesourcery.com>
206         PR libgomp/100352
207         * io/transfer.c (st_read_done_worker, st_write_done_worker): Add new
208         arg whether to unlock unit.
209         (st_read_done, st_write_done): Call it with true.
210         * io/async.c (async_io): Call it with false.
211         * io/io.h (st_write_done_worker, st_read_done_worker): Update prototype.
213 2021-03-12  Tobias Burnus  <tobias@codesourcery.com>
215         * io/transfer.c (st_read_done_worker, st_write_done_worker):
216         Call unlock_unit here, add unit_lock lock around newunit_free call.
217         (st_read_done, st_write_done): Only call unlock_unit when not
218         calling the worker function.
219         * io/unit.c (set_internal_unit): Don't reset the unit_number
220         to the same number as this cause race warnings.
222 2021-03-05  Harald Anlauf  <anlauf@gmx.de>
224         PR libfortran/99218
225         * m4/matmul_internal.m4: Invoke tuned matmul only for rank(b)>1.
226         * generated/matmul_c10.c: Regenerated.
227         * generated/matmul_c16.c: Likewise.
228         * generated/matmul_c4.c: Likewise.
229         * generated/matmul_c8.c: Likewise.
230         * generated/matmul_i1.c: Likewise.
231         * generated/matmul_i16.c: Likewise.
232         * generated/matmul_i2.c: Likewise.
233         * generated/matmul_i4.c: Likewise.
234         * generated/matmul_i8.c: Likewise.
235         * generated/matmul_r10.c: Likewise.
236         * generated/matmul_r16.c: Likewise.
237         * generated/matmul_r4.c: Likewise.
238         * generated/matmul_r8.c: Likewise.
239         * generated/matmulavx128_c10.c: Likewise.
240         * generated/matmulavx128_c16.c: Likewise.
241         * generated/matmulavx128_c4.c: Likewise.
242         * generated/matmulavx128_c8.c: Likewise.
243         * generated/matmulavx128_i1.c: Likewise.
244         * generated/matmulavx128_i16.c: Likewise.
245         * generated/matmulavx128_i2.c: Likewise.
246         * generated/matmulavx128_i4.c: Likewise.
247         * generated/matmulavx128_i8.c: Likewise.
248         * generated/matmulavx128_r10.c: Likewise.
249         * generated/matmulavx128_r16.c: Likewise.
250         * generated/matmulavx128_r4.c: Likewise.
251         * generated/matmulavx128_r8.c: Likewise.
253 2021-03-03  Vittorio Zecca  <zeccav@gmail.com>
254             Tobias Burnus  <tobias@codesourcery.com>
256         PR libfortran/81986
257         * runtime/string.c (gfc_itoa): Cast to unsigned before
258         negating.
260 2021-02-12  Steve Kargl  <sgk@troutmask.apl.washington.edu>
262         PR libfortran/95647
263         * ieee/ieee_arithmetic.F90: Flip interfaces of operators .eq. to
264         == and .ne. to /= .
266 2021-02-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
268         PR libfortran/98825
269         * io/transfer.c (next_record_w): Insert check for seen_dollar and if
270         so, skip issueing next record.
272 2021-01-27  Harris Snyder  <hsnyder@structura.bio>
274         * runtime/ISO_Fortran_binding.c (CFI_establish): fixed
275         strides for rank >2 arrays.
277 2021-01-15  Harris Snyder  <hsnyder@structura.bio>
279         * runtime/ISO_Fortran_binding.c (CFI_establish): Fixed signed
280           char arrays. Signed char or uint8_t arrays would cause
281           crashes unless an element size is specified.
283 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
285         * configure: Re-generate.
287 2021-01-01  Jakub Jelinek  <jakub@redhat.com>
289         * ChangeLog-2020: Rotate ChangeLog.  New file.
292 Copyright (C) 2021 Free Software Foundation, Inc.
294 Copying and distribution of this file, with or without modification,
295 are permitted in any medium without royalty provided the copyright
296 notice and this notice are preserved.