1 2021-09-21 Tobias Burnus <tobias@codesourcery.com>
4 * configure.ac (AM_FCFLAGS): Add -Wno-missing-include-dirs.
5 * configure: Regenerate.
7 2021-09-17 Sandra Loosemore <sandra@codesourcery.com>
9 * ISO_Fortran_binding.h: Update comments.
10 * runtime/ISO_Fortran_binding.c: Likewise.
12 2021-09-17 Sandra Loosemore <sandra@codesourcery.com>
13 Tobias Burnus <tobias@codesourcery.com>
15 * ISO_Fortran_binding.h: Only include float.h if the C compiler
16 doesn't have predefined __LDBL_* and __DBL_* macros. Handle
17 LDBL_MANT_DIG == 53 for FreeBSD.
19 2021-09-13 Andreas Schwab <schwab@linux-m68k.org>
21 * ISO_Fortran_binding.h (CFI_type_long_double)
22 (CFI_type_long_double_Complex) [LDBL_MANT_DIG == 64 &&
23 LDBL_MIN_EXP == -16382 && LDBL_MAX_EXP == 16384]: Define.
25 2021-09-07 Tobias Burnus <tobias@codesourcery.com>
27 * Makefile.am (gfor_built_src): Depend on
28 include/ISO_Fortran_binding.h not on ISO_Fortran_binding.h.
29 (ISO_Fortran_binding.h): Rename make target to ...
30 (include/ISO_Fortran_binding.h): ... this.
31 * Makefile.in: Regenerate.
33 2021-09-07 Sandra Loosemore <sandra@codesourcery.com>
35 * ISO_Fortran_binding-1-tmpl.h: Deleted.
36 * ISO_Fortran_binding-2-tmpl.h: Deleted.
37 * ISO_Fortran_binding-3-tmpl.h: Deleted.
38 * ISO_Fortran_binding.h: New file to replace the above.
39 * Makefile.am (gfor_cdir): Remove MULTISUBDIR.
40 (ISO_Fortran_binding.h): Simplify to just copy the file.
41 * Makefile.in: Regenerated.
42 * mk-kinds-h.sh: Revert pieces no longer needed for
43 ISO_Fortran_binding.h.
45 2021-09-02 Sandra Loosemore <sandra@codesourcery.com>
46 José Rui Faustino de Sousa <jrfsousa@gmail.com>
53 * ISO_Fortran_binding-1-tmpl.h (CFI_type_cfunptr): Make equivalent
55 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Fix
56 handling of CFI_type_cptr and CFI_type_cfunptr. Additional error
57 checking and code cleanup.
58 (gfc_desc_to_cfi_desc): Likewise. Also correct kind mapping
59 for character, complex, and long double types.
61 2021-08-27 Iain Sandoe <iain@sandoe.co.uk>
63 * Makefile.am: Use configured libm availability.
64 * Makefile.in: Regenerate.
65 * configure: Regenerate.
66 * configure.ac: Use libtool macro to find libm availability.
67 * libgfortran.spec.in: Use configured libm availability.
69 2021-08-10 Tobias Burnus <tobias@codesourcery.com>
74 * Makefile.am (ISO_Fortran_binding.h): Create include/ in the build dir
75 and copy the include file to it.
76 (clean-local): Add for removing the 'include' directory.
77 * Makefile.in: Regenerate.
79 2021-07-28 Sandra Loosemore <sandra@codesourcery.com>
82 * runtime/ISO_Fortran_binding.c: Include <inttypes.h>.
83 (CFI_address): Tidy error messages and comments.
84 (CFI_allocate): Likewise.
85 (CFI_deallocate): Likewise.
86 (CFI_establish): Likewise. Add new checks for validity of
87 elem_len when it's used, plus type argument and extents.
88 (CFI_is_contiguous): Tidy error messages and comments.
89 (CFI_section): Likewise. Refactor some repetitive code to
90 make it more understandable.
91 (CFI_select_part): Likewise.
92 (CFI_setpointer): Likewise. Check that source is not an
93 unallocated allocatable array or an assumed-size array.
95 2021-07-28 Sandra Loosemore <sandra@codesourcery.com>
98 * runtime/ISO_Fortran_binding.c (CFI_section): Fix the base
99 address computation and simplify the code.
101 2021-07-28 Sandra Loosemore <sandra@codesourcery.com>
104 * runtime/ISO_Fortran_binding.c (CFI_establish): Special-case
105 CFI_type_cptr and CFI_type_cfunptr. Correct size of long double
106 on targets where it has kind 10.
108 2021-07-28 Sandra Loosemore <sandra@codesourcery.com>
109 Tobias Burnus <tobias@codesourcery.com>
112 * ISO_Fortran_binding.h: Fix hard-coded sizes and split into...
113 * ISO_Fortran_binding-1-tmpl.h: New file.
114 * ISO_Fortran_binding-2-tmpl.h: New file.
115 * ISO_Fortran_binding-3-tmpl.h: New file.
116 * Makefile.am: Add rule for generating ISO_Fortran_binding.h.
117 Adjust pathnames to that file.
118 * Makefile.in: Regenerated.
119 * mk-kinds-h.sh: New file.
120 * runtime/ISO_Fortran_binding.c: Fix include path.
122 2021-07-26 José Rui Faustino de Sousa <jrfsousa@gmail.com>
123 Tobias Burnus <tobias@codesourcery.com>
130 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Add code
131 to verify the descriptor. Correct bounds calculation.
132 (gfc_desc_to_cfi_desc): Add code to verify the descriptor.
134 2021-07-22 Sandra Loosemore <sandra@codesourcery.com>
136 * runtime/ISO_Fortran_binding.c (CFI_allocate): Don't use elem_len
137 for CFI_type_signed_char.
138 (CFI_select_part): Likewise.
140 2021-07-01 Tobias Burnus <tobias@codesourcery.com>
141 Sandra Loosemore <sandra@codesourcery.com>
143 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc):
144 Initialize version field to 0.
145 (gfc_desc_to_cfi_desc): Initialize version field to CFI_VERSION.
147 2021-06-29 Julian Brown <julian@codesourcery.com>
150 * configure.ac: Remove stanza that removes KIND=16 integers for AMD GCN.
151 * configure: Regenerate.
153 2021-06-22 Sandra Loosemore <sandra@codesourcery.com>
154 Tobias Burnus <tobias@codesourcery.com>
157 * runtime/ISO_Fortran_binding.c (CFI_allocate): Fix
160 2021-06-08 Martin Liska <mliska@suse.cz>
162 * intrinsics/chmod.c (chmod_internal): Fix typo.
163 * io/transfer.c (read_sf): Likewise.
165 2021-06-05 José Rui Faustino de Sousa <jrfsousa@gmail.com>
168 * intrinsics/associated.c (associated): have associated verify if
169 the "span" matches insted of the "elem_len".
170 * libgfortran.h (GFC_DESCRIPTOR_SPAN): add macro to retrive the
173 2021-05-22 Andre Vehreschild <vehre@gcc.gnu.org>
176 * caf/libcaf.h (_gfortran_caf_random_init): New function.
177 * caf/single.c (_gfortran_caf_random_init): New function.
178 * gfortran.map: Added fndecl.
179 * intrinsics/random_init.f90: Implement random_init.
181 2021-05-05 Tobias Burnus <tobias@codesourcery.com>
183 * intrinsics/chmod.c (chmod_internal): Only declare mode_mask var
186 2021-05-02 Tobias Burnus <tobias@codesourcery.com>
189 * io/transfer.c (st_read_done_worker, st_write_done_worker): Add new
190 arg whether to unlock unit.
191 (st_read_done, st_write_done): Call it with true.
192 * io/async.c (async_io): Call it with false.
193 * io/io.h (st_write_done_worker, st_read_done_worker): Update prototype.
195 2021-03-12 Tobias Burnus <tobias@codesourcery.com>
197 * io/transfer.c (st_read_done_worker, st_write_done_worker):
198 Call unlock_unit here, add unit_lock lock around newunit_free call.
199 (st_read_done, st_write_done): Only call unlock_unit when not
200 calling the worker function.
201 * io/unit.c (set_internal_unit): Don't reset the unit_number
202 to the same number as this cause race warnings.
204 2021-03-05 Harald Anlauf <anlauf@gmx.de>
207 * m4/matmul_internal.m4: Invoke tuned matmul only for rank(b)>1.
208 * generated/matmul_c10.c: Regenerated.
209 * generated/matmul_c16.c: Likewise.
210 * generated/matmul_c4.c: Likewise.
211 * generated/matmul_c8.c: Likewise.
212 * generated/matmul_i1.c: Likewise.
213 * generated/matmul_i16.c: Likewise.
214 * generated/matmul_i2.c: Likewise.
215 * generated/matmul_i4.c: Likewise.
216 * generated/matmul_i8.c: Likewise.
217 * generated/matmul_r10.c: Likewise.
218 * generated/matmul_r16.c: Likewise.
219 * generated/matmul_r4.c: Likewise.
220 * generated/matmul_r8.c: Likewise.
221 * generated/matmulavx128_c10.c: Likewise.
222 * generated/matmulavx128_c16.c: Likewise.
223 * generated/matmulavx128_c4.c: Likewise.
224 * generated/matmulavx128_c8.c: Likewise.
225 * generated/matmulavx128_i1.c: Likewise.
226 * generated/matmulavx128_i16.c: Likewise.
227 * generated/matmulavx128_i2.c: Likewise.
228 * generated/matmulavx128_i4.c: Likewise.
229 * generated/matmulavx128_i8.c: Likewise.
230 * generated/matmulavx128_r10.c: Likewise.
231 * generated/matmulavx128_r16.c: Likewise.
232 * generated/matmulavx128_r4.c: Likewise.
233 * generated/matmulavx128_r8.c: Likewise.
235 2021-03-03 Vittorio Zecca <zeccav@gmail.com>
236 Tobias Burnus <tobias@codesourcery.com>
239 * runtime/string.c (gfc_itoa): Cast to unsigned before
242 2021-02-12 Steve Kargl <sgk@troutmask.apl.washington.edu>
245 * ieee/ieee_arithmetic.F90: Flip interfaces of operators .eq. to
248 2021-02-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
251 * io/transfer.c (next_record_w): Insert check for seen_dollar and if
252 so, skip issueing next record.
254 2021-01-27 Harris Snyder <hsnyder@structura.bio>
256 * runtime/ISO_Fortran_binding.c (CFI_establish): fixed
257 strides for rank >2 arrays.
259 2021-01-15 Harris Snyder <hsnyder@structura.bio>
261 * runtime/ISO_Fortran_binding.c (CFI_establish): Fixed signed
262 char arrays. Signed char or uint8_t arrays would cause
263 crashes unless an element size is specified.
265 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
267 * configure: Re-generate.
269 2021-01-01 Jakub Jelinek <jakub@redhat.com>
271 * ChangeLog-2020: Rotate ChangeLog. New file.
274 Copyright (C) 2021 Free Software Foundation, Inc.
276 Copying and distribution of this file, with or without modification,
277 are permitted in any medium without royalty provided the copyright
278 notice and this notice are preserved.