PR libfortran/54572
[official-gcc.git] / libgfortran / ChangeLog
blobb74b71d3c2fde1a8e3e962d64d993657b929d9fc
1 2015-08-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3         PR libfortran/54572
4         * Makefile.am (libgfortran_la_LDFLAGS): Link in libbacktrace.
5         (AM_CPPFLAGS): Add libbacktrace directories to include paths.
6         * Makefile.in: Regenerate.
7         * aclocal.m4: Regenerate.
8         * config.h.in: Regenerate.
9         * configure: Regenerate.
10         * configure.ac: Remove checks for strtok_r, wait, execve, pipe,
11         and dup2. Remove call to GCC_CHECK_UNWIND_GETIPINFO.
12         * libgfortran.h (full_exe_path, find_addr2line, backtrace): Remove
13         prototypes.
14         (show_backtrace): Add prototype.
15         * runtime/backtrace.c: Rework file entirely.
16         * runtime/compile_options.c (backtrace_handler): Rename backtrace
17         to show_backtrace.
18         (maybe_find_addr2line): Remove function.
19         (set_options): Remove call to maybe_find_addr2line.
20         * runtime/error.c (sys_abort): Rename backtrace to show_backtrace.
21         * runtime/main.c (store_exe_path): Empty function body.
22         (full_exe_path, gfstrtok_r, find_addr2line): Remove functions.
23         (cleanup): Don't free removed variables.
24         * runtime/minimal.c (full_exe_path): Remove function.
25         (set_args): Don't set exe_path.
27 2015-08-23  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
29         PR libfortran/62296
30         * intrinsics/execute_command_line.c (EXEC_INVALIDCOMMAND): New
31         error code.
32         (cmdmsg_values): New error message.
33         (set_cmdstat): Rework runtime error.
34         (execute_command_line): Handle invalid command line error status.
36 2015-08-10  Steven G. Kargl  <kargl@gcc.gnu.org>
38         PR libfortran/67140
39         * intrinsics/mvbits.c: Fix build for platforms without c_int128_t.
41 2015-08-10  Steven G. Kargl  <kargl@gcc.gnu.org>
43         PR libfortran/67140
44         * gfortran.map: Add _gfortran_mvbits_i16.
45         * intrinsics/mvbits.c: Generate mvbits for c_int128_t.
47 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
49         PR libfortran/66936
50         * io/unix.c (__MINGW32__): Undefine HAVE_UMASK.
52 2015-08-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
54         PR libfortran/66458
55         * runtime/main.c (init): Only call set_fpu() if requested by user.
57 2015-08-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
59         * runtime/compile_options.c (set_options): Fix typos.
61 2015-08-04  Uros Bizjak  <ubizjak@gmail.com>
63         * config/fpu-387.h (get_fpu_trap_exceptions): Add temporary variable
64         to improve generated code.
66 2015-08-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
68         PR fortran/64022
69         * ieee/ieee_exceptions.F90: Support all real kinds.
70         * ieee/ieee_arithmetic.F90: Likewise.
71         * ieee/ieee_helper.c (ieee_class_helper_10,
72         ieee_class_helper_16): New functions
73         * gfortran.map (GFORTRAN_1.7): Add entries.
75 2015-07-29  Uros Bizjak  <ubizjak@gmail.com>
77         PR libgfortran/66650
78         * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid
79         "left shift of negative value" warning.
81 2015-07-14  Janne Blomqvist  <jb@gcc.gnu.org>
83         PR libfortran/66861
84         * io/unix.c (compare_file_filename): Verify that u->filename is
85         non-NULL before strcmp.
86         (find_file0): Likewise.
88 2015-07-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
90         PR libfortran/40267
91         * Makefile.am: Remove libgfortranbegin targets.
92         * Makefile.in: Regenerate.
93         * fmain.c: Remove.
95 2015-04-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
97         * acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*.
98         * configure: Regenerate.
100 2015-04-21 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
102         PR libgfortran/65234
103         * io/format.c (parse_format_list): Set the seen_dd flag in all
104         cases where a data descriptor has been seen.
106 2015-04-21 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
108         PR libgfortran/56743
109         * io/list_read.c (CASE_SEPARATORS): Add case for '!'.
110         (is_separator): Add condition for '!'.
111         (eat_separator): Use notify_std to warn or errord if '!' is
112         encountered before a proper separator.
114 2015-04-14 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
116         PR libgfortran/65089
117         * io/format.h (free_format): New function to free memory
118         allocated for building format error messages.
119         * io/format.c (format_error): Add checks before freeing memory
120         to avoid potential segfaults and free formatting data when
121         needed on error conditions. Always allocate and NULL terminate
122         the string.
123         * io/transfer.c (st_read_done, st_write_done): Use new
124         free_format function to clean up memory allocations when done.
126 2015-03-28 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
128         PR libgfortran/65596
129         * io/transfer.c (data_transfer_init): If in namelist mode and
130         delimiter is not specified, set it to DELIM_QUOTE, independent
131         of -std.
132         * io/unit.c (init_units): Set flags.delim to the correct
133         initial value of DELIM_UNSPECIFIED.
135 2015-03-25 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
137         PR libgfortran/65541
138         * io/write.c (nml_write_obj): Convert '+' to '%' before emitting
139         object names in namelists.
141 2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
143         PR libgfortran/59513
144         * io/transfer.c (data_transfer_init): Do not error for
145         -std=legacy.
147 2015-03-16 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
149         PR libgfortran/64432
150         * intrinsics/system_clock.c (system_clock4, system_clock8):
151         Cleanup some whitespace.
153 2015-03-11  Thomas Schwinge  <thomas@codesourcery.com>
155         * caf/single.c (caf_runtime_error): Revert 2014-11-28 changes.
156         * runtime/minimal.c (STRERR_MAXSZ): Don't define.
157         (runtime_error_at, sys_abort): Bring more in line with the
158         non-LIBGFOR_MINIMAL code.
159         (runtime_warning_at, internal_error): New functions.
161 2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
163         PR libfortran/65200
164         * io/open.c (new_unit): Use gf_strerror rather than hardcoding
165         error messages for different errno values.
166         * io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
168 2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
169             Tobias Burnus  <burnus@net-b.de>
171         * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
172         * caf/single.c (_gfortran_caf_sync_memory): Implement.
173         (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
174         __asm__ __volatile___ ("":::"memory").
176 2015-02-10 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
178         PR libgfortran/57822
179         * io/write_float.def (output_float): Apply fix of previous patch
180         to correctly calculate the exponent number of digits and take
181         care of wide character output.
183 2015-02-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
185         PR libgfortran/57822
186         * io/write_float.def (output_float): If doing g0 editing and
187         exponent is zero, do not emit exponent.
189 2015-02-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
191         PR libgfortran/60956
192         * io/fbuf.c (fbuf_flush_list): New function that only flushes
193         if current fbuf position exceeds a limit.
194         * io/fbuf.h: Declare the new function.
195         * io/io.h (enum unit_mode): Add two new modes.
196         * io/list_read.c (list_formatted_read_scalar): Call new function.
197         * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
198         Call new function.
200 2015-01-24  Janne Blomqvist  <jb@gcc.gnu.org>
202         PR libfortran/64770
203         * io/unit.c (filename_from_unit): Check that u->filename != NULL
204         before calling strdup.
206 2015-01-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
208         PR libgfortran/61933
209         * io/inquire.c (inquire_via_unit): Set existing to true for
210         any negative unit that is currently connected and any positive
211         units within range of KIND=4 value.  The unit value for any out
212         of range case that may occur if the user is using a KIND=8 will
213         have been set to -2 which is reserved and can never be opened,
214         and therefore the unit does not exist.
216 2015-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
218         PR libgfortran/61933
219         * io/inquire.c (inquire_via_unit): Set existing to true if a
220         gfc_unit stucture was found for the given unit number.
221         * runtime/error.c (translate_error): Add case for
222         LIBERROR_INQUIRE_INTERNAL_UNIT.
224 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
226         Update copyright years.
228 2015-01-02  Tobias Burnus  <burnus@net-b.de>
230         * caf/single.c (_gfortran_caf_co_reduce): New function.
231         * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
233 Copyright (C) 2015 Free Software Foundation, Inc.
235 Copying and distribution of this file, with or without modification,
236 are permitted in any medium without royalty provided the copyright
237 notice and this notice are preserved.