]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgfortran/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgfortran / ChangeLog
CommitLineData
14462095 12019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2 Andrew Stubbs <ams@codesourcery.com>
3
4 * configure: Regenerate.
5 * configure.ac (LIBGFOR_MINIMAL): Do not use on AMD GCN.
6
6bc936d3 72019-06-14 Janne Blomqvist <jb@gcc.gnu.org>
8
17895298 9 PR fortran/65921
6bc936d3 10 * runtime/memory.c (SIZE_MAX):Remove macro definition.
11 (xmallocarray): Use __builtin_mul_overflow.
12
647551f1 132019-05-22 Jeff Law <law@redhat.com>
14
15 PR fortran/89100
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
23 write_boz.
24 (write_o): pass data length as extra parameter in calls to
25 write_boz.
26 (write_z): pass data length as extra parameter in calls to
27 write_boz.
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
35 needed.
36
69024fb7 372019-05-19 Janne Blomqvist <jb@gcc.gnu.org>
38
39 PR libfortran/90038
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.
45
e38e222d 462019-05-17 Janne Blomqvist <jb@gcc.gnu.org>
47
48 PR libfortran/90038
49 * configure.ac (AC_CHECK_FUNCS_ONCE): Check for posix_spawn.
50 * intrinsics/execute_command_line (execute_command_line): Use
51 posix_spawn.
52 * Makefile.in: Regenerated.
53 * config.h.in: Regenerated.
54 * configure: Regenerated.
55
7f89c66b 562019-05-17 Jakub Jelinek <jakub@redhat.com>
57
c5e8cf41 58 PR fortran/54613
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.
65
7f89c66b 66 PR fortran/54613
67 * gfortran.map (GFORTRAN_9.2): New symbol version, export
68 _gfortran_{,m,s}findloc0_i2 in it.
69
a4805c61 702019-05-15 Janne Blomqvist <jb@gcc.gnu.org>
71
72 PR fortran/90461
73 * io/open.c (new_unit): Don't check if the file is already open
74 for F2018.
75
9e68ec50 762019-05-02 Jakub Jelinek <jakub@redhat.com>
77
78 * Makefile.am (gfor_cdir): Remove $(MULTISUBDIR).
79 * Makefile.in: Regenerated.
80
37684a4c 812019-04-14 Paul Thomas <pault@gcc.gnu.org>
82
83 PR fortran/89843
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
91 is not null.
92 (CFI_section): Normalise the difference between the upper and
93 lower bounds by the stride to correctly calculate the extents
94 of the section.
95
96 PR fortran/89846
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.
100
101 PR fortran/90022
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.
106
dc76722b 1072019-03-25 John David Anglin <danglin@gcc.gnu.org>
108
109 PR libgfortran/79540
110 * io/write_float.def (build_float_string): Don't copy digits when
111 ndigits is negative.
112
c7d4f57a 1132019-03-05 Jakub Jelinek <jakub@redhat.com>
114
115 PR libgfortran/89593
116 * caf/single.c (_gfortran_caf_sendget_by_ref): Cast &temp to
117 gfc_descriptor_t * to avoid warning.
118
59cf6c64 1192019-02-26 Uroš Bizjak <ubizjak@gmail.com>
120
121 * io/transfer.c (transfer_array_inner): Do not
122 cast charlen to index_type.
123
8b64c6ce 1242019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org>
125
126 PR libfortran/89274
127 * io/write.c (write_integer): Add width for INTEGER(16).
128
889b0295 1292019-02-23 Paul Thomas <pault@gcc.gnu.org>
130
131 PR fortran/89385
132 PR fortran/89366
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
141 treatment.
142
c0f854d7 1432019-01-30 Uroš Bizjak <ubizjak@gmail.com>
144
b42cf2b2 145 PR libfortran/88678
146 Revert:
147 2016-11-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
148
149 PR libfortran/78314
150 * config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.
c0f854d7 151
99ec6287 1522019-01-30 Uroš Bizjak <ubizjak@gmail.com>
153
b42cf2b2 154 PR libfortran/88678
99ec6287 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.
158
89338f04 1592019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
160
161 * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
162
c35aa9f8 1632019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
164
165 PR libfortran/89020
166 * io/close.c (st_close): Simplify text of error message to not
167 presume a specific cause of failure to remove file.
168
6cb6b0d1 1692019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
170
171 PR libfortran/89020
172 * io/close.c (st_close): Fix typo.
173
48d79b6a 1742019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
175
905bf56b 176 PR libfortran/89020
48d79b6a 177 * io/close.c (st_close): Generate error if calls to 'remove' return
178 an error.
179
51177ee3 1802019-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>
184
185 * configure.ac: Use minimal mode for amdgcn.
186 * configure: Regenerate.
187
77aa0989 1882019-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
189
190 PR libfortran/88776
191 * io/open.c (newunit): Free format buffer if the unit specified is for
889b0295 192 stdin, stdout, or stderr.
77aa0989 193
4b03b84a 1942019-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
195
196 PR libfortran/88776
197 * io/list_read.c (namelist_read): Use nml_err_ret path on read error
198 not based on stdin_unit.
199
77ddff12 2002019-01-12 Paul Thomas <pault@gcc.gnu.org>
201
202 * ISO_Fortran_binding.h : New file.
203 * Makefile.am : Include ISO_Fortran_binding.c in the list of
204 files to compile.
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.
210
0f861194 2112019-01-12 Jakub Jelinek <jakub@redhat.com>
212
213 PR libfortran/88807
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.
242
f4d3c071 2432019-01-09 Sandra Loosemore <sandra@codesourcery.com>
244
245 PR other/16615
f4d3c071 246 * caf/single.c: Mechanically replace "can not" with "cannot".
247 * io/unit.c: Likewise.
248
5f34f219 2492019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
0f861194 250 Harald Anlauf <anlauf@gmx.de>
251 Tobias Burnus <burnus@gcc.gnu.org>
5f34f219 252
253 PR fortran/45424
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.
259
4e9e4694 2602019-01-07 Janne Blomqvist <jb@gcc.gnu.org>
261
262 * gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on
263 GFORTRAN_8.
264
fbd26352 2652019-01-01 Jakub Jelinek <jakub@redhat.com>
8e8f6434 266
267 Update copyright years.
f1717362 268\f
fbd26352 269Copyright (C) 2019 Free Software Foundation, Inc.
639d12cd 270
271Copying and distribution of this file, with or without modification,
272are permitted in any medium without royalty provided the copyright
273notice and this notice are preserved.