1 2020-05-28 Harald Anlauf <anlauf@gmx.de>
4 * io/unit.c (unlock_unit): Guard by check for NULL pointer.
6 2020-05-26 Harald Anlauf <anlauf@gmx.de>
7 Steven G. Kargl <kargl@gcc.gnu.org>
10 * io/transfer.c (st_wait_async): Do not dereference NULL pointer.
12 2020-05-26 Harald Anlauf <anlauf@gmx.de>
15 * io/transfer.c (finalize_transfer): Generate runtime error for
16 namelist input/output to unformatted file.
18 2020-05-23 Thomas Koenig <tkoenig@gcc.gnu.org>
21 * io/async.c (async_wait_id): Generate error if ID is higher
22 than the highest current ID.
23 * runtime/error.c (translate_error): Handle LIBERROR_BAD_WAIT_ID.
25 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
27 * m4/matmul.m4: Don't include <config/i386/cpuinfo.h>. Use
28 __builtin_cpu_is/__builtin_cpu_supports
29 * generated/matmul_c10.c: Regenerated.
30 * generated/matmul_c16.c: Likewise.
31 * generated/matmul_c4.c: Likewise.
32 * generated/matmul_c8.c: Likewise.
33 * generated/matmul_i1.c: Likewise.
34 * generated/matmul_i16.c: Likewise.
35 * generated/matmul_i2.c: Likewise.
36 * generated/matmul_i4.c: Likewise.
37 * generated/matmul_i8.c: Likewise.
38 * generated/matmul_r10.c: Likewise.
39 * generated/matmul_r16.c: Likewise.
40 * generated/matmul_r4.c: Likewise.
41 * generated/matmul_r8.c: Likewise.
43 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
46 * configure: Regenerated.
48 2020-05-14 Thomas Koenig <tkoenig@gcc.gnu.org>
51 * io/close.c (close_status): Add CLOSE_INVALID.
52 (st_close): Return early on invalid STATUS parameter.
54 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
56 * configure: Regenerated.
58 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
60 * config/fpu-387.h (__math_force_eval): Remove.
61 (__math_force_eval_div): New define.
62 (local_feraiseexcept): Use __math_force_eval_div to use
63 generic division to generate INVALID, DIVZERO and INEXACT
65 (struct fenv): Define named struct instead of typedef.
67 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
69 * config/fpu-387.h (__math_force_eval): New define.
70 (local_feraiseexcept): Use __math_force_eval to evaluate
71 generic division to generate INVALID and DIVZERO exceptions.
73 2020-04-22 Fritz Reese <foreese@gcc.gnu.org>
75 * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
76 Guard against unavailable math functions.
77 Use suffixes from kinds.h based on the REAL kind.
79 2020-04-22 Jakub Jelinek <jakub@redhat.com>
83 * configure.ac: Add math func checks for fmaf, fma and fmal. Add
84 HAVE_INLINE_BUILTIN_COPYSIGN check.
85 * c99_protos.h (copysign, fmaf, fma, fmal): Provide fallback
87 (HAVE_COPYSIGN, HAVE_FMAF, HAVE_FMA, HAVE_FMAL): Define if not
88 defined and fallback version is provided.
89 * intrinsics/c99_functions.c (copysign, fmaf, fma, fmal): Provide
90 fallback implementations if possible
91 * configure: Regenerated.
92 * config.h.in: Regenerated.
94 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
96 * config/fpu-387.h (local_feraiseexcept) [__SSE_MATH__]:
97 Remove unneeded assignments to volatile memory.
99 2020-04-01 Fritz Reese <foreese@gcc.gnu.org>
100 Steven G. Kargl <kargl@gcc.gnu.org>
103 * Makefile.am, Makefile.in: New make rule for intrinsics/trigd.c.
104 * gfortran.map: New routines for {sind, cosd, tand}X{r4, r8, r10, r16}.
105 * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
106 New files. Defines native degree-valued trig functions.
108 2020-02-18 Thomas Koenig <tkoenig@gcc.gnu.org>
111 * io/async.c (destroy_adv_cond): Do not destroy lock.
112 (async_io): Make sure au->lock is locked for finishing of thread.
113 Do not lock/unlock around signalling emptysignal. Unlock au->lock
115 (init_adv_cond): Do not initialize lock.
116 (enqueue_transfer): Unlock after signal.
117 (enqueue_done_id): Likewise.
118 (enqueue_done): Likewise.
119 (enqueue_close): Likewise.
120 (enqueue_data_transfer): Likewise.
121 (async_wait_id): Do not lock/unlock around signalling au->work.
122 (async_wait): Unlock after signal.
123 * io/async.h (SIGNAL): Add comment about needed au->lock.
124 Remove locking/unlocking of advcond->lock.
125 (WAIT_SIGNAL_MUTEX): Add comment. Remove locking/unlocking of
126 advcond->lock. Unlock mutex only at the end. Loop on
127 __ghread_cond_wait returning zero.
128 (REVOKE_SIGNAL): Add comment. Remove locking/unlocking of
130 (struct adv_cond): Remove mutex from struct.
132 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
137 * configure: Regenerated.
139 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
141 * configure.ac: Handle `--with-toolexeclibdir='.
142 * Makefile.in: Regenerate.
143 * aclocal.m4: Regenerate.
144 * configure: Regenerate.
146 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
149 * io/unit.c (set_internal_unit): Set round and sign flags
152 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
155 * io/format.c (parse_format_list): Zero width not allowed with
157 * io/write_float.def (build_float_string): Include range of
158 higher exponent values that require wider width.
160 2020-01-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
163 * io/format.c (parse_format_list): Implement the E0 exponent
164 width to provide smallest possible width for exponent fields.
165 Refactor code for correct parsing and better readability of the
167 * io/io.h (write_real_w0): Change interface to pass in pointer
169 * io/transfer.c: Update all calls to write_real_w0 to use the
171 * io/write.c ((write_real_w0): Use the new interface with fnode
172 to access both the decimal precision and exponent widths used in
174 * io/write_float.def (build_float_string): Use the passed in
175 exponent width to calculate the used width in the case of E0.
177 2020-01-01 Jakub Jelinek <jakub@redhat.com>
179 Update copyright years.
181 Copyright (C) 2020 Free Software Foundation, Inc.
183 Copying and distribution of this file, with or without modification,
184 are permitted in any medium without royalty provided the copyright
185 notice and this notice are preserved.