]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgfortran/ChangeLog
* io/unix.c (min): Remove unused macro.
[thirdparty/gcc.git] / libgfortran / ChangeLog
1 2015-08-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2
3 * io/unix.c (min): Remove unused macro.
4
5 2015-08-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
6
7 PR fortran/53668
8 * intrinsics/malloc.c: Adapt comments.
9
10 2015-08-28 James Greenhalgh <james.greenhalgh@arm.com>
11
12 * configure.ac: Auto-detect newlib function support unless we
13 know there are issues when configuring for a host.
14 * configure: Regenerate.
15
16 2015-08-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
17
18 PR fortran/29600
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.
28
29 2015-08-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
30
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.
35
36 2015-08-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
37
38 * io/unit.c (get_internal_unit): Make default sign mode unspecified.
39 (init_units): Make default sign mode unspecified.
40
41 2015-08-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
42
43 * libgfortran.h (check_buffered): Remove unused prototype.
44
45 2015-08-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
46
47 PR libfortran/57496
48 * io/write_float.def: Use built-in type-generic functions defined
49 by libgfortran.h for isfinite, isnan, and signbit.
50
51 2015-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
52
53 PR libfortran/54572
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
63 prototypes.
64 (show_backtrace): Add prototype.
65 * runtime/backtrace.c: Rework file entirely.
66 * runtime/compile_options.c (backtrace_handler): Rename backtrace
67 to show_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.
76
77 2015-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
78
79 PR libfortran/62296
80 * intrinsics/execute_command_line.c (EXEC_INVALIDCOMMAND): New
81 error code.
82 (cmdmsg_values): New error message.
83 (set_cmdstat): Rework runtime error.
84 (execute_command_line): Handle invalid command line error status.
85
86 2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>
87
88 PR libfortran/67140
89 * intrinsics/mvbits.c: Fix build for platforms without c_int128_t.
90
91 2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>
92
93 PR libfortran/67140
94 * gfortran.map: Add _gfortran_mvbits_i16.
95 * intrinsics/mvbits.c: Generate mvbits for c_int128_t.
96
97 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
98
99 PR libfortran/66936
100 * io/unix.c (__MINGW32__): Undefine HAVE_UMASK.
101
102 2015-08-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
103
104 PR libfortran/66458
105 * runtime/main.c (init): Only call set_fpu() if requested by user.
106
107 2015-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
108
109 * runtime/compile_options.c (set_options): Fix typos.
110
111 2015-08-04 Uros Bizjak <ubizjak@gmail.com>
112
113 * config/fpu-387.h (get_fpu_trap_exceptions): Add temporary variable
114 to improve generated code.
115
116 2015-08-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
117
118 PR fortran/64022
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.
124
125 2015-07-29 Uros Bizjak <ubizjak@gmail.com>
126
127 PR libgfortran/66650
128 * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid
129 "left shift of negative value" warning.
130
131 2015-07-14 Janne Blomqvist <jb@gcc.gnu.org>
132
133 PR libfortran/66861
134 * io/unix.c (compare_file_filename): Verify that u->filename is
135 non-NULL before strcmp.
136 (find_file0): Likewise.
137
138 2015-07-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
139
140 PR libfortran/40267
141 * Makefile.am: Remove libgfortranbegin targets.
142 * Makefile.in: Regenerate.
143 * fmain.c: Remove.
144
145 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
146
147 * acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*.
148 * configure: Regenerate.
149
150 2015-04-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
151
152 PR libgfortran/65234
153 * io/format.c (parse_format_list): Set the seen_dd flag in all
154 cases where a data descriptor has been seen.
155
156 2015-04-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
157
158 PR libgfortran/56743
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.
163
164 2015-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
165
166 PR libgfortran/65089
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
172 the string.
173 * io/transfer.c (st_read_done, st_write_done): Use new
174 free_format function to clean up memory allocations when done.
175
176 2015-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
177
178 PR libgfortran/65596
179 * io/transfer.c (data_transfer_init): If in namelist mode and
180 delimiter is not specified, set it to DELIM_QUOTE, independent
181 of -std.
182 * io/unit.c (init_units): Set flags.delim to the correct
183 initial value of DELIM_UNSPECIFIED.
184
185 2015-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
186
187 PR libgfortran/65541
188 * io/write.c (nml_write_obj): Convert '+' to '%' before emitting
189 object names in namelists.
190
191 2015-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
192
193 PR libgfortran/59513
194 * io/transfer.c (data_transfer_init): Do not error for
195 -std=legacy.
196
197 2015-03-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
198
199 PR libgfortran/64432
200 * intrinsics/system_clock.c (system_clock4, system_clock8):
201 Cleanup some whitespace.
202
203 2015-03-11 Thomas Schwinge <thomas@codesourcery.com>
204
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.
210
211 2015-03-11 Janne Blomqvist <jb@gcc.gnu.org>
212
213 PR libfortran/65200
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.
217
218 2015-03-10 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
219 Tobias Burnus <burnus@net-b.de>
220
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").
225
226 2015-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
227
228 PR libgfortran/57822
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.
232
233 2015-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
234
235 PR libgfortran/57822
236 * io/write_float.def (output_float): If doing g0 editing and
237 exponent is zero, do not emit exponent.
238
239 2015-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
240
241 PR libgfortran/60956
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):
248 Call new function.
249
250 2015-01-24 Janne Blomqvist <jb@gcc.gnu.org>
251
252 PR libfortran/64770
253 * io/unit.c (filename_from_unit): Check that u->filename != NULL
254 before calling strdup.
255
256 2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
257
258 PR libgfortran/61933
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.
265
266 2015-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
267
268 PR libgfortran/61933
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.
273
274 2015-01-05 Jakub Jelinek <jakub@redhat.com>
275
276 Update copyright years.
277
278 2015-01-02 Tobias Burnus <burnus@net-b.de>
279
280 * caf/single.c (_gfortran_caf_co_reduce): New function.
281 * caf/libcaf.h (_gfortran_caf_co_reduce): New prototype.
282 ^L
283 Copyright (C) 2015 Free Software Foundation, Inc.
284
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.