]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgfortran/ChangeLog
aix: Use $(AR) without -X32_64 to build FAT libraries.
[thirdparty/gcc.git] / libgfortran / ChangeLog
1 2020-09-03 Harald Anlauf <anlauf@gmx.de>
2
3 * m4/iall.m4: Initial value for result should be -1.
4 * generated/iall_i1.c (miall_i1): Generated.
5 * generated/iall_i16.c (miall_i16): Likewise.
6 * generated/iall_i2.c (miall_i2): Likewise.
7 * generated/iall_i4.c (miall_i4): Likewise.
8 * generated/iall_i8.c (miall_i8): Likewise.
9
10 2020-08-24 Mark Eggleston <markeggleston@gcc.gnu.org>
11
12 PR fortran/96486
13 * intrinsics/env.c: If value_len is > 0 blank the string.
14 Copy the result only if its length is > 0.
15
16 2020-08-20 Mark Eggleston <markeggleston@gcc.gnu.org>
17
18 PR fortran/96436
19 * io/format.c (parse_format_list): Add new local variable
20 "standard" to hold the required standard to check. If the
21 format width is zero select standard depending on descriptor.
22 Call notification_std using the new standard variable.
23
24 2020-08-17 David Edelsohn <dje.gcc@gmail.com>
25 Clement Chigot <clement.chigot@atos.net>
26
27 * config/t-aix: Add complementary mode object file to libcaf_single.a.
28
29 2020-08-03 Tobias Burnus <tobias@codesourcery.com>
30
31 * caf/single.c (_gfortran_caf_lock): Fix typo.
32
33 2020-07-26 Tobias Burnus <tobias@codesourcery.com>
34
35 PR target/96306
36 * configure.ac: Add LIBGOMP_CHECKED_INT_KINDS and
37 LIBGOMP_CHECKED_REAL_KINDS and use it for to skip
38 integer kind=16 checks for amdgcn.
39 * Makefile.am (kinds.h, selected_int_kind.inc,
40 selected_real_kind.inc): Pass them on.
41 * mk-kinds-h.sh: Takes to-be-check kinds as argument.
42 * mk-sik-inc.sh: Likewise.
43 * mk-srk-inc.sh: Likewise.
44 * Makefile.in: Regenerate.
45 * configure: Regenerate.
46
47 2020-07-24 Dominique d'Humieres <dhumieres.dominique@free.fr>
48
49 PR fortran/93567
50 * io/write_float.def (determine_en_precision): Fix switch between
51 FMT_E and FMT_F.
52
53 2020-07-24 Dominique d'Humieres <dhumieres.dominique@free.fr>
54
55 PR fortran/93592
56 * io/write_float.def (build_float_string): Do not reset
57 nbefore for FMT_F and FMT_EN.
58
59 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
60
61 * config/t-aix: Set BITS from compiler cpp macro.
62
63 2020-06-22 David Edelsohn <dje.gcc@gmail.com>
64
65 * Makefile.am: Use -include.
66 * Makefile.in: Regenerate.
67
68 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
69
70 * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
71 * Makefile.in: Regenerate.
72 * configure.ac (tmake_file): Substitute.
73 * configure: Regenerate.
74 * configure.host: Add system configury stanza. Define tmake_file.
75 * config/t-aix: New file.
76
77 2020-06-13 Thomas Koenig <tkoenig@gcc.gnu.org>
78
79 PR libfortran/95313
80 * io/write.c (ztoa_big): Disable -Wstringop-overflow for one
81 line.
82
83 2020-06-08 Harald Anlauf <anlauf@gmx.de>
84
85 PR fortran/95091
86 * io/transfer.c (finalize_transfer): Fix type in error message.
87
88 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
89
90 PR libfortran/95418
91 * config/fpu-387.h (struct fenv): Add __attribute__ ((gcc_struct)).
92
93 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
94
95 PR bootstrap/95413
96 * configure: Regenerated.
97
98 2020-05-29 Jakub Jelinek <jakub@redhat.com>
99
100 PR libfortran/95390
101 * Makefile.am (i_findloc0_c): Add findloc0_i10.c.
102 (i_findloc1_c): Add findloc1_i10.c.
103 * gfortran.map (GFORTRAN_10.2): New symbol version, export
104 _gfortran_{,m,s}findloc{0,1}_c10 symbols.
105 * Makefile.in: Regenerated.
106 * generated/findloc0_c10.c: Generated.
107 * generated/findloc1_c10.c: Generated.
108
109 2020-05-28 Harald Anlauf <anlauf@gmx.de>
110
111 PR libfortran/95104
112 * io/unit.c (unlock_unit): Guard by check for NULL pointer.
113
114 2020-05-26 Harald Anlauf <anlauf@gmx.de>
115 Steven G. Kargl <kargl@gcc.gnu.org>
116
117 PR libfortran/95104
118 * io/transfer.c (st_wait_async): Do not dereference NULL pointer.
119
120 2020-05-26 Harald Anlauf <anlauf@gmx.de>
121
122 PR fortran/95195
123 * io/transfer.c (finalize_transfer): Generate runtime error for
124 namelist input/output to unformatted file.
125
126 2020-05-23 Thomas Koenig <tkoenig@gcc.gnu.org>
127
128 PR libfortran/95191
129 * io/async.c (async_wait_id): Generate error if ID is higher
130 than the highest current ID.
131 * runtime/error.c (translate_error): Handle LIBERROR_BAD_WAIT_ID.
132
133 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
134
135 * m4/matmul.m4: Don't include <config/i386/cpuinfo.h>. Use
136 __builtin_cpu_is/__builtin_cpu_supports
137 * generated/matmul_c10.c: Regenerated.
138 * generated/matmul_c16.c: Likewise.
139 * generated/matmul_c4.c: Likewise.
140 * generated/matmul_c8.c: Likewise.
141 * generated/matmul_i1.c: Likewise.
142 * generated/matmul_i16.c: Likewise.
143 * generated/matmul_i2.c: Likewise.
144 * generated/matmul_i4.c: Likewise.
145 * generated/matmul_i8.c: Likewise.
146 * generated/matmul_r10.c: Likewise.
147 * generated/matmul_r16.c: Likewise.
148 * generated/matmul_r4.c: Likewise.
149 * generated/matmul_r8.c: Likewise.
150
151 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
152
153 PR bootstrap/95147
154 * configure: Regenerated.
155
156 2020-05-14 Thomas Koenig <tkoenig@gcc.gnu.org>
157
158 PR libfortran/95119
159 * io/close.c (close_status): Add CLOSE_INVALID.
160 (st_close): Return early on invalid STATUS parameter.
161
162 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
163
164 * configure: Regenerated.
165
166 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
167
168 * config/fpu-387.h (__math_force_eval): Remove.
169 (__math_force_eval_div): New define.
170 (local_feraiseexcept): Use __math_force_eval_div to use
171 generic division to generate INVALID, DIVZERO and INEXACT
172 exceptions.
173 (struct fenv): Define named struct instead of typedef.
174
175 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
176
177 * config/fpu-387.h (__math_force_eval): New define.
178 (local_feraiseexcept): Use __math_force_eval to evaluate
179 generic division to generate INVALID and DIVZERO exceptions.
180
181 2020-04-22 Fritz Reese <foreese@gcc.gnu.org>
182
183 * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
184 Guard against unavailable math functions.
185 Use suffixes from kinds.h based on the REAL kind.
186
187 2020-04-22 Jakub Jelinek <jakub@redhat.com>
188
189 PR libfortran/94694
190 PR libfortran/94586
191 * configure.ac: Add math func checks for fmaf, fma and fmal. Add
192 HAVE_INLINE_BUILTIN_COPYSIGN check.
193 * c99_protos.h (copysign, fmaf, fma, fmal): Provide fallback
194 prototypes.
195 (HAVE_COPYSIGN, HAVE_FMAF, HAVE_FMA, HAVE_FMAL): Define if not
196 defined and fallback version is provided.
197 * intrinsics/c99_functions.c (copysign, fmaf, fma, fmal): Provide
198 fallback implementations if possible
199 * configure: Regenerated.
200 * config.h.in: Regenerated.
201
202 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
203
204 * config/fpu-387.h (local_feraiseexcept) [__SSE_MATH__]:
205 Remove unneeded assignments to volatile memory.
206
207 2020-04-01 Fritz Reese <foreese@gcc.gnu.org>
208 Steven G. Kargl <kargl@gcc.gnu.org>
209
210 PR fortran/93871
211 * Makefile.am, Makefile.in: New make rule for intrinsics/trigd.c.
212 * gfortran.map: New routines for {sind, cosd, tand}X{r4, r8, r10, r16}.
213 * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
214 New files. Defines native degree-valued trig functions.
215
216 2020-02-18 Thomas Koenig <tkoenig@gcc.gnu.org>
217
218 PR fortran/93599
219 * io/async.c (destroy_adv_cond): Do not destroy lock.
220 (async_io): Make sure au->lock is locked for finishing of thread.
221 Do not lock/unlock around signalling emptysignal. Unlock au->lock
222 before return.
223 (init_adv_cond): Do not initialize lock.
224 (enqueue_transfer): Unlock after signal.
225 (enqueue_done_id): Likewise.
226 (enqueue_done): Likewise.
227 (enqueue_close): Likewise.
228 (enqueue_data_transfer): Likewise.
229 (async_wait_id): Do not lock/unlock around signalling au->work.
230 (async_wait): Unlock after signal.
231 * io/async.h (SIGNAL): Add comment about needed au->lock.
232 Remove locking/unlocking of advcond->lock.
233 (WAIT_SIGNAL_MUTEX): Add comment. Remove locking/unlocking of
234 advcond->lock. Unlock mutex only at the end. Loop on
235 __ghread_cond_wait returning zero.
236 (REVOKE_SIGNAL): Add comment. Remove locking/unlocking of
237 advcond->lock.
238 (struct adv_cond): Remove mutex from struct.
239
240 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
241
242 PR libstdc++/79193
243 PR libstdc++/88999
244
245 * configure: Regenerated.
246
247 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
248
249 * configure.ac: Handle `--with-toolexeclibdir='.
250 * Makefile.in: Regenerate.
251 * aclocal.m4: Regenerate.
252 * configure: Regenerate.
253
254 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
255
256 PR libfortran/93234
257 * io/unit.c (set_internal_unit): Set round and sign flags
258 correctly.
259
260 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
261
262 PR libfortran/90374
263 * io/format.c (parse_format_list): Zero width not allowed with
264 FMT_D.
265 * io/write_float.def (build_float_string): Include range of
266 higher exponent values that require wider width.
267
268 2020-01-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
269
270 PR libfortran/90374
271 * io/format.c (parse_format_list): Implement the E0 exponent
272 width to provide smallest possible width for exponent fields.
273 Refactor code for correct parsing and better readability of the
274 code.
275 * io/io.h (write_real_w0): Change interface to pass in pointer
276 to fnode.
277 * io/transfer.c: Update all calls to write_real_w0 to use the
278 new interface.
279 * io/write.c ((write_real_w0): Use the new interface with fnode
280 to access both the decimal precision and exponent widths used in
281 build_float_string.
282 * io/write_float.def (build_float_string): Use the passed in
283 exponent width to calculate the used width in the case of E0.
284
285 2020-01-01 Jakub Jelinek <jakub@redhat.com>
286
287 Update copyright years.
288 \f
289 Copyright (C) 2020 Free Software Foundation, Inc.
290
291 Copying and distribution of this file, with or without modification,
292 are permitted in any medium without royalty provided the copyright
293 notice and this notice are preserved.