Update ChangeLog and version files for release
[official-gcc.git] / libgfortran / ChangeLog
blobbedf1cc55ee3b38154442d376102aa6842796603
1 2017-10-10  Release Manager
3         * GCC 5.5.0 released.
5 2017-05-19  Janne Blomqvist  <jb@gcc.gnu.org>
7         Backport from trunk
8         * libgfortran.h: HAVE_SECURE_GETENV: Don't check
9         HAVE___SECURE_GETENV.
10         * environ/runtime.c (secure_getenv): Use __secure_getenv via a
11         weak reference.
13 2017-01-31  Steven G. Kargl  <kargl@gcc.gnu.org>
15         PR fortran/79305
16         * c99_protos.h: Spell HAVE_EXPL correctly.
17         * intrinsics/c99_functions.c: Ditto.
19 2016-10-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
21         Backport from trunk
22         PR libgfortran/78123
23         * io/transfer.c (formatted_transfer_scalar_read): Clear seen_eor
24         only if we have tabbed to left of current position.
26 2016-09-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
28         Backport from trunk
29         PR libgfortran/77707
30         io/transfer.c (next_record): Flush before calculating next_record.
31         Correctly calculate.
33 2016-09-29  Steven G. Kargl  <kargl@gcc.gnu.org>
35         Backport from trunk
36         PR fortran/77507
37         * ieee/ieee_arithmetic.F90 (IEEE_VALUE_4,IEEE_VALUE_8,IEEE_VALULE_10,
38         IEEE_VALUE_16):  Use correct keyword.
40 2016-08-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
42         Backport from trunk
43         PR libgfortran/71123
44         PR libgfortran/73142
45         * io/list_read (eat_spaces): Eat '\r' as part of spaces.
47 2016-06-03  Release Manager
49         * GCC 5.4.0 released.
51 2016-05-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
53         Backport from trunk.
54         PR libgfortran/70684
55         * io/list_read (check_buffers): Add '\r' to check for end of line.
57 2016-04-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
58             Dominique d'Humieres  <dominiq@lps.ens.fr>
60         PR libgfortran/70235
61         * io/write_float.def: Fix PF format for negative values of the scale
62         factor.
64 2016-03-28  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
66         Backport from trunk.
67         * caf/libcaf.h: caf_stop_numeric and caf_stop_str prototype.
68         * caf/single.c: _gfortran_caf_stop_numeric and
69         _gfortran_caf_stop_str implementation.
71 2016-02-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
73         PR libgfortran/69651
74         * io/list_read.c (push_char4): Fix the pointer usage for xrealloc.
76 2016-02-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
78         Backport from trunk
79         PR libgfortran/69651
80         PR libgfortran/69668
81         * io/list_read.c: Entire file trailing spaces removed.
82         (CASE_SEPARATORS): Remove '!'.
83         (is_separator): Add namelist mode as condition with '!'.
84         (push_char): Remove un-needed memset. (push_char4): Likewise and remove
85         'new' pointer. (eat_separator): Remove un-needed use of notify_std.
86         (read_logical): If '!' bang encountered when not in namelist mode got
87         bad_logical to give an error. (read_integer): Likewise reject '!'.
88         (read_character): Remove condition testing c = '!' which is now inside
89         the is_separator macro. Remove code related to DELIM_NONE.
90         (parse_real): Reject '!' unless in namelist mode. (read_complex): Reject
91         '!' unless in namelist mode. (read_real): Likewise reject '!'.
93 2015-12-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
95         Backport from trunk
96         PR libfortran/68987
97         io/format.c (format_error): Remove unneeded memory cleanup.
99 2015-12-05  Juoko Orava <jouko.orava@iki.fi>
101         PR fortran/50201
102         * io/write_float.def: Avoid marking quadmath_snprintf as an untyped
103         weak reference, which fixing linking with -static.
105 2015-12-04  Release Manager
107         * GCC 5.3.0 released.
109 2015-11-07 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
111         Backport from trunk
112         PR libgfortran/65089
113         * io/format.h (free_format): New function to free memory
114         allocated for building format error messages.
115         * io/format.c (format_error): Add checks before freeing memory
116         to avoid potential segfaults and free formatting data when
117         needed on error conditions. Always allocate and NULL terminate
118         the string.
119         * io/transfer.c (st_read_done, st_write_done): Use new
120         free_format function to clean up memory allocations when done.
122 2015-09-02  Janne Blomqvist  <jb@gcc.gnu.org>
124         PR libfortran/67414
125         * runtime/error.c (gf_strerror): Handle newlocale() failure.
127 2015-08-28  James Greenhalgh  <james.greenhalgh@arm.com>
129         * configure.ac: Define HAVE_FTRUNCATE for ARM/AArch64/SH newlib
130         builds.
131         * configure: Regenerate.
133 2015-08-18  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
135         PR libfortran/66936
136         * io/unix.c (__MINGW32__): Undefine HAVE_UMASK.
138 2015-07-29  Uros Bizjak  <ubizjak@gmail.com>
140         PR libgfortran/66650
141         * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid
142         "left shift of negative value" warning.
144 2015-07-16  Release Manager
146         * GCC 5.2.0 released.
148 2015-07-15  Janne Blomqvist  <jb@gcc.gnu.org>
150         PR libfortran/66861
151         * io/unix.c (compare_file_filename): Verify that u->filename is
152         non-NULL before strcmp.
153         (find_file0): Likewise.
155 2015-04-22  Release Manager
157         * GCC 5.1.0 released.
159 2015-03-28 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
161         PR libgfortran/65596
162         * io/transfer.c (data_transfer_init): If in namelist mode and
163         delimiter is not specified, set it to DELIM_QUOTE, independent
164         of -std.
165         * io/unit.c (init_units): Set flags.delim to the correct
166         initial value of DELIM_UNSPECIFIED.
168 2015-03-25 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
170         PR libgfortran/65541
171         * io/write.c (nml_write_obj): Convert '+' to '%' before emitting
172         object names in namelists.
174 2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
176         PR libgfortran/59513
177         * io/transfer.c (data_transfer_init): Do not error for
178         -std=legacy.
180 2015-03-16 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
182         PR libgfortran/64432
183         * intrinsics/system_clock.c (system_clock4, system_clock8):
184         Cleanup some whitespace.
186 2015-03-11  Thomas Schwinge  <thomas@codesourcery.com>
188         * caf/single.c (caf_runtime_error): Revert 2014-11-28 changes.
189         * runtime/minimal.c (STRERR_MAXSZ): Don't define.
190         (runtime_error_at, sys_abort): Bring more in line with the
191         non-LIBGFOR_MINIMAL code.
192         (runtime_warning_at, internal_error): New functions.
194 2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
196         PR libfortran/65200
197         * io/open.c (new_unit): Use gf_strerror rather than hardcoding
198         error messages for different errno values.
199         * io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
201 2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
202             Tobias Burnus  <burnus@net-b.de>
204         * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
205         * caf/single.c (_gfortran_caf_sync_memory): Implement.
206         (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
207         __asm__ __volatile___ ("":::"memory").
209 2015-02-10 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
211         PR libgfortran/57822
212         * io/write_float.def (output_float): Apply fix of previous patch
213         to correctly calculate the exponent number of digits and take
214         care of wide character output.
216 2015-02-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
218         PR libgfortran/57822
219         * io/write_float.def (output_float): If doing g0 editing and
220         exponent is zero, do not emit exponent.
222 2015-02-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
224         PR libgfortran/60956
225         * io/fbuf.c (fbuf_flush_list): New function that only flushes
226         if current fbuf position exceeds a limit.
227         * io/fbuf.h: Declare the new function.
228         * io/io.h (enum unit_mode): Add two new modes.
229         * io/list_read.c (list_formatted_read_scalar): Call new function.
230         * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
231         Call new function.
233 2015-01-24  Janne Blomqvist  <jb@gcc.gnu.org>
235         PR libfortran/64770
236         * io/unit.c (filename_from_unit): Check that u->filename != NULL
237         before calling strdup.
239 2015-01-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
241         PR libgfortran/61933
242         * io/inquire.c (inquire_via_unit): Set existing to true for
243         any negative unit that is currently connected and any positive
244         units within range of KIND=4 value.  The unit value for any out
245         of range case that may occur if the user is using a KIND=8 will
246         have been set to -2 which is reserved and can never be opened,
247         and therefore the unit does not exist.
249 2015-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
251         PR libgfortran/61933
252         * io/inquire.c (inquire_via_unit): Set existing to true if a
253         gfc_unit stucture was found for the given unit number.
254         * runtime/error.c (translate_error): Add case for
255         LIBERROR_INQUIRE_INTERNAL_UNIT.
257 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
259         Update copyright years.
261 2015-01-02  Tobias Burnus  <burnus@net-b.de>
263         * caf/single.c (_gfortran_caf_co_reduce): New function.
264         * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
266 Copyright (C) 2015 Free Software Foundation, Inc.
268 Copying and distribution of this file, with or without modification,
269 are permitted in any medium without royalty provided the copyright
270 notice and this notice are preserved.