1 2020-06-08 Harald Anlauf <anlauf@gmx.de>
4 * io/transfer.c (finalize_transfer): Fix type in error message.
6 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
9 * config/fpu-387.h (struct fenv): Add __attribute__ ((gcc_struct)).
11 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
14 * configure: Regenerated.
16 2020-05-29 Jakub Jelinek <jakub@redhat.com>
19 * Makefile.am (i_findloc0_c): Add findloc0_i10.c.
20 (i_findloc1_c): Add findloc1_i10.c.
21 * gfortran.map (GFORTRAN_10.2): New symbol version, export
22 _gfortran_{,m,s}findloc{0,1}_c10 symbols.
23 * Makefile.in: Regenerated.
24 * generated/findloc0_c10.c: Generated.
25 * generated/findloc1_c10.c: Generated.
27 2020-05-28 Harald Anlauf <anlauf@gmx.de>
30 * io/unit.c (unlock_unit): Guard by check for NULL pointer.
32 2020-05-26 Harald Anlauf <anlauf@gmx.de>
33 Steven G. Kargl <kargl@gcc.gnu.org>
36 * io/transfer.c (st_wait_async): Do not dereference NULL pointer.
38 2020-05-26 Harald Anlauf <anlauf@gmx.de>
41 * io/transfer.c (finalize_transfer): Generate runtime error for
42 namelist input/output to unformatted file.
44 2020-05-23 Thomas Koenig <tkoenig@gcc.gnu.org>
47 * io/async.c (async_wait_id): Generate error if ID is higher
48 than the highest current ID.
49 * runtime/error.c (translate_error): Handle LIBERROR_BAD_WAIT_ID.
51 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
53 * m4/matmul.m4: Don't include <config/i386/cpuinfo.h>. Use
54 __builtin_cpu_is/__builtin_cpu_supports
55 * generated/matmul_c10.c: Regenerated.
56 * generated/matmul_c16.c: Likewise.
57 * generated/matmul_c4.c: Likewise.
58 * generated/matmul_c8.c: Likewise.
59 * generated/matmul_i1.c: Likewise.
60 * generated/matmul_i16.c: Likewise.
61 * generated/matmul_i2.c: Likewise.
62 * generated/matmul_i4.c: Likewise.
63 * generated/matmul_i8.c: Likewise.
64 * generated/matmul_r10.c: Likewise.
65 * generated/matmul_r16.c: Likewise.
66 * generated/matmul_r4.c: Likewise.
67 * generated/matmul_r8.c: Likewise.
69 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
72 * configure: Regenerated.
74 2020-05-14 Thomas Koenig <tkoenig@gcc.gnu.org>
77 * io/close.c (close_status): Add CLOSE_INVALID.
78 (st_close): Return early on invalid STATUS parameter.
80 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
82 * configure: Regenerated.
84 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
86 * config/fpu-387.h (__math_force_eval): Remove.
87 (__math_force_eval_div): New define.
88 (local_feraiseexcept): Use __math_force_eval_div to use
89 generic division to generate INVALID, DIVZERO and INEXACT
91 (struct fenv): Define named struct instead of typedef.
93 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
95 * config/fpu-387.h (__math_force_eval): New define.
96 (local_feraiseexcept): Use __math_force_eval to evaluate
97 generic division to generate INVALID and DIVZERO exceptions.
99 2020-04-22 Fritz Reese <foreese@gcc.gnu.org>
101 * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
102 Guard against unavailable math functions.
103 Use suffixes from kinds.h based on the REAL kind.
105 2020-04-22 Jakub Jelinek <jakub@redhat.com>
109 * configure.ac: Add math func checks for fmaf, fma and fmal. Add
110 HAVE_INLINE_BUILTIN_COPYSIGN check.
111 * c99_protos.h (copysign, fmaf, fma, fmal): Provide fallback
113 (HAVE_COPYSIGN, HAVE_FMAF, HAVE_FMA, HAVE_FMAL): Define if not
114 defined and fallback version is provided.
115 * intrinsics/c99_functions.c (copysign, fmaf, fma, fmal): Provide
116 fallback implementations if possible
117 * configure: Regenerated.
118 * config.h.in: Regenerated.
120 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
122 * config/fpu-387.h (local_feraiseexcept) [__SSE_MATH__]:
123 Remove unneeded assignments to volatile memory.
125 2020-04-01 Fritz Reese <foreese@gcc.gnu.org>
126 Steven G. Kargl <kargl@gcc.gnu.org>
129 * Makefile.am, Makefile.in: New make rule for intrinsics/trigd.c.
130 * gfortran.map: New routines for {sind, cosd, tand}X{r4, r8, r10, r16}.
131 * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
132 New files. Defines native degree-valued trig functions.
134 2020-02-18 Thomas Koenig <tkoenig@gcc.gnu.org>
137 * io/async.c (destroy_adv_cond): Do not destroy lock.
138 (async_io): Make sure au->lock is locked for finishing of thread.
139 Do not lock/unlock around signalling emptysignal. Unlock au->lock
141 (init_adv_cond): Do not initialize lock.
142 (enqueue_transfer): Unlock after signal.
143 (enqueue_done_id): Likewise.
144 (enqueue_done): Likewise.
145 (enqueue_close): Likewise.
146 (enqueue_data_transfer): Likewise.
147 (async_wait_id): Do not lock/unlock around signalling au->work.
148 (async_wait): Unlock after signal.
149 * io/async.h (SIGNAL): Add comment about needed au->lock.
150 Remove locking/unlocking of advcond->lock.
151 (WAIT_SIGNAL_MUTEX): Add comment. Remove locking/unlocking of
152 advcond->lock. Unlock mutex only at the end. Loop on
153 __ghread_cond_wait returning zero.
154 (REVOKE_SIGNAL): Add comment. Remove locking/unlocking of
156 (struct adv_cond): Remove mutex from struct.
158 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
163 * configure: Regenerated.
165 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
167 * configure.ac: Handle `--with-toolexeclibdir='.
168 * Makefile.in: Regenerate.
169 * aclocal.m4: Regenerate.
170 * configure: Regenerate.
172 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
175 * io/unit.c (set_internal_unit): Set round and sign flags
178 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
181 * io/format.c (parse_format_list): Zero width not allowed with
183 * io/write_float.def (build_float_string): Include range of
184 higher exponent values that require wider width.
186 2020-01-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
189 * io/format.c (parse_format_list): Implement the E0 exponent
190 width to provide smallest possible width for exponent fields.
191 Refactor code for correct parsing and better readability of the
193 * io/io.h (write_real_w0): Change interface to pass in pointer
195 * io/transfer.c: Update all calls to write_real_w0 to use the
197 * io/write.c ((write_real_w0): Use the new interface with fnode
198 to access both the decimal precision and exponent widths used in
200 * io/write_float.def (build_float_string): Use the passed in
201 exponent width to calculate the used width in the case of E0.
203 2020-01-01 Jakub Jelinek <jakub@redhat.com>
205 Update copyright years.
207 Copyright (C) 2020 Free Software Foundation, Inc.
209 Copying and distribution of this file, with or without modification,
210 are permitted in any medium without royalty provided the copyright
211 notice and this notice are preserved.