1 2015-06-23 Release Manager
5 2015-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
8 * io/transfer.c (data_transfer_init): Do not error for
11 2015-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
14 Backport from mainline
15 * io/fbuf.c (fbuf_flush_list): New function that only flushes
16 if current fbuf position exceeds a limit.
17 * io/fbuf.h: Declare the new function.
18 * io/io.h (enum unit_mode): Add two new modes.
19 * io/list_read.c (list_formatted_read_scalar): Call new function.
20 * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
23 2014-12-19 Release Manager
27 2014-10-20 Janne Blomqvist <jb@gcc.gnu.org>
30 * configure.ac: Check for strtok_r.
31 * runtime/main.c (gfstrtok_r): Fallback implementation of
33 (find_addr2line): Use strtok_r to split PATH.
34 * config.h.in: Regenerated.
35 * configure: Regenerated.
37 2014-08-20 Steven G. Kargl <kargl@gcc.gnu.org>
40 * m4/bessel.m4: Avoid indexing off the end of an array.
41 * generated/bessel_r10.c: Regenerated.
42 * generated/bessel_r16.c: Ditto.
43 * generated/bessel_r4.c: Ditto.
44 * generated/bessel_r8.c: Ditto.
46 2014-07-31 Janne Blomqvist <jb@gcc.gnu.org>
48 Backport from mainline
50 * libgfortran.h (xmallocarray): New prototype.
51 * runtime/memory.c (xmallocarray): New function.
52 (xcalloc): Check for nonzero separately instead of multiplying.
53 * generated/*.c: Regenerated.
54 * intrinsics/cshift0.c (cshift0): Call xmallocarray instead of
56 * intrinsics/eoshift0.c (eoshift0): Likewise.
57 * intrinsics/eoshift2.c (eoshift2): Likewise.
58 * intrinsics/pack_generic.c (pack_internal): Likewise.
59 (pack_s_internal): Likewise.
60 * intrinsics/reshape_generic.c (reshape_internal): Likewise.
61 * intrinsics/spread_generic.c (spread_internal): Likewise.
62 (spread_internal_scalar): Likewise.
63 * intrinsics/string_intrinsics_inc.c (string_trim): Likewise.
64 (string_minmax): Likewise.
65 * intrinsics/transpose_generic.c (transpose_internal): Likewise.
66 * intrinsics/unpack_generic.c (unpack_internal): Likewise.
67 * io/list_read.c (nml_touch_nodes): Don't cast xmalloc return value.
68 * io/transfer.c (st_set_nml_var): Call xmallocarray instead of
70 * io/unit.c (get_internal_unit): Likewise.
71 (filename_from_unit): Don't cast xmalloc return value.
72 * io/write.c (nml_write_obj): Likewise, formatting.
73 * m4/bessel.m4 (bessel_jn_r'rtype_kind`): Call xmallocarray
75 (besse_yn_r'rtype_kind`): Likewise.
76 * m4/cshift1.m4 (cshift1): Likewise.
77 * m4/eoshift1.m4 (eoshift1): Likewise.
78 * m4/eoshift3.m4 (eoshift3): Likewise.
79 * m4/iforeach.m4: Likewise.
80 * m4/ifunction.m4: Likewise.
81 * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code):
83 * m4/in_pack.m4 (internal_pack_'rtype_ccode`): Likewise.
84 * m4/matmul.m4 (matmul_'rtype_code`): Likewise.
85 * m4/matmull.m4 (matmul_'rtype_code`): Likewise.
86 * m4/pack.m4 (pack_'rtype_code`): Likewise.
87 * m4/reshape.m4 (reshape_'rtype_ccode`): Likewise.
88 * m4/shape.m4 (shape_'rtype_kind`): Likewise.
89 * m4/spread.m4 (spread_'rtype_code`): Likewise.
90 (spread_scalar_'rtype_code`): Likewise.
91 * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
92 * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
93 (unpack1_'rtype_code`): Likewise.
94 * runtime/convert_char.c (convert_char1_to_char4): Likewise.
95 (convert_char4_to_char1): Simplify.
96 * runtime/environ.c (init_unformatted): Call xmallocarray instead
98 * runtime/in_pack_generic.c (internal_pack): Likewise.
100 2014-05-26 Janne Blomqvist <jb@gcc.gnu.org>
102 Backport from mainline
104 * intrinsics/ctime.c (strctime): Rename to gf_ctime, use snprintf
106 (fdate): Use gf_ctime.
107 (fdate_sub): Likewise.
109 (ctime_sub): Likewise.
111 2014-05-25 Janne Blomqvist <jb@gcc.gnu.org>
115 * io/unix.c (raw_close): Check if s->fd is -1.
116 (fd_to_stream): Check return value of fstat(), handle error.
118 2014-05-22 Release Manager
120 * GCC 4.8.3 released.
122 2014-05-03 Janne Blomqvist <jb@gcc.gnu.org>
126 * intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
127 _POSIX_MONOTONIC_CLOCK as well.
129 2014-04-12 Jerry DeLisle <jvdelisle@gcc.gnu>
131 Backport from mainline
133 * io/unit.c (is_trim_ok): If internal unit is array, do not trim.
135 2014-04-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
137 Backport from mainline
138 2013-11-15 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
139 * configure: Regenerate.
141 2014-03-15 Dominique d'Humieres <dominiq@lps.ens.fr>
143 Backport from mainline
145 * io/write_float.def (output_float): Remove unused variable
146 nzero_real. Replace a double space with a single one.
147 (determine_en_precision): Fix wrong handling of the EN format.
149 2014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu>
151 Backport from mainline
154 * io/list_read.c (finish_list_read): Read one character to check
155 for the end of the file. If it is the end, then issue the file
156 end error message. If not, use eat_line to reach the end
157 without giving error. The next attempt to read will then
158 issue the error as described above.
159 * io/read.c (read_decimal): Quickly skip spaces to avoid calls
161 * io/unit.c (is_trim_ok): New helper function to check various
162 conditions to see if its OK to trim the internal unit string.
163 (get_internal_unit): Use LEN_TRIM to shorten selected internal
164 unit strings for optimizing READ. Enable this optimization for
167 2014-02-21 Jerry DeLisle <jvdelisle@gcc.gnu>
168 Dominique d'Humieres <dominiq@lps.ens.fr>
169 Steven G. Kargl <kargl@gcc.gnu.org>
171 Backport from mainline
174 * io/io.h (struct st_parameter_dt): Assign expanded_read flag to
175 unused bit. Define new variable line_buffer_pos.
176 * io/list_read.c (free_saved, next_char, l_push_char,
177 read_logical, read_real): Replace use of item_count with
178 line_buffer_pos for line_buffer look ahead.
179 (read_logical, read_integer, parse_real, read_real, check_type):
180 Adjust location of free_line to after generating error messages
181 to retain the correct item count for the message.
183 2014-02-15 Jerry DeLisle <jvdelisle@gcc.gnu>
184 Dominique d'Humieres <dominiq@lps.ens.fr>
186 Backport from mainline
190 * io/write_float.def (output_float): Fix wrong handling of the
192 (output_float_FMT_G_): Fixes rounding issues with -m32.
194 2013-10-16 Release Manager
196 * GCC 4.8.2 released.
198 2013-10-04 Tobias Burnus <burnus@net-b.de>
201 * io/list_read (parse_repeat, read_integer, read_character,
202 parse_real, read_real, check_type, list_formatted_read_scalar,
203 finish_list_read): Call list_free.
205 2013-06-21 Uros Bizjak <ubizjak@gmail.com>
207 Backport from mainline
208 2013-06-20 Uros Bizjak <ubizjak@gmail.com>
210 * config/fpu-387.h (_FPU_MASK_ALL): New.
211 (_FPU_EX_ALL): Ditto.
212 (set_fpu): Use fstcw to store x87 FPU control word. Use fnclex to
213 clear stalled exception flags. Correctly clear stalled SSE
214 exception flags. Simplify code.
216 Backport from mainline
217 2013-06-19 Uros Bizjak <ubizjak@gmail.com>
219 * config/fpu-387.h: Use __asm__ and __volatile__ consistently.
221 2013-05-31 Release Manager
223 * GCC 4.8.1 released.
225 2013-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
227 Backport from mainline:
228 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de>
231 * io/list_read.c (nml_read_obj): Don't end the component loop on a
232 nested derived type, but continue with the next loop iteration.
233 (nml_get_obj_data): Don't move the first_nl pointer further in the
234 list if a qualifier was found.
236 2013-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
238 Backport from mainline:
241 * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
242 when checking for EOF. Use error return mechanism when EOF detected.
243 Do not return FAILURE unless parse_err_msg and parse_err_msg_size have
244 been set. Use hit_eof.
245 (nml_get_obj_data): Likewise use the correct error mechanism.
246 * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
249 2013-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
251 Backport from mainline:
252 2013-03-25 Tilo Schwarz <tilo@tilo-schwarz.de>
255 * io/list_read.c (nml_parse_qualifier): To check for a derived type
256 don't use the namelist head element type but the current element type.
257 (nml_get_obj_data): Add current namelist element type to
258 nml_parse_qualifier call.
260 2013-04-02 Tobias Burnus <burnus@net-b.de>
262 Backport from mainline:
263 2013-03-28 Tobias Burnus <burnus@net-b.de>
266 * io/list_read.c (nml_query): Only abort when
268 (namelist_read): Add goto instead of falling through.
270 2013-04-02 Tobias Burnus <burnus@net-b.de>
272 Backport from mainline:
273 2013-03-29 Tobias Burnus <burnus@net-b.de>
276 * io/format.c (parse_format): With caching, copy
278 (save_parsed_format): Use dtp->format directly without
281 2012-03-29 Tobias Burnus <burnus@net-b.de>
284 * io/format.c (parse_format_list): Also cache FMT_STRING.
285 (parse_format): Update call.
287 2013-03-24 Tobias Burnus <burnus@net-b.de>
290 * io/list_read.c (read_real): Fix EOF diagnostic.
292 2013-03-22 Release Manager
294 * GCC 4.8.0 released.
296 2013-03-11 Tobias Burnus <burnus@net-b.de>
298 * io/transfer.c (read_block_direct): Correct condition.
299 * intrinsics/execute_command_line.c (execute_command_line):
300 Remove dead code for the HAVE_FORK case.
302 2013-02-21 Janne Blomqvist <jb@gcc.gnu.org>
305 * io/open.c (test_endfile): Call stell only if size != 0.
306 * io/unix.c (raw_tell): Revert r194679.
307 (raw_size): Return size field only for regular files, otherwise 0.
309 2013-02-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
312 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
314 * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
315 * intrinsics/c99_functions.c: Likewise.
316 * configure: Rebuilt.
317 * config.h.in: Rebuilt.
319 2013-02-06 Janus Weil <janus@gcc.gnu.org>
322 * runtime/in_pack_generic.c (internal_pack): Return if base_addr is
325 2013-01-23 Janne Blomqvist <jb@gcc.gnu.org>
327 * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX
328 instead of reverse_memcpy.
329 * io/io.h (reverse_memcpy): Remove prototype.
330 * io/transfer.c (reverse_memcpy): Make static, move towards
332 (bswap_array): New function.
333 (unformatted_read): Use bswap_array to byte swap the data
335 (unformatted_write): Use a larger temp buffer and bswap_array.
336 (us_read): Use __builtin_bswapXX instead of reverse_memcpy.
337 (write_us_marker): Likewise.
339 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
341 Update copyright years.
343 2013-01-06 Tobias Burnus <burnus@net-b.de>
346 * intrinsics/env.c (get_environment_variable_i8): Don't use
347 uninitialized variable.
349 2013-01-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
352 * io/list_read.c (read_real): Do not call hit_eof when EOF can be
353 treated as a value separator.
354 (parse_real): Likewise.
355 (read_logical): Likewise.
356 (read_character): Likewise.
357 (read_complex): Likewise.
359 Copyright (C) 2013 Free Software Foundation, Inc.
361 Copying and distribution of this file, with or without modification,
362 are permitted in any medium without royalty provided the copyright
363 notice and this notice are preserved.