1 2015-08-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
3 * acinclude.m4: Remove LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT.
4 * configure.ac: Remove checks for strcasestr, execl, close,
5 getrlimit, readlink, getppid, powl, erfl, j0l, j1l, y0l, y1l,
7 * config.h.in: Regenerate.
8 * configure: Regenerate.
10 2015-08-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
12 * io/unix.c (min): Remove unused macro.
14 2015-08-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
17 * intrinsics/malloc.c: Adapt comments.
19 2015-08-28 James Greenhalgh <james.greenhalgh@arm.com>
21 * configure.ac: Auto-detect newlib function support unless we
22 know there are issues when configuring for a host.
23 * configure: Regenerate.
25 2015-08-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
28 * Makefile.am: Add generated/shape_i{1,2}.c
29 * Makefile.in: Regenerate.
30 * generated/shape_i1.c: New generated file.
31 * generated/shape_i2.c: New generated file.
32 * generated/shape_i4.c: Regenerate.
33 * generated/shape_i8.c: Regenerate.
34 * generated/shape_i16.c: Regenerate.
35 * gfortran.map (GFORTRAN_1.7): Add _gfortran_shape_{1,2}.
36 * m4/shape.m4: Fix parameter type.
38 2015-08-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
40 * libgfortran.h (show_variables): Remove prototype.
41 * runtime/environ.c (print_spaces, var_source, show_integer,
42 show_boolean, show_sep, show_string): Remove functions.
43 * runtime/main.c (init): Remove dead code.
45 2015-08-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
47 * io/unit.c (get_internal_unit): Make default sign mode unspecified.
48 (init_units): Make default sign mode unspecified.
50 2015-08-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
52 * libgfortran.h (check_buffered): Remove unused prototype.
54 2015-08-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
57 * io/write_float.def: Use built-in type-generic functions defined
58 by libgfortran.h for isfinite, isnan, and signbit.
60 2015-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
63 * Makefile.am (libgfortran_la_LDFLAGS): Link in libbacktrace.
64 (AM_CPPFLAGS): Add libbacktrace directories to include paths.
65 * Makefile.in: Regenerate.
66 * aclocal.m4: Regenerate.
67 * config.h.in: Regenerate.
68 * configure: Regenerate.
69 * configure.ac: Remove checks for strtok_r, wait, execve, pipe,
70 and dup2. Remove call to GCC_CHECK_UNWIND_GETIPINFO.
71 * libgfortran.h (full_exe_path, find_addr2line, backtrace): Remove
73 (show_backtrace): Add prototype.
74 * runtime/backtrace.c: Rework file entirely.
75 * runtime/compile_options.c (backtrace_handler): Rename backtrace
77 (maybe_find_addr2line): Remove function.
78 (set_options): Remove call to maybe_find_addr2line.
79 * runtime/error.c (sys_abort): Rename backtrace to show_backtrace.
80 * runtime/main.c (store_exe_path): Empty function body.
81 (full_exe_path, gfstrtok_r, find_addr2line): Remove functions.
82 (cleanup): Don't free removed variables.
83 * runtime/minimal.c (full_exe_path): Remove function.
84 (set_args): Don't set exe_path.
86 2015-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
89 * intrinsics/execute_command_line.c (EXEC_INVALIDCOMMAND): New
91 (cmdmsg_values): New error message.
92 (set_cmdstat): Rework runtime error.
93 (execute_command_line): Handle invalid command line error status.
95 2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>
98 * intrinsics/mvbits.c: Fix build for platforms without c_int128_t.
100 2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>
103 * gfortran.map: Add _gfortran_mvbits_i16.
104 * intrinsics/mvbits.c: Generate mvbits for c_int128_t.
106 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
109 * io/unix.c (__MINGW32__): Undefine HAVE_UMASK.
111 2015-08-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
114 * runtime/main.c (init): Only call set_fpu() if requested by user.
116 2015-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
118 * runtime/compile_options.c (set_options): Fix typos.
120 2015-08-04 Uros Bizjak <ubizjak@gmail.com>
122 * config/fpu-387.h (get_fpu_trap_exceptions): Add temporary variable
123 to improve generated code.
125 2015-08-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
128 * ieee/ieee_exceptions.F90: Support all real kinds.
129 * ieee/ieee_arithmetic.F90: Likewise.
130 * ieee/ieee_helper.c (ieee_class_helper_10,
131 ieee_class_helper_16): New functions
132 * gfortran.map (GFORTRAN_1.7): Add entries.
134 2015-07-29 Uros Bizjak <ubizjak@gmail.com>
137 * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid
138 "left shift of negative value" warning.
140 2015-07-14 Janne Blomqvist <jb@gcc.gnu.org>
143 * io/unix.c (compare_file_filename): Verify that u->filename is
144 non-NULL before strcmp.
145 (find_file0): Likewise.
147 2015-07-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
150 * Makefile.am: Remove libgfortranbegin targets.
151 * Makefile.in: Regenerate.
154 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
156 * acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*.
157 * configure: Regenerate.
159 2015-04-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
162 * io/format.c (parse_format_list): Set the seen_dd flag in all
163 cases where a data descriptor has been seen.
165 2015-04-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
168 * io/list_read.c (CASE_SEPARATORS): Add case for '!'.
169 (is_separator): Add condition for '!'.
170 (eat_separator): Use notify_std to warn or errord if '!' is
171 encountered before a proper separator.
173 2015-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
176 * io/format.h (free_format): New function to free memory
177 allocated for building format error messages.
178 * io/format.c (format_error): Add checks before freeing memory
179 to avoid potential segfaults and free formatting data when
180 needed on error conditions. Always allocate and NULL terminate
182 * io/transfer.c (st_read_done, st_write_done): Use new
183 free_format function to clean up memory allocations when done.
185 2015-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
188 * io/transfer.c (data_transfer_init): If in namelist mode and
189 delimiter is not specified, set it to DELIM_QUOTE, independent
191 * io/unit.c (init_units): Set flags.delim to the correct
192 initial value of DELIM_UNSPECIFIED.
194 2015-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
197 * io/write.c (nml_write_obj): Convert '+' to '%' before emitting
198 object names in namelists.
200 2015-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
203 * io/transfer.c (data_transfer_init): Do not error for
206 2015-03-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
209 * intrinsics/system_clock.c (system_clock4, system_clock8):
210 Cleanup some whitespace.
212 2015-03-11 Thomas Schwinge <thomas@codesourcery.com>
214 * caf/single.c (caf_runtime_error): Revert 2014-11-28 changes.
215 * runtime/minimal.c (STRERR_MAXSZ): Don't define.
216 (runtime_error_at, sys_abort): Bring more in line with the
217 non-LIBGFOR_MINIMAL code.
218 (runtime_warning_at, internal_error): New functions.
220 2015-03-11 Janne Blomqvist <jb@gcc.gnu.org>
223 * io/open.c (new_unit): Use gf_strerror rather than hardcoding
224 error messages for different errno values.
225 * io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
227 2015-03-10 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
228 Tobias Burnus <burnus@net-b.de>
230 * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
231 * caf/single.c (_gfortran_caf_sync_memory): Implement.
232 (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
233 __asm__ __volatile___ ("":::"memory").
235 2015-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
238 * io/write_float.def (output_float): Apply fix of previous patch
239 to correctly calculate the exponent number of digits and take
240 care of wide character output.
242 2015-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
245 * io/write_float.def (output_float): If doing g0 editing and
246 exponent is zero, do not emit exponent.
248 2015-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
251 * io/fbuf.c (fbuf_flush_list): New function that only flushes
252 if current fbuf position exceeds a limit.
253 * io/fbuf.h: Declare the new function.
254 * io/io.h (enum unit_mode): Add two new modes.
255 * io/list_read.c (list_formatted_read_scalar): Call new function.
256 * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
259 2015-01-24 Janne Blomqvist <jb@gcc.gnu.org>
262 * io/unit.c (filename_from_unit): Check that u->filename != NULL
263 before calling strdup.
265 2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
268 * io/inquire.c (inquire_via_unit): Set existing to true for
269 any negative unit that is currently connected and any positive
270 units within range of KIND=4 value. The unit value for any out
271 of range case that may occur if the user is using a KIND=8 will
272 have been set to -2 which is reserved and can never be opened,
273 and therefore the unit does not exist.
275 2015-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
278 * io/inquire.c (inquire_via_unit): Set existing to true if a
279 gfc_unit stucture was found for the given unit number.
280 * runtime/error.c (translate_error): Add case for
281 LIBERROR_INQUIRE_INTERNAL_UNIT.
283 2015-01-05 Jakub Jelinek <jakub@redhat.com>
285 Update copyright years.
287 2015-01-02 Tobias Burnus <burnus@net-b.de>
289 * caf/single.c (_gfortran_caf_co_reduce): New function.
290 * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
292 Copyright (C) 2015 Free Software Foundation, Inc.
294 Copying and distribution of this file, with or without modification,
295 are permitted in any medium without royalty provided the copyright
296 notice and this notice are preserved.