]>
Commit | Line | Data |
---|---|---|
c6c3841d | 1 | 2019-10-08 Thomas Schwinge <thomas@codesourcery.com> |
2 | ||
3 | * runtime/minimal.c: Revise. | |
4 | ||
354b244f | 5 | 2019-10-05 Paul Thomas <pault@gcc.gnu.org> |
6 | ||
7 | PR fortran/91926 | |
8 | * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Do not | |
9 | modify the bounds and offset for CFI_other. | |
10 | ||
2ace3ebd | 11 | 2019-10-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
12 | ||
13 | PR libfortran/91593 | |
14 | * io/read.c (read_decimal): Cast constant to size_t to turn off | |
15 | a bogus warning. | |
16 | * io/write.c (btoa_big): Use memset in lieu of setting the null | |
17 | byte in a string buffer to turn off a bogus warning. | |
18 | ||
cb9a5db8 | 19 | 2019-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
20 | ||
21 | PR libfortran/91593 | |
22 | * io/io.h: Add gcc_unreachable(). | |
23 | * io/transfer.c (file_mode, current_mode, | |
24 | formatted_transfer_scalar_read, formatted_transfer_scalar_write, | |
25 | pre_position, next_record_r, next_record_w): Add and use | |
26 | FORMATTED_UNSPECIFIED to enumeration. | |
354b244f | 27 | |
a8864f4a | 28 | 2019-09-27 Maciej W. Rozycki <macro@wdc.com> |
29 | ||
30 | * configure: Regenerate. | |
31 | ||
cb8e7f5f | 32 | 2019-09-05 Janne Blomqvist <jb@gcc.gnu.org> |
33 | ||
34 | * intrinsics/random.c (master_init): Replace with | |
35 | master_state.init. | |
36 | (njumps): Remove variable. | |
37 | (master_state): Make instance of struct prng_state. | |
38 | (init_rand_state): When jumping, update the master_state once | |
39 | instead of keeping track of how many jumps need to be done. | |
40 | (SZU64): Modify to handle new master_state. | |
41 | (SZ): Likewise. | |
42 | (random_seed_i4): Likewise. | |
43 | (random_seed_i8): Likewise. | |
44 | ||
fd82b3d6 | 45 | 2019-08-17 Janne Blomqvist <jb@gcc.gnu.org> |
46 | ||
47 | PR fortran/68401 | |
48 | * gfortran.map: Add GFORTRAN_10 node, add _gfortran_os_error_at | |
49 | symbol. | |
50 | * libgfortran.h (os_error_at): New prototype. | |
51 | * runtime/error.c (os_error_at): New function. | |
52 | ||
7a74bf7e | 53 | 2019-08-13 Janne Blomqvist <jb@gcc.gnu.org> |
54 | ||
55 | PR fortran/91414 | |
56 | * intrinsics/random.c (prng_state): Update state struct. | |
57 | (master_state): Update to match new size. | |
58 | (get_rand_state): Update to match new PRNG. | |
59 | (rotl): New function. | |
60 | (xorshift1024star): Replace with prng_next. | |
61 | (prng_next): New function. | |
62 | (jump): Update for new PRNG. | |
63 | (lcg_parkmiller): Replace with splitmix64. | |
64 | (splitmix64): New function. | |
65 | (getosrandom): Fix return value, simplify. | |
66 | (init_rand_state): Use getosrandom only to get 8 bytes, splitmix64 | |
67 | to fill rest of state. | |
68 | (random_r4): Update to new function and struct names. | |
69 | (random_r8): Likewise. | |
70 | (random_r10): Likewise. | |
71 | (random_r16): Likewise. | |
72 | (arandom_r4): Liekwise. | |
73 | (arandom_r8): Likewise. | |
74 | (arandom_r10): Likwewise. | |
75 | (arandom_r16): Likewise. | |
76 | (xor_keys): Reduce size to match new PRNG. | |
77 | (random_seed_i4): Update to new function and struct names, remove | |
78 | special handling of variable p used in previous PRNG. | |
79 | (random_seed_i8): Likewise. | |
80 | ||
4ad9380b | 81 | 2019-08-07 Janne Blomqvist <jb@gcc.gnu.org> |
82 | ||
83 | PR fortran/53796 | |
84 | * io/inquire.c (inquire_via_filename): Set recl to -1 for | |
85 | unconnected units. | |
86 | ||
2320efbd | 87 | 2019-07-21 Thomas König <tkoenig@gcc.gnu.org> |
88 | ||
89 | PR libfortran/91030 | |
90 | * io/unix.c (BUFFER_SIZE): Delete. | |
91 | (BUFFER_FORMATTED_SIZE_DEFAULT): New variable. | |
92 | (BUFFER_UNFORMATTED_SIZE_DEFAULT): New variable. | |
93 | (unix_stream): Add buffer_size. | |
94 | (buf_read): Use s->buffer_size instead of BUFFER_SIZE. | |
95 | (buf_write): Likewise. | |
96 | (buf_init): Add argument unformatted. Handle block sizes | |
97 | for unformatted vs. formatted, using defaults if provided. | |
98 | (fd_to_stream): Add argument unformatted in call to buf_init. | |
99 | * libgfortran.h (options_t): Add buffer_size_formatted and | |
100 | buffer_size_unformatted. | |
101 | * runtime/environ.c (variable_table): Add | |
102 | GFORTRAN_UNFORMATTED_BUFFER_SIZE and | |
103 | GFORTRAN_FORMATTED_BUFFER_SIZE. | |
104 | ||
14462095 | 105 | 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com> |
106 | Andrew Stubbs <ams@codesourcery.com> | |
107 | ||
108 | * configure: Regenerate. | |
109 | * configure.ac (LIBGFOR_MINIMAL): Do not use on AMD GCN. | |
110 | ||
6bc936d3 | 111 | 2019-06-14 Janne Blomqvist <jb@gcc.gnu.org> |
112 | ||
17895298 | 113 | PR fortran/65921 |
6bc936d3 | 114 | * runtime/memory.c (SIZE_MAX):Remove macro definition. |
115 | (xmallocarray): Use __builtin_mul_overflow. | |
116 | ||
647551f1 | 117 | 2019-05-22 Jeff Law <law@redhat.com> |
118 | ||
119 | PR fortran/89100 | |
120 | * io/format.c (parse_format_list): set default width when the | |
121 | IOPARM_DT_DEC_EXT flag is set for i, f and g. | |
122 | * io/io.h: add default_width_for_integer, default_width_for_float | |
123 | and default_precision_for_float. | |
124 | * io/write.c (write_boz): extra parameter giving length of data | |
125 | corresponding to the type's kind. | |
126 | (write_b): pass data length as extra parameter in calls to | |
127 | write_boz. | |
128 | (write_o): pass data length as extra parameter in calls to | |
129 | write_boz. | |
130 | (write_z): pass data length as extra parameter in calls to | |
131 | write_boz. | |
132 | (size_from_kind): also set size is default width is set. | |
133 | * io/write_float.def (build_float_string): new paramter inserted | |
134 | before result parameter. If default width use values passed | |
135 | instead of the values in fnode. | |
136 | (FORMAT_FLOAT): macro modified to check for default width and | |
137 | calls to build_float_string to pass in default width. | |
138 | (get_float_string): set width and precision to defaults when | |
139 | needed. | |
140 | ||
69024fb7 | 141 | 2019-05-19 Janne Blomqvist <jb@gcc.gnu.org> |
142 | ||
143 | PR libfortran/90038 | |
144 | * intrinsics/execute_command_line (sigchld_handler): New function. | |
145 | (execute_command_line): Install handler for SIGCHLD. | |
146 | * configure.ac: Check for presence of sigaction and waitpid. | |
147 | * config.h.in: Regenerated. | |
148 | * configure: Regenerated. | |
149 | ||
e38e222d | 150 | 2019-05-17 Janne Blomqvist <jb@gcc.gnu.org> |
151 | ||
152 | PR libfortran/90038 | |
153 | * configure.ac (AC_CHECK_FUNCS_ONCE): Check for posix_spawn. | |
154 | * intrinsics/execute_command_line (execute_command_line): Use | |
155 | posix_spawn. | |
156 | * Makefile.in: Regenerated. | |
157 | * config.h.in: Regenerated. | |
158 | * configure: Regenerated. | |
159 | ||
7f89c66b | 160 | 2019-05-17 Jakub Jelinek <jakub@redhat.com> |
161 | ||
c5e8cf41 | 162 | PR fortran/54613 |
163 | * gfortran.map (GFORTRAN_9.2): Export _gfortran_{,m,s}findloc{0,1}_r10. | |
164 | * Makefile.am (i_findloc0_c): Add $(srcdir)/generated/findloc0_r10.c. | |
165 | (i_findloc1_c): Add $(srcdir)/generated/findloc1_r10.c. | |
166 | * Makefile.in: Regenerated. | |
167 | * generated/findloc0_r10.c: Generated. | |
168 | * generated/findloc1_r10.c: Generated. | |
169 | ||
7f89c66b | 170 | PR fortran/54613 |
171 | * gfortran.map (GFORTRAN_9.2): New symbol version, export | |
172 | _gfortran_{,m,s}findloc0_i2 in it. | |
173 | ||
a4805c61 | 174 | 2019-05-15 Janne Blomqvist <jb@gcc.gnu.org> |
175 | ||
176 | PR fortran/90461 | |
177 | * io/open.c (new_unit): Don't check if the file is already open | |
178 | for F2018. | |
179 | ||
9e68ec50 | 180 | 2019-05-02 Jakub Jelinek <jakub@redhat.com> |
181 | ||
182 | * Makefile.am (gfor_cdir): Remove $(MULTISUBDIR). | |
183 | * Makefile.in: Regenerated. | |
184 | ||
37684a4c | 185 | 2019-04-14 Paul Thomas <pault@gcc.gnu.org> |
186 | ||
187 | PR fortran/89843 | |
188 | * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Only | |
189 | return immediately if the source pointer is null. Bring | |
190 | forward the extraction of the gfc type. Extract the kind so | |
191 | that the element size can be correctly computed for sections | |
192 | and components of derived type arrays. Remove the free of the | |
193 | CFI descriptor since this is now done in trans-expr.c. | |
194 | (gfc_desc_to_cfi_desc): Only allocate the CFI descriptor if it | |
195 | is not null. | |
196 | (CFI_section): Normalise the difference between the upper and | |
197 | lower bounds by the stride to correctly calculate the extents | |
198 | of the section. | |
199 | ||
200 | PR fortran/89846 | |
201 | * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Use | |
202 | the stride measure for the gfc span if it is not a multiple | |
203 | of the element length. Otherwise use the element length. | |
204 | ||
205 | PR fortran/90022 | |
206 | * runtime/ISO_Fortran_binding.c (CFI_is_contiguous) : Return | |
207 | 1 for true and 0 otherwise to comply with the standard. Correct | |
208 | the contiguity check for rank 3 and greater by using the stride | |
209 | measure of the lower dimension rather than the element length. | |
210 | ||
dc76722b | 211 | 2019-03-25 John David Anglin <danglin@gcc.gnu.org> |
212 | ||
213 | PR libgfortran/79540 | |
214 | * io/write_float.def (build_float_string): Don't copy digits when | |
215 | ndigits is negative. | |
216 | ||
c7d4f57a | 217 | 2019-03-05 Jakub Jelinek <jakub@redhat.com> |
218 | ||
219 | PR libgfortran/89593 | |
220 | * caf/single.c (_gfortran_caf_sendget_by_ref): Cast &temp to | |
221 | gfc_descriptor_t * to avoid warning. | |
222 | ||
59cf6c64 | 223 | 2019-02-26 Uroš Bizjak <ubizjak@gmail.com> |
224 | ||
225 | * io/transfer.c (transfer_array_inner): Do not | |
226 | cast charlen to index_type. | |
227 | ||
8b64c6ce | 228 | 2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org> |
229 | ||
230 | PR libfortran/89274 | |
231 | * io/write.c (write_integer): Add width for INTEGER(16). | |
232 | ||
889b0295 | 233 | 2019-02-23 Paul Thomas <pault@gcc.gnu.org> |
234 | ||
235 | PR fortran/89385 | |
236 | PR fortran/89366 | |
237 | * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the | |
238 | interchange between character and derived, the character type | |
239 | was being set incorrectly. | |
240 | (gfc_desc_to_cfi_desc) : Eliminate the interchange of types in | |
241 | this function. Do not add the kind and length information to | |
242 | the type field of structures. Lbounds were incorrectly being | |
243 | set to zero for allocatable and pointer descriptors. Should | |
244 | have been non-pointer, non-allocatables that received this | |
245 | treatment. | |
246 | ||
c0f854d7 | 247 | 2019-01-30 Uroš Bizjak <ubizjak@gmail.com> |
248 | ||
b42cf2b2 | 249 | PR libfortran/88678 |
250 | Revert: | |
251 | 2016-11-16 Szabolcs Nagy <szabolcs.nagy@arm.com> | |
252 | ||
253 | PR libfortran/78314 | |
254 | * config/fpu-glibc.h (support_fpu_trap): Use feenableexcept. | |
c0f854d7 | 255 | |
99ec6287 | 256 | 2019-01-30 Uroš Bizjak <ubizjak@gmail.com> |
257 | ||
b42cf2b2 | 258 | PR libfortran/88678 |
99ec6287 | 259 | * config/fpu-glibc.h (set_fpu_trap_exceptions): Clear stalled |
260 | exception flags before changing trap mode. Optimize to call | |
261 | feenableexcept and fedisableexcept only once. | |
262 | ||
89338f04 | 263 | 2019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de> |
264 | ||
265 | * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION(). | |
266 | ||
c35aa9f8 | 267 | 2019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
268 | ||
269 | PR libfortran/89020 | |
270 | * io/close.c (st_close): Simplify text of error message to not | |
271 | presume a specific cause of failure to remove file. | |
272 | ||
6cb6b0d1 | 273 | 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
274 | ||
275 | PR libfortran/89020 | |
276 | * io/close.c (st_close): Fix typo. | |
277 | ||
48d79b6a | 278 | 2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
279 | ||
905bf56b | 280 | PR libfortran/89020 |
48d79b6a | 281 | * io/close.c (st_close): Generate error if calls to 'remove' return |
282 | an error. | |
283 | ||
51177ee3 | 284 | 2019-01-17 Andrew Stubbs <ams@codesourcery.com> |
285 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
286 | Julian Brown <julian@codesourcery.com> | |
287 | Tom de Vries <tom@codesourcery.com> | |
288 | ||
289 | * configure.ac: Use minimal mode for amdgcn. | |
290 | * configure: Regenerate. | |
291 | ||
77aa0989 | 292 | 2019-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
293 | ||
294 | PR libfortran/88776 | |
295 | * io/open.c (newunit): Free format buffer if the unit specified is for | |
889b0295 | 296 | stdin, stdout, or stderr. |
77aa0989 | 297 | |
4b03b84a | 298 | 2019-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
299 | ||
300 | PR libfortran/88776 | |
301 | * io/list_read.c (namelist_read): Use nml_err_ret path on read error | |
302 | not based on stdin_unit. | |
303 | ||
77ddff12 | 304 | 2019-01-12 Paul Thomas <pault@gcc.gnu.org> |
305 | ||
306 | * ISO_Fortran_binding.h : New file. | |
307 | * Makefile.am : Include ISO_Fortran_binding.c in the list of | |
308 | files to compile. | |
309 | * Makefile.in : Regenerated. | |
310 | * gfortran.map : Add _gfortran_cfi_desc_to_gfc_desc, | |
311 | _gfortran_gfc_desc_to_cfi_desc and the CFI API functions. | |
312 | * runtime/ISO_Fortran_binding.c : New file containing the new | |
313 | functions added to the map. | |
314 | ||
0f861194 | 315 | 2019-01-12 Jakub Jelinek <jakub@redhat.com> |
316 | ||
317 | PR libfortran/88807 | |
318 | * m4/minloc0.m4: Reindent to avoid -Wmisleading-indentation warnings. | |
319 | * generated/minloc0_4_i1.c: Regenerated. | |
320 | * generated/minloc0_4_i2.c: Regenerated. | |
321 | * generated/minloc0_4_i4.c: Regenerated. | |
322 | * generated/minloc0_4_i8.c: Regenerated. | |
323 | * generated/minloc0_4_i16.c: Regenerated. | |
324 | * generated/minloc0_4_r4.c: Regenerated. | |
325 | * generated/minloc0_4_r8.c: Regenerated. | |
326 | * generated/minloc0_4_r10.c: Regenerated. | |
327 | * generated/minloc0_4_r16.c: Regenerated. | |
328 | * generated/minloc0_8_i1.c: Regenerated. | |
329 | * generated/minloc0_8_i2.c: Regenerated. | |
330 | * generated/minloc0_8_i4.c: Regenerated. | |
331 | * generated/minloc0_8_i8.c: Regenerated. | |
332 | * generated/minloc0_8_i16.c: Regenerated. | |
333 | * generated/minloc0_8_r4.c: Regenerated. | |
334 | * generated/minloc0_8_r8.c: Regenerated. | |
335 | * generated/minloc0_8_r10.c: Regenerated. | |
336 | * generated/minloc0_8_r16.c: Regenerated. | |
337 | * generated/minloc0_16_i1.c: Regenerated. | |
338 | * generated/minloc0_16_i2.c: Regenerated. | |
339 | * generated/minloc0_16_i4.c: Regenerated. | |
340 | * generated/minloc0_16_i8.c: Regenerated. | |
341 | * generated/minloc0_16_i16.c: Regenerated. | |
342 | * generated/minloc0_16_r4.c: Regenerated. | |
343 | * generated/minloc0_16_r8.c: Regenerated. | |
344 | * generated/minloc0_16_r10.c: Regenerated. | |
345 | * generated/minloc0_16_r16.c: Regenerated. | |
346 | ||
f4d3c071 | 347 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
348 | ||
349 | PR other/16615 | |
f4d3c071 | 350 | * caf/single.c: Mechanically replace "can not" with "cannot". |
351 | * io/unit.c: Likewise. | |
352 | ||
5f34f219 | 353 | 2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org> |
0f861194 | 354 | Harald Anlauf <anlauf@gmx.de> |
355 | Tobias Burnus <burnus@gcc.gnu.org> | |
5f34f219 | 356 | |
357 | PR fortran/45424 | |
358 | * Makefile.am: Add intrinsics/is_contiguous.c. | |
359 | * Makefile.in: Regenerated. | |
360 | * gfortran.map: Add _gfortran_is_contiguous0. | |
361 | * intrinsics/is_contiguous.c: New file. | |
362 | * libgfortran.h: Add prototype for is_contiguous0. | |
363 | ||
4e9e4694 | 364 | 2019-01-07 Janne Blomqvist <jb@gcc.gnu.org> |
365 | ||
366 | * gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on | |
367 | GFORTRAN_8. | |
368 | ||
fbd26352 | 369 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
8e8f6434 | 370 | |
371 | Update copyright years. | |
f1717362 | 372 | \f |
fbd26352 | 373 | Copyright (C) 2019 Free Software Foundation, Inc. |
639d12cd | 374 | |
375 | Copying and distribution of this file, with or without modification, | |
376 | are permitted in any medium without royalty provided the copyright | |
377 | notice and this notice are preserved. |