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