1 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2 Andrew Stubbs <ams@codesourcery.com>
4 * configure: Regenerate.
5 * configure.ac (LIBGFOR_MINIMAL): Do not use on AMD GCN.
7 2019-06-14 Janne Blomqvist <jb@gcc.gnu.org>
10 * runtime/memory.c (SIZE_MAX):Remove macro definition.
11 (xmallocarray): Use __builtin_mul_overflow.
13 2019-05-22 Jeff Law <law@redhat.com>
16 * io/format.c (parse_format_list): set default width when the
17 IOPARM_DT_DEC_EXT flag is set for i, f and g.
18 * io/io.h: add default_width_for_integer, default_width_for_float
19 and default_precision_for_float.
20 * io/write.c (write_boz): extra parameter giving length of data
21 corresponding to the type's kind.
22 (write_b): pass data length as extra parameter in calls to
24 (write_o): pass data length as extra parameter in calls to
26 (write_z): pass data length as extra parameter in calls to
28 (size_from_kind): also set size is default width is set.
29 * io/write_float.def (build_float_string): new paramter inserted
30 before result parameter. If default width use values passed
31 instead of the values in fnode.
32 (FORMAT_FLOAT): macro modified to check for default width and
33 calls to build_float_string to pass in default width.
34 (get_float_string): set width and precision to defaults when
37 2019-05-19 Janne Blomqvist <jb@gcc.gnu.org>
40 * intrinsics/execute_command_line (sigchld_handler): New function.
41 (execute_command_line): Install handler for SIGCHLD.
42 * configure.ac: Check for presence of sigaction and waitpid.
43 * config.h.in: Regenerated.
44 * configure: Regenerated.
46 2019-05-17 Janne Blomqvist <jb@gcc.gnu.org>
49 * configure.ac (AC_CHECK_FUNCS_ONCE): Check for posix_spawn.
50 * intrinsics/execute_command_line (execute_command_line): Use
52 * Makefile.in: Regenerated.
53 * config.h.in: Regenerated.
54 * configure: Regenerated.
56 2019-05-17 Jakub Jelinek <jakub@redhat.com>
59 * gfortran.map (GFORTRAN_9.2): Export _gfortran_{,m,s}findloc{0,1}_r10.
60 * Makefile.am (i_findloc0_c): Add $(srcdir)/generated/findloc0_r10.c.
61 (i_findloc1_c): Add $(srcdir)/generated/findloc1_r10.c.
62 * Makefile.in: Regenerated.
63 * generated/findloc0_r10.c: Generated.
64 * generated/findloc1_r10.c: Generated.
67 * gfortran.map (GFORTRAN_9.2): New symbol version, export
68 _gfortran_{,m,s}findloc0_i2 in it.
70 2019-05-15 Janne Blomqvist <jb@gcc.gnu.org>
73 * io/open.c (new_unit): Don't check if the file is already open
76 2019-05-02 Jakub Jelinek <jakub@redhat.com>
78 * Makefile.am (gfor_cdir): Remove $(MULTISUBDIR).
79 * Makefile.in: Regenerated.
81 2019-04-14 Paul Thomas <pault@gcc.gnu.org>
84 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Only
85 return immediately if the source pointer is null. Bring
86 forward the extraction of the gfc type. Extract the kind so
87 that the element size can be correctly computed for sections
88 and components of derived type arrays. Remove the free of the
89 CFI descriptor since this is now done in trans-expr.c.
90 (gfc_desc_to_cfi_desc): Only allocate the CFI descriptor if it
92 (CFI_section): Normalise the difference between the upper and
93 lower bounds by the stride to correctly calculate the extents
97 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Use
98 the stride measure for the gfc span if it is not a multiple
99 of the element length. Otherwise use the element length.
102 * runtime/ISO_Fortran_binding.c (CFI_is_contiguous) : Return
103 1 for true and 0 otherwise to comply with the standard. Correct
104 the contiguity check for rank 3 and greater by using the stride
105 measure of the lower dimension rather than the element length.
107 2019-03-25 John David Anglin <danglin@gcc.gnu.org>
110 * io/write_float.def (build_float_string): Don't copy digits when
113 2019-03-05 Jakub Jelinek <jakub@redhat.com>
116 * caf/single.c (_gfortran_caf_sendget_by_ref): Cast &temp to
117 gfc_descriptor_t * to avoid warning.
119 2019-02-26 Uroš Bizjak <ubizjak@gmail.com>
121 * io/transfer.c (transfer_array_inner): Do not
122 cast charlen to index_type.
124 2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org>
127 * io/write.c (write_integer): Add width for INTEGER(16).
129 2019-02-23 Paul Thomas <pault@gcc.gnu.org>
133 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the
134 interchange between character and derived, the character type
135 was being set incorrectly.
136 (gfc_desc_to_cfi_desc) : Eliminate the interchange of types in
137 this function. Do not add the kind and length information to
138 the type field of structures. Lbounds were incorrectly being
139 set to zero for allocatable and pointer descriptors. Should
140 have been non-pointer, non-allocatables that received this
143 2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
147 2016-11-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
150 * config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.
152 2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
155 * config/fpu-glibc.h (set_fpu_trap_exceptions): Clear stalled
156 exception flags before changing trap mode. Optimize to call
157 feenableexcept and fedisableexcept only once.
159 2019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
161 * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
163 2019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
166 * io/close.c (st_close): Simplify text of error message to not
167 presume a specific cause of failure to remove file.
169 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
172 * io/close.c (st_close): Fix typo.
174 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
177 * io/close.c (st_close): Generate error if calls to 'remove' return
180 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
181 Kwok Cheung Yeung <kcy@codesourcery.com>
182 Julian Brown <julian@codesourcery.com>
183 Tom de Vries <tom@codesourcery.com>
185 * configure.ac: Use minimal mode for amdgcn.
186 * configure: Regenerate.
188 2019-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
191 * io/open.c (newunit): Free format buffer if the unit specified is for
192 stdin, stdout, or stderr.
194 2019-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
197 * io/list_read.c (namelist_read): Use nml_err_ret path on read error
198 not based on stdin_unit.
200 2019-01-12 Paul Thomas <pault@gcc.gnu.org>
202 * ISO_Fortran_binding.h : New file.
203 * Makefile.am : Include ISO_Fortran_binding.c in the list of
205 * Makefile.in : Regenerated.
206 * gfortran.map : Add _gfortran_cfi_desc_to_gfc_desc,
207 _gfortran_gfc_desc_to_cfi_desc and the CFI API functions.
208 * runtime/ISO_Fortran_binding.c : New file containing the new
209 functions added to the map.
211 2019-01-12 Jakub Jelinek <jakub@redhat.com>
214 * m4/minloc0.m4: Reindent to avoid -Wmisleading-indentation warnings.
215 * generated/minloc0_4_i1.c: Regenerated.
216 * generated/minloc0_4_i2.c: Regenerated.
217 * generated/minloc0_4_i4.c: Regenerated.
218 * generated/minloc0_4_i8.c: Regenerated.
219 * generated/minloc0_4_i16.c: Regenerated.
220 * generated/minloc0_4_r4.c: Regenerated.
221 * generated/minloc0_4_r8.c: Regenerated.
222 * generated/minloc0_4_r10.c: Regenerated.
223 * generated/minloc0_4_r16.c: Regenerated.
224 * generated/minloc0_8_i1.c: Regenerated.
225 * generated/minloc0_8_i2.c: Regenerated.
226 * generated/minloc0_8_i4.c: Regenerated.
227 * generated/minloc0_8_i8.c: Regenerated.
228 * generated/minloc0_8_i16.c: Regenerated.
229 * generated/minloc0_8_r4.c: Regenerated.
230 * generated/minloc0_8_r8.c: Regenerated.
231 * generated/minloc0_8_r10.c: Regenerated.
232 * generated/minloc0_8_r16.c: Regenerated.
233 * generated/minloc0_16_i1.c: Regenerated.
234 * generated/minloc0_16_i2.c: Regenerated.
235 * generated/minloc0_16_i4.c: Regenerated.
236 * generated/minloc0_16_i8.c: Regenerated.
237 * generated/minloc0_16_i16.c: Regenerated.
238 * generated/minloc0_16_r4.c: Regenerated.
239 * generated/minloc0_16_r8.c: Regenerated.
240 * generated/minloc0_16_r10.c: Regenerated.
241 * generated/minloc0_16_r16.c: Regenerated.
243 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
246 * caf/single.c: Mechanically replace "can not" with "cannot".
247 * io/unit.c: Likewise.
249 2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
250 Harald Anlauf <anlauf@gmx.de>
251 Tobias Burnus <burnus@gcc.gnu.org>
254 * Makefile.am: Add intrinsics/is_contiguous.c.
255 * Makefile.in: Regenerated.
256 * gfortran.map: Add _gfortran_is_contiguous0.
257 * intrinsics/is_contiguous.c: New file.
258 * libgfortran.h: Add prototype for is_contiguous0.
260 2019-01-07 Janne Blomqvist <jb@gcc.gnu.org>
262 * gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on
265 2019-01-01 Jakub Jelinek <jakub@redhat.com>
267 Update copyright years.
269 Copyright (C) 2019 Free Software Foundation, Inc.
271 Copying and distribution of this file, with or without modification,
272 are permitted in any medium without royalty provided the copyright
273 notice and this notice are preserved.