Daily bump.
[official-gcc.git] / libgfortran / ChangeLog
blobb3fa76334184bc2d96d10b4391d1b17e34b4f769
1 2015-08-31  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3         PR libfortran/47571
4         * acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Reinstate.
5         * configure.ac: Call LIBGFOR_GTHREAD_WEAK again.
6         * config.h.in: Regenerate.
7         * configure: Regenerate.
9 2015-08-31  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
11         PR libfortran/47571
12         * acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove.
13         (LIBGFOR_CHECK_WEAKREF): New test.
14         * configure.ac: Call LIBGFOR_CHECK_WEAKREF instead of
15         LIBGFOR_GTHREAD_WEAK.
16         * config.h.in: Regenerate.
17         * configure: Regenerate.
18         * intrinsics/system_clock.c: Use SUPPORTS_WEAKREF instead of
19         SUPPORTS_WEAK and GTHREAD_USE_WEAK.
21 2015-08-29 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
23         PR libgfortran/67367
24         * io/unix.c (buf_read): Check for error condition and if found
25         return the error code.
27 2015-08-29  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
29         * acinclude.m4: Remove LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT.
30         * configure.ac: Remove checks for strcasestr, execl, close,
31         getrlimit, readlink, getppid, powl, erfl, j0l, j1l, y0l, y1l,
32         tgammal, and lgammal.
33         * config.h.in: Regenerate.
34         * configure: Regenerate.
36 2015-08-29  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
38         * io/unix.c (min): Remove unused macro.
40 2015-08-28  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
42         PR fortran/53668
43         * intrinsics/malloc.c: Adapt comments.
45 2015-08-28  James Greenhalgh  <james.greenhalgh@arm.com>
47         * configure.ac: Auto-detect newlib function support unless we
48         know there are issues when configuring for a host.
49         * configure: Regenerate.
51 2015-08-26  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
53         PR fortran/29600
54         * Makefile.am: Add generated/shape_i{1,2}.c
55         * Makefile.in: Regenerate.
56         * generated/shape_i1.c: New generated file.
57         * generated/shape_i2.c: New generated file.
58         * generated/shape_i4.c: Regenerate.
59         * generated/shape_i8.c: Regenerate.
60         * generated/shape_i16.c: Regenerate.
61         * gfortran.map (GFORTRAN_1.7): Add _gfortran_shape_{1,2}.
62         * m4/shape.m4: Fix parameter type.
64 2015-08-26  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
66         * libgfortran.h (show_variables): Remove prototype.
67         * runtime/environ.c (print_spaces, var_source, show_integer,
68         show_boolean, show_sep, show_string): Remove functions.
69         * runtime/main.c (init): Remove dead code.
71 2015-08-25  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
73         * io/unit.c (get_internal_unit): Make default sign mode unspecified.
74         (init_units): Make default sign mode unspecified.
76 2015-08-25  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
78         * libgfortran.h (check_buffered): Remove unused prototype.
80 2015-08-24  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
82         PR libfortran/57496
83         * io/write_float.def: Use built-in type-generic functions defined
84         by libgfortran.h for isfinite, isnan, and signbit.
86 2015-08-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
88         PR libfortran/54572
89         * Makefile.am (libgfortran_la_LDFLAGS): Link in libbacktrace.
90         (AM_CPPFLAGS): Add libbacktrace directories to include paths.
91         * Makefile.in: Regenerate.
92         * aclocal.m4: Regenerate.
93         * config.h.in: Regenerate.
94         * configure: Regenerate.
95         * configure.ac: Remove checks for strtok_r, wait, execve, pipe,
96         and dup2. Remove call to GCC_CHECK_UNWIND_GETIPINFO.
97         * libgfortran.h (full_exe_path, find_addr2line, backtrace): Remove
98         prototypes.
99         (show_backtrace): Add prototype.
100         * runtime/backtrace.c: Rework file entirely.
101         * runtime/compile_options.c (backtrace_handler): Rename backtrace
102         to show_backtrace.
103         (maybe_find_addr2line): Remove function.
104         (set_options): Remove call to maybe_find_addr2line.
105         * runtime/error.c (sys_abort): Rename backtrace to show_backtrace.
106         * runtime/main.c (store_exe_path): Empty function body.
107         (full_exe_path, gfstrtok_r, find_addr2line): Remove functions.
108         (cleanup): Don't free removed variables.
109         * runtime/minimal.c (full_exe_path): Remove function.
110         (set_args): Don't set exe_path.
112 2015-08-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
114         PR libfortran/62296
115         * intrinsics/execute_command_line.c (EXEC_INVALIDCOMMAND): New
116         error code.
117         (cmdmsg_values): New error message.
118         (set_cmdstat): Rework runtime error.
119         (execute_command_line): Handle invalid command line error status.
121 2015-08-10  Steven G. Kargl  <kargl@gcc.gnu.org>
123         PR libfortran/67140
124         * intrinsics/mvbits.c: Fix build for platforms without c_int128_t.
126 2015-08-10  Steven G. Kargl  <kargl@gcc.gnu.org>
128         PR libfortran/67140
129         * gfortran.map: Add _gfortran_mvbits_i16.
130         * intrinsics/mvbits.c: Generate mvbits for c_int128_t.
132 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
134         PR libfortran/66936
135         * io/unix.c (__MINGW32__): Undefine HAVE_UMASK.
137 2015-08-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
139         PR libfortran/66458
140         * runtime/main.c (init): Only call set_fpu() if requested by user.
142 2015-08-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
144         * runtime/compile_options.c (set_options): Fix typos.
146 2015-08-04  Uros Bizjak  <ubizjak@gmail.com>
148         * config/fpu-387.h (get_fpu_trap_exceptions): Add temporary variable
149         to improve generated code.
151 2015-08-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
153         PR fortran/64022
154         * ieee/ieee_exceptions.F90: Support all real kinds.
155         * ieee/ieee_arithmetic.F90: Likewise.
156         * ieee/ieee_helper.c (ieee_class_helper_10,
157         ieee_class_helper_16): New functions
158         * gfortran.map (GFORTRAN_1.7): Add entries.
160 2015-07-29  Uros Bizjak  <ubizjak@gmail.com>
162         PR libgfortran/66650
163         * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid
164         "left shift of negative value" warning.
166 2015-07-14  Janne Blomqvist  <jb@gcc.gnu.org>
168         PR libfortran/66861
169         * io/unix.c (compare_file_filename): Verify that u->filename is
170         non-NULL before strcmp.
171         (find_file0): Likewise.
173 2015-07-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
175         PR libfortran/40267
176         * Makefile.am: Remove libgfortranbegin targets.
177         * Makefile.in: Regenerate.
178         * fmain.c: Remove.
180 2015-04-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
182         * acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*.
183         * configure: Regenerate.
185 2015-04-21 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
187         PR libgfortran/65234
188         * io/format.c (parse_format_list): Set the seen_dd flag in all
189         cases where a data descriptor has been seen.
191 2015-04-21 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
193         PR libgfortran/56743
194         * io/list_read.c (CASE_SEPARATORS): Add case for '!'.
195         (is_separator): Add condition for '!'.
196         (eat_separator): Use notify_std to warn or errord if '!' is
197         encountered before a proper separator.
199 2015-04-14 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
201         PR libgfortran/65089
202         * io/format.h (free_format): New function to free memory
203         allocated for building format error messages.
204         * io/format.c (format_error): Add checks before freeing memory
205         to avoid potential segfaults and free formatting data when
206         needed on error conditions. Always allocate and NULL terminate
207         the string.
208         * io/transfer.c (st_read_done, st_write_done): Use new
209         free_format function to clean up memory allocations when done.
211 2015-03-28 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
213         PR libgfortran/65596
214         * io/transfer.c (data_transfer_init): If in namelist mode and
215         delimiter is not specified, set it to DELIM_QUOTE, independent
216         of -std.
217         * io/unit.c (init_units): Set flags.delim to the correct
218         initial value of DELIM_UNSPECIFIED.
220 2015-03-25 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
222         PR libgfortran/65541
223         * io/write.c (nml_write_obj): Convert '+' to '%' before emitting
224         object names in namelists.
226 2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
228         PR libgfortran/59513
229         * io/transfer.c (data_transfer_init): Do not error for
230         -std=legacy.
232 2015-03-16 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
234         PR libgfortran/64432
235         * intrinsics/system_clock.c (system_clock4, system_clock8):
236         Cleanup some whitespace.
238 2015-03-11  Thomas Schwinge  <thomas@codesourcery.com>
240         * caf/single.c (caf_runtime_error): Revert 2014-11-28 changes.
241         * runtime/minimal.c (STRERR_MAXSZ): Don't define.
242         (runtime_error_at, sys_abort): Bring more in line with the
243         non-LIBGFOR_MINIMAL code.
244         (runtime_warning_at, internal_error): New functions.
246 2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
248         PR libfortran/65200
249         * io/open.c (new_unit): Use gf_strerror rather than hardcoding
250         error messages for different errno values.
251         * io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
253 2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
254             Tobias Burnus  <burnus@net-b.de>
256         * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
257         * caf/single.c (_gfortran_caf_sync_memory): Implement.
258         (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
259         __asm__ __volatile___ ("":::"memory").
261 2015-02-10 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
263         PR libgfortran/57822
264         * io/write_float.def (output_float): Apply fix of previous patch
265         to correctly calculate the exponent number of digits and take
266         care of wide character output.
268 2015-02-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
270         PR libgfortran/57822
271         * io/write_float.def (output_float): If doing g0 editing and
272         exponent is zero, do not emit exponent.
274 2015-02-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
276         PR libgfortran/60956
277         * io/fbuf.c (fbuf_flush_list): New function that only flushes
278         if current fbuf position exceeds a limit.
279         * io/fbuf.h: Declare the new function.
280         * io/io.h (enum unit_mode): Add two new modes.
281         * io/list_read.c (list_formatted_read_scalar): Call new function.
282         * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
283         Call new function.
285 2015-01-24  Janne Blomqvist  <jb@gcc.gnu.org>
287         PR libfortran/64770
288         * io/unit.c (filename_from_unit): Check that u->filename != NULL
289         before calling strdup.
291 2015-01-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
293         PR libgfortran/61933
294         * io/inquire.c (inquire_via_unit): Set existing to true for
295         any negative unit that is currently connected and any positive
296         units within range of KIND=4 value.  The unit value for any out
297         of range case that may occur if the user is using a KIND=8 will
298         have been set to -2 which is reserved and can never be opened,
299         and therefore the unit does not exist.
301 2015-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
303         PR libgfortran/61933
304         * io/inquire.c (inquire_via_unit): Set existing to true if a
305         gfc_unit stucture was found for the given unit number.
306         * runtime/error.c (translate_error): Add case for
307         LIBERROR_INQUIRE_INTERNAL_UNIT.
309 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
311         Update copyright years.
313 2015-01-02  Tobias Burnus  <burnus@net-b.de>
315         * caf/single.c (_gfortran_caf_co_reduce): New function.
316         * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
318 Copyright (C) 2015 Free Software Foundation, Inc.
320 Copying and distribution of this file, with or without modification,
321 are permitted in any medium without royalty provided the copyright
322 notice and this notice are preserved.