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