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