annotate libgfortran/ChangeLog-2014 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 2014-11-28 Bernd Schmidt <bernds@codesourcery.com>
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 * Makefile.am (AM_CFLAGS): Add -DLIBGFOR_MINIMAL if LIBGFOR_MINIMAL.
kono
parents:
diff changeset
4 (gfor_io_src, gfor_heper_src, gfor_src): Split into minimal and
kono
parents:
diff changeset
5 always included sources.
kono
parents:
diff changeset
6 * Makefile.in: Regenerate.
kono
parents:
diff changeset
7 * configure.ac (LIBGFOR_MINIMAL): New AM_CONDITIONAL.
kono
parents:
diff changeset
8 * configure: Regenerate.
kono
parents:
diff changeset
9 * caf/single.c (caf_runtime_error): Don't print messages if
kono
parents:
diff changeset
10 LIBGFOR_MINIMAL.
kono
parents:
diff changeset
11 * runtime/compile_options.c (fatal_error_in_progress,
kono
parents:
diff changeset
12 show_signal, backtrace_handler, maybe_find_addr2line): Guard with
kono
parents:
diff changeset
13 !defined LIBGFOR_MINIMAL.
kono
parents:
diff changeset
14 (set_options): Likewise for the backtrace code.
kono
parents:
diff changeset
15 * runtime/minimal.c: New file.
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 2014-11-25 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 * intrinsics/env.c (getenv): Remove unused variable res_len.
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 * configure.ac: Guard include of <ieeefp.h>.
kono
parents:
diff changeset
24 * configure: Rebuilt.
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 PR bootstrap/63784
kono
parents:
diff changeset
29 * configure: Regenerated.
kono
parents:
diff changeset
30
kono
parents:
diff changeset
31 2014-11-16 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
32
kono
parents:
diff changeset
33 PR libfortran/60324
kono
parents:
diff changeset
34 * intrinsics/random.c (kiss_size): Rename to KISS_SIZE, make it a
kono
parents:
diff changeset
35 macro instead of a variable.
kono
parents:
diff changeset
36 (random_seed_i4): Make seed correct size, remove assert, KISS_SIZE
kono
parents:
diff changeset
37 related changes.
kono
parents:
diff changeset
38 (random_seed_i8): KISS_SIZE related changes.
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 2014-11-13 Marek Polacek <polacek@redhat.com>
kono
parents:
diff changeset
41
kono
parents:
diff changeset
42 * intrinsics/access.c: Include <stdlib.h>.
kono
parents:
diff changeset
43 * intrinsics/chdir.c: Likewise.
kono
parents:
diff changeset
44 * intrinsics/chmod.c: Likewise.
kono
parents:
diff changeset
45 * intrinsics/link.c: Likewise.
kono
parents:
diff changeset
46 * intrinsics/perror.c: Likewise.
kono
parents:
diff changeset
47 * intrinsics/rename.c: Likewise.
kono
parents:
diff changeset
48 * intrinsics/symlnk.c: Likewise.
kono
parents:
diff changeset
49 * intrinsics/unlink.c: Likewise.
kono
parents:
diff changeset
50
kono
parents:
diff changeset
51 2014-11-13 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
52
kono
parents:
diff changeset
53 PR libfortran/60324
kono
parents:
diff changeset
54 * configure: Regenerated.
kono
parents:
diff changeset
55 * configure.ac (AM_CFLAGS): Add Werror=vla.
kono
parents:
diff changeset
56 * libgfortran.h (gfc_alloca): Remove macro.
kono
parents:
diff changeset
57 (fc_strdup_notrim): New prototype.
kono
parents:
diff changeset
58 * intrinsics/access.c (access_func): Use fc_strdup rather than
kono
parents:
diff changeset
59 stack allocation.
kono
parents:
diff changeset
60 * intrinsics/chdir.c (chdir_i4_sub): Likewise.
kono
parents:
diff changeset
61 (chdir_i8_sub): Likewise.
kono
parents:
diff changeset
62 * intrinsics/chmod.c (chmod_internal): New function, move logic
kono
parents:
diff changeset
63 here.
kono
parents:
diff changeset
64 (chmod_func): Call chmod_internal.
kono
parents:
diff changeset
65 * intrinsics/env.c (getenv): Use fc_strdup rather than stack
kono
parents:
diff changeset
66 allocation.
kono
parents:
diff changeset
67 (get_environment_variable_i4): Likewise.
kono
parents:
diff changeset
68 * intrinsics/execute_command_line.c (execute_command_line):
kono
parents:
diff changeset
69 Likewise.
kono
parents:
diff changeset
70 * intrinsics/hostnm.c (hostnm_0): New function, use static buffer
kono
parents:
diff changeset
71 rather than VLA.
kono
parents:
diff changeset
72 (hostnm_i4_sub): Call hostnm_0.
kono
parents:
diff changeset
73 (hostnm_i8_sub): Likewise.
kono
parents:
diff changeset
74 (hostnm): Likewise.
kono
parents:
diff changeset
75 * intrinsics/link.c (link_internal): New function, use fc_strdup
kono
parents:
diff changeset
76 rather than stack allocation.
kono
parents:
diff changeset
77 (link_i4_sub): Call link_internal.
kono
parents:
diff changeset
78 (link_i8_sub): Likewise.
kono
parents:
diff changeset
79 (link_i4): Likewise.
kono
parents:
diff changeset
80 (link_i8): Likewise.
kono
parents:
diff changeset
81 * intrinsics/perror.c (perror_sub): Use fc_strdup rather than
kono
parents:
diff changeset
82 stack allocation.
kono
parents:
diff changeset
83 * intrinsics/random.c (random_seed_i4): Use static buffer rather
kono
parents:
diff changeset
84 than VLA, use _Static_assert to make sure it's big enough.
kono
parents:
diff changeset
85 * intrinsics/rename.c (rename_internal): New function, use
kono
parents:
diff changeset
86 fc_strdup rather than stack allocation.
kono
parents:
diff changeset
87 (rename_i4_sub): Call rename_internal.
kono
parents:
diff changeset
88 (rename_i8_sub): Likewise.
kono
parents:
diff changeset
89 (rename_i4): Likewise.
kono
parents:
diff changeset
90 (rename_i8): Likewise.
kono
parents:
diff changeset
91 * intrinsics/stat.c (stat_i4_sub_0): Use fc_strdup rather than
kono
parents:
diff changeset
92 stack allocation.
kono
parents:
diff changeset
93 (stat_i8_sub_0): Likewise.
kono
parents:
diff changeset
94 * intrinsics/symlink.c (symlnk_internal): New function, use
kono
parents:
diff changeset
95 fc_strdup rather than stack allocation.
kono
parents:
diff changeset
96 (symlnk_i4_sub): Call symlnk_internal.
kono
parents:
diff changeset
97 (symlnk_i8_sub): Likewise.
kono
parents:
diff changeset
98 (symlnk_i4): Likewise.
kono
parents:
diff changeset
99 (symlnk_i8): Likewise.
kono
parents:
diff changeset
100 * intrinsics/system.c (system_sub): Use fc_strdup rather than
kono
parents:
diff changeset
101 stack allocation.
kono
parents:
diff changeset
102 * intrinsics/unlink.c (unlink_i4_sub): Likewise.
kono
parents:
diff changeset
103 * io/file_pos.c (READ_CHUNK): Make it a macro rather than variable.
kono
parents:
diff changeset
104 * io/list_read.c (nml_get_obj_data): Use fixed stack buffer, fall
kono
parents:
diff changeset
105 back to xmalloc/free for large sizes.
kono
parents:
diff changeset
106 * io/read.c (read_f): Likewise.
kono
parents:
diff changeset
107 * io/transfer.c (MAX_READ): Make it a macro rather than variable.
kono
parents:
diff changeset
108 (WRITE_CHUNK): Likewise.
kono
parents:
diff changeset
109 * io/write_float.def (write_float): Use fixed stack buffer, fall
kono
parents:
diff changeset
110 back to xmalloc/free for large sizes.
kono
parents:
diff changeset
111 * runtime/string.c (fc_strdup_notrim): New function.
kono
parents:
diff changeset
112
kono
parents:
diff changeset
113 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
114
kono
parents:
diff changeset
115 PR target/63610
kono
parents:
diff changeset
116 * configure: Regenerate.
kono
parents:
diff changeset
117
kono
parents:
diff changeset
118 2014-11-10 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
119
kono
parents:
diff changeset
120 PR libfortran/47007
kono
parents:
diff changeset
121 PR libfortran/61847
kono
parents:
diff changeset
122 * config.h.in: Regenerated.
kono
parents:
diff changeset
123 * configure: Regenerated.
kono
parents:
diff changeset
124 * configure.ac (AC_CHECK_HEADERS_ONCE): Check for xlocale.h.
kono
parents:
diff changeset
125 (AC_CHECK_FUNCS_ONCE): Check for newlocale, freelocale, uselocale,
kono
parents:
diff changeset
126 strerror_l.
kono
parents:
diff changeset
127 * io/io.h (locale.h): Include.
kono
parents:
diff changeset
128 (xlocale.h): Include if present.
kono
parents:
diff changeset
129 (c_locale): New variable.
kono
parents:
diff changeset
130 (old_locale): New variable.
kono
parents:
diff changeset
131 (old_locale_ctr): New variable.
kono
parents:
diff changeset
132 (old_locale_lock): New variable.
kono
parents:
diff changeset
133 (st_parameter_dt): Add old_locale member.
kono
parents:
diff changeset
134 * io/transfer.c (data_transfer_init): Set locale to "C" if doing
kono
parents:
diff changeset
135 formatted transfer.
kono
parents:
diff changeset
136 (finalize_transfer): Reset locale to previous.
kono
parents:
diff changeset
137 * io/unit.c (c_locale): New variable.
kono
parents:
diff changeset
138 (old_locale): New variable.
kono
parents:
diff changeset
139 (old_locale_ctr): New variable.
kono
parents:
diff changeset
140 (old_locale_lock): New variable.
kono
parents:
diff changeset
141 (init_units): Init c_locale, init old_locale_lock.
kono
parents:
diff changeset
142 (close_units): Free c_locale.
kono
parents:
diff changeset
143 * runtime/error.c (locale.h): Include.
kono
parents:
diff changeset
144 (xlocale.h): Include if present.
kono
parents:
diff changeset
145 (gf_strerror): Use strerror_l if available. Reset locale to
kono
parents:
diff changeset
146 LC_GLOBAL_LOCALE for strerror_r branch.
kono
parents:
diff changeset
147
kono
parents:
diff changeset
148 2014-10-20 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
149
kono
parents:
diff changeset
150 PR libfortran/63589
kono
parents:
diff changeset
151 * configure.ac: Check for strtok_r.
kono
parents:
diff changeset
152 * runtime/main.c (gfstrtok_r): Fallback implementation of
kono
parents:
diff changeset
153 strtok_r.
kono
parents:
diff changeset
154 (find_addr2line): Use strtok_r to split PATH.
kono
parents:
diff changeset
155 * config.h.in: Regenerated.
kono
parents:
diff changeset
156 * configure: Regenerated.
kono
parents:
diff changeset
157
kono
parents:
diff changeset
158 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
159
kono
parents:
diff changeset
160 * ieee/ieee_helper.c (ieee_is_finite_*, ieee_is_nan_*,
kono
parents:
diff changeset
161 ieee_is_negative_*, ieee_is_normal_*, ieee_copy_sign_*,
kono
parents:
diff changeset
162 ieee_unordered_*, ieee_logb_*, ieee_rint_*, ieee_scalb_*,
kono
parents:
diff changeset
163 ieee_rem_*, ieee_next_after_*): Remove functions.
kono
parents:
diff changeset
164 * gfortran.map (GFORTRAN_1.5): Remove corresponding symbols.
kono
parents:
diff changeset
165
kono
parents:
diff changeset
166 2014-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
kono
parents:
diff changeset
167
kono
parents:
diff changeset
168 PR libgfortran/63460
kono
parents:
diff changeset
169 * io/unit.c (init_units): Initialize the DELIM flag to
kono
parents:
diff changeset
170 UNSPECIFIED for the STDIN unit so that the flag is
kono
parents:
diff changeset
171 correctly set later.
kono
parents:
diff changeset
172
kono
parents:
diff changeset
173 2014-10-01 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
174
kono
parents:
diff changeset
175 * intrinsics/pack_generic.c (pack_s_internal): Fix
kono
parents:
diff changeset
176 -Wmaybe-uninitialized warning.
kono
parents:
diff changeset
177 * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
kono
parents:
diff changeset
178 (unpack1_'rtype_code`): Likewise.
kono
parents:
diff changeset
179 * generated/unpack_*.m4: Regenerated.
kono
parents:
diff changeset
180
kono
parents:
diff changeset
181 2014-09-30 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
182
kono
parents:
diff changeset
183 * configure.ac (AM_CFLAGS): Add
kono
parents:
diff changeset
184 -Werror=implicit-function-declaration.
kono
parents:
diff changeset
185 * Makefile.in: Regenerated.
kono
parents:
diff changeset
186 * aclocal.m4: Regenerated.
kono
parents:
diff changeset
187 * configure: Regenerated.
kono
parents:
diff changeset
188
kono
parents:
diff changeset
189 2014-09-25 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
190
kono
parents:
diff changeset
191 * caf/libcaf.h (_gfortran_caf_co_broadcast): New prototype.
kono
parents:
diff changeset
192 * caf/single.c (_gfortran_caf_co_broadcast): New.
kono
parents:
diff changeset
193
kono
parents:
diff changeset
194 2014-09-18 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
195
kono
parents:
diff changeset
196 PR libfortran/62768
kono
parents:
diff changeset
197 * io/inquire.c (inquire_via_unit): Use gfc_unit.filename also when
kono
parents:
diff changeset
198 HAVE_TTYNAME{_R} is not defined.
kono
parents:
diff changeset
199
kono
parents:
diff changeset
200 2014-09-17 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
201
kono
parents:
diff changeset
202 PR libfortran/62768
kono
parents:
diff changeset
203 * io/io.h (gfc_unit): Store C string for the filename.
kono
parents:
diff changeset
204 * io/close.c (st_close): Use gfc_unit.filename.
kono
parents:
diff changeset
205 * io/inquire.c (inquire_via_unit): Likewise.
kono
parents:
diff changeset
206 * io/open.c (new_unit): Likewise.
kono
parents:
diff changeset
207 (already_open): Likewise, unlink file before freeing filename.
kono
parents:
diff changeset
208 * io/unit.c (init_units): Likewise.
kono
parents:
diff changeset
209 (close_unit_1): Likewise.
kono
parents:
diff changeset
210 (filename_from_unit): Likewise.
kono
parents:
diff changeset
211 * io/unix.c (compare_file_filename): Likewise.
kono
parents:
diff changeset
212 (find_file0): Likewise.
kono
parents:
diff changeset
213 (delete_file): Likewise.
kono
parents:
diff changeset
214
kono
parents:
diff changeset
215 2014-09-10 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
216
kono
parents:
diff changeset
217 * io/transfer.c (read_block_form): Fix pad status check (found by
kono
parents:
diff changeset
218 Thomas Schwinge with -Wlogical-not-parentheses).
kono
parents:
diff changeset
219
kono
parents:
diff changeset
220 2014-08-31 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
221
kono
parents:
diff changeset
222 * caf/libcaf.h (_gfortran_caf_send, _gfortran_caf_get,
kono
parents:
diff changeset
223 _gfortran_caf_sendget): Update prototype.
kono
parents:
diff changeset
224 * caf/single.c (_gfortran_caf_send, _gfortran_caf_get,
kono
parents:
diff changeset
225 _gfortran_caf_sendget): Handle may_require_tmp.
kono
parents:
diff changeset
226
kono
parents:
diff changeset
227 2014-08-20 Steven G. Kargl <kargl@gcc.gnu.org>
kono
parents:
diff changeset
228
kono
parents:
diff changeset
229 PR libgfortran/62188
kono
parents:
diff changeset
230 * m4/bessel.m4: Avoid indexing off the end of an array.
kono
parents:
diff changeset
231 * generated/bessel_r10.c: Regenerated.
kono
parents:
diff changeset
232 * generated/bessel_r16.c: Ditto.
kono
parents:
diff changeset
233 * generated/bessel_r4.c: Ditto.
kono
parents:
diff changeset
234 * generated/bessel_r8.c: Ditto.
kono
parents:
diff changeset
235
kono
parents:
diff changeset
236 2014-08-14 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
237
kono
parents:
diff changeset
238 * caf/libcaf.h (caf_register_t): Update for critical.
kono
parents:
diff changeset
239 (_gfortran_caf_critical, _gfortran_caf_end_critical): Remove.
kono
parents:
diff changeset
240 (_gfortran_caf_lock, _gfortran_caf_unlock): Add.
kono
parents:
diff changeset
241 * caf/single.c (_gfortran_caf_register): Handle locking
kono
parents:
diff changeset
242 variables.
kono
parents:
diff changeset
243 (_gfortran_caf_sendget): Re-name args for consistency.
kono
parents:
diff changeset
244 (_gfortran_caf_lock, _gfortran_caf_unlock): Add.
kono
parents:
diff changeset
245
kono
parents:
diff changeset
246 2014-08-04 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
247
kono
parents:
diff changeset
248 * runtime/memory.c (xmallocarray): Avoid division for the common case.
kono
parents:
diff changeset
249
kono
parents:
diff changeset
250 2014-07-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
kono
parents:
diff changeset
251
kono
parents:
diff changeset
252 PR libgfortran/61632
kono
parents:
diff changeset
253 * io/format.c (format_error): Avoid invalid string pointer by
kono
parents:
diff changeset
254 using the fortran string length values to generate error string.
kono
parents:
diff changeset
255 (parse_format): Allocate the null terminator for the format
kono
parents:
diff changeset
256 string.
kono
parents:
diff changeset
257
kono
parents:
diff changeset
258 2014-07-12 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
259
kono
parents:
diff changeset
260 * caf/libcaf.h (_gfortran_caf_atomic_define,
kono
parents:
diff changeset
261 _gfortran_caf_atomic_ref, _gfortran_caf_atomic_op,
kono
parents:
diff changeset
262 _gfortran_caf_atomic_cas): New prototypes.
kono
parents:
diff changeset
263 * caf/single.c (_gfortran_caf_atomic_define,
kono
parents:
diff changeset
264 _gfortran_caf_atomic_ref, _gfortran_caf_atomic_op,
kono
parents:
diff changeset
265 _gfortran_caf_atomic_cas): New functions.
kono
parents:
diff changeset
266
kono
parents:
diff changeset
267 2014-07-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
268
kono
parents:
diff changeset
269 * config/fpu-*.h (get_fpu_rounding_mode, set_fpu_rounding_mode,
kono
parents:
diff changeset
270 support_fpu_rounding_mode): Clean up, mark unreachable code as such.
kono
parents:
diff changeset
271
kono
parents:
diff changeset
272 2014-07-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
273
kono
parents:
diff changeset
274 * libgfortran.h (support_fpu_underflow_control,
kono
parents:
diff changeset
275 get_fpu_underflow_mode, set_fpu_underflow_mode): New prototypes.
kono
parents:
diff changeset
276 * config/fpu-*.h (support_fpu_underflow_control,
kono
parents:
diff changeset
277 get_fpu_underflow_mode, set_fpu_underflow_mode):
kono
parents:
diff changeset
278 New functions.
kono
parents:
diff changeset
279 * ieee/ieee_arithmetic.F90: Support underflow control.
kono
parents:
diff changeset
280
kono
parents:
diff changeset
281 2014-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
282
kono
parents:
diff changeset
283 * config/fpu-sysv.h (get_fpu_rounding_mode): Use FP_RN, FP_RP,
kono
parents:
diff changeset
284 FP_RM, FP_RZ unconditionally.
kono
parents:
diff changeset
285 (set_fpu_rounding_mode): Likewise.
kono
parents:
diff changeset
286
kono
parents:
diff changeset
287 2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
288
kono
parents:
diff changeset
289 * libgfortran.h: Assume __GNUC__.
kono
parents:
diff changeset
290
kono
parents:
diff changeset
291 2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
292
kono
parents:
diff changeset
293 * runtime/stop.c: Use C11 _Noreturn.
kono
parents:
diff changeset
294 * libgfortran.h: Use C11 _Noreturn in prototypes.
kono
parents:
diff changeset
295 Move REALPART, IMAGPART and COMPLEX_ASSIGN macros...
kono
parents:
diff changeset
296 * intrinsics/c99_functions.c: ... here.
kono
parents:
diff changeset
297
kono
parents:
diff changeset
298 2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
299
kono
parents:
diff changeset
300 * config/fpu-387.h, config/fpu-aix.h, config/fpu-sysv.h,
kono
parents:
diff changeset
301 config/fpu-glibc.h: Use static assertions.
kono
parents:
diff changeset
302
kono
parents:
diff changeset
303 2014-07-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
304
kono
parents:
diff changeset
305 * configure, config.h.in: Regenerate.
kono
parents:
diff changeset
306 * config/fpu-sysv.h: Include <assert.h>.
kono
parents:
diff changeset
307
kono
parents:
diff changeset
308 2014-07-02 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
309
kono
parents:
diff changeset
310 * config/fpu-glibc.h: Fix comment about FE_DENORMAL.
kono
parents:
diff changeset
311
kono
parents:
diff changeset
312 2014-07-02 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
313
kono
parents:
diff changeset
314 * configure.host (ieee_flags): Add -mieee for alpha*.
kono
parents:
diff changeset
315
kono
parents:
diff changeset
316 * config/fpu-glibc.h (support_fpu_rounding_mode): Correctly handle
kono
parents:
diff changeset
317 GFC_FPE_UPWARD, GFC_FPE_DOWNWARD and GFC_FPE_TOWARDZERO.
kono
parents:
diff changeset
318 * config/fpu-aix.h (support_fpu_rounding_mode): Ditto.
kono
parents:
diff changeset
319
kono
parents:
diff changeset
320 2014-06-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
321
kono
parents:
diff changeset
322 * config/fpu-387.h (my_fenv_t): Amend structure so it also works
kono
parents:
diff changeset
323 on mingw32.
kono
parents:
diff changeset
324
kono
parents:
diff changeset
325 2014-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
kono
parents:
diff changeset
326
kono
parents:
diff changeset
327 PR libgfortran/61640
kono
parents:
diff changeset
328 * io/list_read.c (next_char_internal): Adjust the read length to
kono
parents:
diff changeset
329 a single wide character. (eat_spaces): Add missing paren.
kono
parents:
diff changeset
330 * io/unix.c (mem_read4): Use the correct mem_alloc function for
kono
parents:
diff changeset
331 wide character internal reads.
kono
parents:
diff changeset
332
kono
parents:
diff changeset
333 2014-06-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
334
kono
parents:
diff changeset
335 PR fortran/29383
kono
parents:
diff changeset
336 * configure.host: Add checks for IEEE support, rework priorities.
kono
parents:
diff changeset
337 * configure.ac: Define IEEE_SUPPORT, check for fpsetsticky and
kono
parents:
diff changeset
338 fpresetsticky.
kono
parents:
diff changeset
339 * configure: Regenerate.
kono
parents:
diff changeset
340 * Makefile.am: Build new ieee files, install IEEE_* modules.
kono
parents:
diff changeset
341 * Makefile.in: Regenerate.
kono
parents:
diff changeset
342 * gfortran.map (GFORTRAN_1.6): Add new symbols.
kono
parents:
diff changeset
343 * libgfortran.h (get_fpu_trap_exceptions, set_fpu_trap_exceptions,
kono
parents:
diff changeset
344 support_fpu_trap, set_fpu_except_flags, support_fpu_flag,
kono
parents:
diff changeset
345 support_fpu_rounding_mode, get_fpu_state, set_fpu_state): New
kono
parents:
diff changeset
346 prototypes.
kono
parents:
diff changeset
347 * config/fpu-*.h (get_fpu_trap_exceptions,
kono
parents:
diff changeset
348 set_fpu_trap_exceptions, support_fpu_trap, set_fpu_except_flags,
kono
parents:
diff changeset
349 support_fpu_flag, support_fpu_rounding_mode, get_fpu_state,
kono
parents:
diff changeset
350 set_fpu_state): New functions.
kono
parents:
diff changeset
351 * ieee/ieee_features.F90: New file.
kono
parents:
diff changeset
352 * ieee/ieee_exceptions.F90: New file.
kono
parents:
diff changeset
353 * ieee/ieee_arithmetic.F90: New file.
kono
parents:
diff changeset
354 * ieee/ieee_helper.c: New file.
kono
parents:
diff changeset
355
kono
parents:
diff changeset
356 2014-06-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
kono
parents:
diff changeset
357
kono
parents:
diff changeset
358 PR libgfortran/61499
kono
parents:
diff changeset
359 * io/list_read.c (eat_spaces): Use a 'for' loop instead of
kono
parents:
diff changeset
360 'while' loop to skip the loop if there are no bytes left in the
kono
parents:
diff changeset
361 string. Only seek if actual spaces can be skipped.
kono
parents:
diff changeset
362
kono
parents:
diff changeset
363 2014-06-25 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
364
kono
parents:
diff changeset
365 * caf/single.c (assign_char4_from_char1, assign_char1_from_char4,
kono
parents:
diff changeset
366 convert_type): New static functions.
kono
parents:
diff changeset
367 (_gfortran_caf_get, _gfortran_caf_send): Use them.
kono
parents:
diff changeset
368
kono
parents:
diff changeset
369 2014-06-19 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
370
kono
parents:
diff changeset
371 * caf/single.c (_gfortran_caf_co_sum, _gfortran_caf_co_max,
kono
parents:
diff changeset
372 _gfortran_caf_co_min): Fix stat setting.
kono
parents:
diff changeset
373
kono
parents:
diff changeset
374 2014-06-17 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
375
kono
parents:
diff changeset
376 * caf/libcaf.h (gfc_descriptor_t): New typedef.
kono
parents:
diff changeset
377 (caf_vector_t): Update.
kono
parents:
diff changeset
378 (_gfortran_caf_co_sum, _gfortran_caf_co_max, _gfortran_caf_co_min):
kono
parents:
diff changeset
379 Remove vector-subscript argument.
kono
parents:
diff changeset
380 (_gfortran_caf_co_send, _gfortran_caf_co_get,
kono
parents:
diff changeset
381 _gfortran_caf_co_sendget): New.
kono
parents:
diff changeset
382 * caf/single.c (_gfortran_caf_co_sum, _gfortran_caf_co_max,
kono
parents:
diff changeset
383 _gfortran_caf_co_min): Remove vector-subscript argument.
kono
parents:
diff changeset
384 (_gfortran_caf_co_send, _gfortran_caf_co_get,
kono
parents:
diff changeset
385 _gfortran_caf_co_sendget): New.
kono
parents:
diff changeset
386
kono
parents:
diff changeset
387 2014-06-17 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
388
kono
parents:
diff changeset
389 * libgfortran.h (xmallocarray): New prototype.
kono
parents:
diff changeset
390 * runtime/memory.c (xmallocarray): New function.
kono
parents:
diff changeset
391 (xcalloc): Check for nonzero separately instead of multiplying.
kono
parents:
diff changeset
392 * generated/*.c: Regenerated.
kono
parents:
diff changeset
393 * intrinsics/cshift0.c (cshift0): Call xmallocarray instead of
kono
parents:
diff changeset
394 xmalloc.
kono
parents:
diff changeset
395 * intrinsics/eoshift0.c (eoshift0): Likewise.
kono
parents:
diff changeset
396 * intrinsics/eoshift2.c (eoshift2): Likewise.
kono
parents:
diff changeset
397 * intrinsics/pack_generic.c (pack_internal): Likewise.
kono
parents:
diff changeset
398 (pack_s_internal): Likewise.
kono
parents:
diff changeset
399 * intrinsics/reshape_generic.c (reshape_internal): Likewise.
kono
parents:
diff changeset
400 * intrinsics/spread_generic.c (spread_internal): Likewise.
kono
parents:
diff changeset
401 (spread_internal_scalar): Likewise.
kono
parents:
diff changeset
402 * intrinsics/string_intrinsics_inc.c (string_trim): Likewise.
kono
parents:
diff changeset
403 (string_minmax): Likewise.
kono
parents:
diff changeset
404 * intrinsics/transpose_generic.c (transpose_internal): Likewise.
kono
parents:
diff changeset
405 * intrinsics/unpack_generic.c (unpack_internal): Likewise.
kono
parents:
diff changeset
406 * io/list_read.c (nml_touch_nodes): Don't cast xmalloc return value.
kono
parents:
diff changeset
407 * io/transfer.c (st_set_nml_var): Call xmallocarray instead of
kono
parents:
diff changeset
408 xmalloc.
kono
parents:
diff changeset
409 * io/unit.c (get_internal_unit): Likewise.
kono
parents:
diff changeset
410 (filename_from_unit): Don't cast xmalloc return value.
kono
parents:
diff changeset
411 * io/write.c (nml_write_obj): Likewise, formatting.
kono
parents:
diff changeset
412 * m4/bessel.m4 (bessel_jn_r'rtype_kind`): Call xmallocarray
kono
parents:
diff changeset
413 instead of xmalloc.
kono
parents:
diff changeset
414 (besse_yn_r'rtype_kind`): Likewise.
kono
parents:
diff changeset
415 * m4/cshift1.m4 (cshift1): Likewise.
kono
parents:
diff changeset
416 * m4/eoshift1.m4 (eoshift1): Likewise.
kono
parents:
diff changeset
417 * m4/eoshift3.m4 (eoshift3): Likewise.
kono
parents:
diff changeset
418 * m4/iforeach.m4: Likewise.
kono
parents:
diff changeset
419 * m4/ifunction.m4: Likewise.
kono
parents:
diff changeset
420 * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code):
kono
parents:
diff changeset
421 Likewise.
kono
parents:
diff changeset
422 * m4/in_pack.m4 (internal_pack_'rtype_ccode`): Likewise.
kono
parents:
diff changeset
423 * m4/matmul.m4 (matmul_'rtype_code`): Likewise.
kono
parents:
diff changeset
424 * m4/matmull.m4 (matmul_'rtype_code`): Likewise.
kono
parents:
diff changeset
425 * m4/pack.m4 (pack_'rtype_code`): Likewise.
kono
parents:
diff changeset
426 * m4/reshape.m4 (reshape_'rtype_ccode`): Likewise.
kono
parents:
diff changeset
427 * m4/shape.m4 (shape_'rtype_kind`): Likewise.
kono
parents:
diff changeset
428 * m4/spread.m4 (spread_'rtype_code`): Likewise.
kono
parents:
diff changeset
429 (spread_scalar_'rtype_code`): Likewise.
kono
parents:
diff changeset
430 * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
kono
parents:
diff changeset
431 * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
kono
parents:
diff changeset
432 (unpack1_'rtype_code`): Likewise.
kono
parents:
diff changeset
433 * runtime/convert_char.c (convert_char1_to_char4): Likewise.
kono
parents:
diff changeset
434 (convert_char4_to_char1): Simplify.
kono
parents:
diff changeset
435 * runtime/environ.c (init_unformatted): Call xmallocarray instead
kono
parents:
diff changeset
436 of xmalloc.
kono
parents:
diff changeset
437 * runtime/in_pack_generic.c (internal_pack): Likewise.
kono
parents:
diff changeset
438
kono
parents:
diff changeset
439 2014-06-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
440
kono
parents:
diff changeset
441 PR libfortran/60468
kono
parents:
diff changeset
442 * configure.ac: Include <math.h> when checking for fp_except_t
kono
parents:
diff changeset
443 and fp_rnd_t types.
kono
parents:
diff changeset
444 * configure: Regenerate.
kono
parents:
diff changeset
445
kono
parents:
diff changeset
446 2014-06-08 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
447
kono
parents:
diff changeset
448 PR libfortran/56981
kono
parents:
diff changeset
449 * io/unix.h (struct stream_vtable): Add new member function,
kono
parents:
diff changeset
450 markeor.
kono
parents:
diff changeset
451 (smarkeor): New inline function.
kono
parents:
diff changeset
452 (flush_if_unbuffered): Remove prototype.
kono
parents:
diff changeset
453 * io/unix.c (raw_markeor): New function.
kono
parents:
diff changeset
454 (raw_vtable): Initialize markeor member.
kono
parents:
diff changeset
455 (buf_markeor): New function.
kono
parents:
diff changeset
456 (buf_vtable): Initialize markeor member.
kono
parents:
diff changeset
457 (mem_vtable): Likewise.
kono
parents:
diff changeset
458 (mem4_vtable): Likewise.
kono
parents:
diff changeset
459 (flush_if_unbuffered): Remove function.
kono
parents:
diff changeset
460 * io/transfer.c (next_record): Call smarkeor instead of
kono
parents:
diff changeset
461 flush_if_unbuffered.
kono
parents:
diff changeset
462
kono
parents:
diff changeset
463 2014-05-27 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
464
kono
parents:
diff changeset
465 * intrinsics/getcwd.c: Include stdlib.h.
kono
parents:
diff changeset
466
kono
parents:
diff changeset
467 2014-05-26 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
468
kono
parents:
diff changeset
469 * libgfortran.h (xrealloc): New prototype.
kono
parents:
diff changeset
470 * runtime/memory.c (xrealloc): New function.
kono
parents:
diff changeset
471 * io/fbuf.c (fbuf_alloc): Use xrealloc.
kono
parents:
diff changeset
472 * io/list_read.c (push_char_default): Likewise.
kono
parents:
diff changeset
473 (push_char4): Likewise.
kono
parents:
diff changeset
474
kono
parents:
diff changeset
475 2014-05-26 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
476
kono
parents:
diff changeset
477 PR libfortran/61310
kono
parents:
diff changeset
478 * intrinsics/ctime.c (strctime): Rename to gf_ctime, use snprintf
kono
parents:
diff changeset
479 instead of strftime.
kono
parents:
diff changeset
480 (fdate): Use gf_ctime.
kono
parents:
diff changeset
481 (fdate_sub): Likewise.
kono
parents:
diff changeset
482 (ctime): Likewise.
kono
parents:
diff changeset
483 (ctime_sub): Likewise.
kono
parents:
diff changeset
484
kono
parents:
diff changeset
485 2014-05-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
kono
parents:
diff changeset
486
kono
parents:
diff changeset
487 PR libgfortran/55117
kono
parents:
diff changeset
488 * io/list_read.c (extended_look_ahead): New helper function to
kono
parents:
diff changeset
489 scan the namelist name and look for matches with the new '+'
kono
parents:
diff changeset
490 extended type parent indicator. (str_comp_extended): New
kono
parents:
diff changeset
491 helper function to compare the namelist name with the varname
kono
parents:
diff changeset
492 namelist. (find_nml_name): Use the new helper functions to match
kono
parents:
diff changeset
493 the extended type varnames.
kono
parents:
diff changeset
494
kono
parents:
diff changeset
495 2014-05-23 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
496
kono
parents:
diff changeset
497 PR libfortran/61173
kono
parents:
diff changeset
498 * io/list_read.c (eat_spaces): If the next character pointed to
kono
parents:
diff changeset
499 is a space, don't seek, must be at the end.
kono
parents:
diff changeset
500
kono
parents:
diff changeset
501 2014-05-23 Hans-Peter Nilsson <hp@axis.com>
kono
parents:
diff changeset
502
kono
parents:
diff changeset
503 * configure.ac [with_newlib] (HAVE_STRNLEN, HAVE_STRNDUP): Define.
kono
parents:
diff changeset
504 * configure: Regenerate.
kono
parents:
diff changeset
505
kono
parents:
diff changeset
506 2014-05-23 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
507
kono
parents:
diff changeset
508 PR libfortran/60324
kono
parents:
diff changeset
509 * runtime/string.c: Include stdlib.h.
kono
parents:
diff changeset
510
kono
parents:
diff changeset
511 2014-05-22 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
512
kono
parents:
diff changeset
513 PR libfortran/60324
kono
parents:
diff changeset
514 * config.h.in: Regenerated.
kono
parents:
diff changeset
515 * configure: Regenerated.
kono
parents:
diff changeset
516 * configure.ac (AC_CHECK_FUNCS_ONCE): Check for strnlen and
kono
parents:
diff changeset
517 strndup.
kono
parents:
diff changeset
518 * libgfortran.h (fc_strdup): New prototype.
kono
parents:
diff changeset
519 * runtime/string.c (strnlen): New fallback function.
kono
parents:
diff changeset
520 (strndup): New fallback function.
kono
parents:
diff changeset
521 (fc_strdup): New function.
kono
parents:
diff changeset
522 * io/close.c (st_close): Use fc_strdup.
kono
parents:
diff changeset
523 * io/open.c (new_unit): Likewise.
kono
parents:
diff changeset
524 (already_open): Likewise.
kono
parents:
diff changeset
525 * io/unit.c (filename_from_unit): Likewise.
kono
parents:
diff changeset
526 * io/unix.c (unpack_filename): Remove function.
kono
parents:
diff changeset
527 (regular_file): Rename to regular_file2, add path argument.
kono
parents:
diff changeset
528 (regular_file): New function calling regular_file2.
kono
parents:
diff changeset
529 (compare_file_filename): Use fc_strdup.
kono
parents:
diff changeset
530 (find_file): Likewise.
kono
parents:
diff changeset
531 (delete_file): Likewise.
kono
parents:
diff changeset
532 (file_exists): Likewise.
kono
parents:
diff changeset
533 (file_size): Likewise.
kono
parents:
diff changeset
534 (inquire_sequential): Likewise.
kono
parents:
diff changeset
535 (inquire_direct): Likewise.
kono
parents:
diff changeset
536 (inquire_formatted): Likewise.
kono
parents:
diff changeset
537 (inquire_access): Likewise.
kono
parents:
diff changeset
538 * io/unix.h (unpack_filename): Remove prototype.
kono
parents:
diff changeset
539 * runtime/main.c (please_free_exe_path_when_done): Change type to
kono
parents:
diff changeset
540 bool.
kono
parents:
diff changeset
541 (store_exe_path): Use malloced buffer, grow as needed.
kono
parents:
diff changeset
542
kono
parents:
diff changeset
543 2014-05-17 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
544
kono
parents:
diff changeset
545 PR libfortran/52539
kono
parents:
diff changeset
546 * io/io.h (gfc_unit): New function pointers *next_char_fn_ptr
kono
parents:
diff changeset
547 and *push_char_fn_ptr.
kono
parents:
diff changeset
548 *io/list_read.c (next_char): Create macro with this name to call
kono
parents:
diff changeset
549 the new function pointer. Split the original next_char function
kono
parents:
diff changeset
550 into three new functions. (next_char_default, next_char_internal,
kono
parents:
diff changeset
551 next_char_utf8): New functions. (push_char): Create macro with
kono
parents:
diff changeset
552 this name to call new function pointer. Split the original
kono
parents:
diff changeset
553 push_char into three new functions. (push_char_default,
kono
parents:
diff changeset
554 push_char_internal, push_char4): New functions. (set_workers):
kono
parents:
diff changeset
555 New function to initilize the function pointers depending on the
kono
parents:
diff changeset
556 type of IO to be performed. (list_formatted_read_scalar): Use
kono
parents:
diff changeset
557 set_workers function. (finish_list_read): Likewise.
kono
parents:
diff changeset
558 (namelist_read): Likewise.
kono
parents:
diff changeset
559 (nml_get_obj_data): Use push_char_default.
kono
parents:
diff changeset
560
kono
parents:
diff changeset
561 2014-05-16 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
562
kono
parents:
diff changeset
563 PR libfortran/61187
kono
parents:
diff changeset
564 * io/unix.c (raw_close): Check if s->fd is -1.
kono
parents:
diff changeset
565 (fd_to_stream): Check return value of fstat(), handle error.
kono
parents:
diff changeset
566
kono
parents:
diff changeset
567 2014-05-12 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
568
kono
parents:
diff changeset
569 PR libfortran/61035
kono
parents:
diff changeset
570 * intrinsics/getcwd.c (getcwd_i4_sub): Avoid potentially large
kono
parents:
diff changeset
571 stack allocation, avoid extra copying in the common case.
kono
parents:
diff changeset
572
kono
parents:
diff changeset
573 2014-05-12 Janne Blomqvist <jb@gcc.gnu.org>
kono
parents:
diff changeset
574
kono
parents:
diff changeset
575 * configure.ac (AM_CFLAGS): Use -std=gnu11.
kono
parents:
diff changeset
576 (CFLAGS): Likewise.
kono
parents:
diff changeset
577 * configure: Regenerated.
kono
parents:
diff changeset
578
kono
parents:
diff changeset
579 2014-05-11 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
580
kono
parents:
diff changeset
581 * caf/libcaf.h (_gfortran_caf_num_images): Change type of
kono
parents:
diff changeset
582 second argument to int.
kono
parents:
diff changeset
583 * caf/mpi.c (_gfortran_caf_num_images): Ditto.
kono
parents:
diff changeset
584 * caf/single.c (_gfortran_caf_num_images): Ditto.
kono
parents:
diff changeset
585
kono
parents:
diff changeset
586 2014-05-08 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
587
kono
parents:
diff changeset
588 * caf/libcaf.h (caf_vector_t, _gfortran_caf_co_sum,
kono
parents:
diff changeset
589 _gfortran_caf_co_min, _gfortran_caf_co_max): Declare
kono
parents:
diff changeset
590 * caf/single.c
kono
parents:
diff changeset
591
kono
parents:
diff changeset
592 2014-05-06 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
593
kono
parents:
diff changeset
594 PR libfortran/61049
kono
parents:
diff changeset
595 * io/list_read.c (list_formatted_read_scalar): Use eat_separator
kono
parents:
diff changeset
596 and delete extraneous code.
kono
parents:
diff changeset
597
kono
parents:
diff changeset
598 2014-04-30 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
599
kono
parents:
diff changeset
600 * caf/libcaf.h (_gfortran_caf_this_image, _gfortran_caf_num_images):
kono
parents:
diff changeset
601 New prototypes.
kono
parents:
diff changeset
602 (_gfortran_caf_init): Change prototype.
kono
parents:
diff changeset
603 (mpi_token_t): New typedef.
kono
parents:
diff changeset
604 (TOKEN): New define.
kono
parents:
diff changeset
605 * caf/mpi.c (_gfortran_caf_this_image, _gfortran_caf_num_images):
kono
parents:
diff changeset
606 New functions.
kono
parents:
diff changeset
607 (_gfortran_caf_init): Update.
kono
parents:
diff changeset
608 (_gfortran_caf_finalize, _gfortran_caf_register,
kono
parents:
diff changeset
609 _gfortran_caf_deregister): Use mpi_token_t.
kono
parents:
diff changeset
610 * caf/single.c (_gfortran_caf_this_image, _gfortran_caf_num_images):
kono
parents:
diff changeset
611 New functions.
kono
parents:
diff changeset
612 (_gfortran_caf_init): Update.
kono
parents:
diff changeset
613 (_gfortran_caf_finalize, _gfortran_caf_register,
kono
parents:
diff changeset
614 _gfortran_caf_deregister): Use mpi_token_t, simplify.
kono
parents:
diff changeset
615
kono
parents:
diff changeset
616 2014-04-26 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
617
kono
parents:
diff changeset
618 PR libfortran/52539
kono
parents:
diff changeset
619 * io/list_read.c: Add uchar typedef. (push_char4): New function
kono
parents:
diff changeset
620 to save kind=4 character. (next_char_utf8): New function to read
kono
parents:
diff changeset
621 a single UTF-8 encoded character value. (read_chracter): Update
kono
parents:
diff changeset
622 to use the new functions for reading UTF-8 strings.
kono
parents:
diff changeset
623 (list_formatted_read_scalar): Update to handle list directed
kono
parents:
diff changeset
624 reads of UTF-8 strings. (nml_read_obj): Likewise update for
kono
parents:
diff changeset
625 UTF-8 strings in namelists.
kono
parents:
diff changeset
626 * io/write.c (nml_write_obj): Add kind=4 character support for
kono
parents:
diff changeset
627 namelist writes.
kono
parents:
diff changeset
628
kono
parents:
diff changeset
629 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
kono
parents:
diff changeset
630
kono
parents:
diff changeset
631 * configure.ac: Quote usage of ac_cv_func_clock_gettime in if test.
kono
parents:
diff changeset
632 * configure: Regenerate.
kono
parents:
diff changeset
633
kono
parents:
diff changeset
634 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
635
kono
parents:
diff changeset
636 * config/fpu-387.h [__sun__ && __svr4__]: Remove SSE execution
kono
parents:
diff changeset
637 check.
kono
parents:
diff changeset
638
kono
parents:
diff changeset
639 2014-04-11 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
640
kono
parents:
diff changeset
641 PR libfortran/60810
kono
parents:
diff changeset
642 io/unit.c (is_trim_ok): If internal unit is array, do not trim.
kono
parents:
diff changeset
643
kono
parents:
diff changeset
644 2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
645
kono
parents:
diff changeset
646 PR libfortran/60148
kono
parents:
diff changeset
647 * io/transfer.c (data_transfer_init): If std= was specified, set
kono
parents:
diff changeset
648 delim status to DELIM_NONE of no other was specified.
kono
parents:
diff changeset
649
kono
parents:
diff changeset
650 2014-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
kono
parents:
diff changeset
651
kono
parents:
diff changeset
652 * configure.ac: Check for presence of fcntl.
kono
parents:
diff changeset
653 * configure: Regenerate.
kono
parents:
diff changeset
654 * config.h.in: Regenerate.
kono
parents:
diff changeset
655 * io/unix.c (set_close_on_exec): Check for HAVE_FCNTL.
kono
parents:
diff changeset
656
kono
parents:
diff changeset
657 2014-03-17 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
658
kono
parents:
diff changeset
659 PR libfortran/48600
kono
parents:
diff changeset
660 * io/list_read.c (list_formatted_read_scalar): Do not use
kono
parents:
diff changeset
661 eat_separator. Explicitly set the comma and end-of-line flags.
kono
parents:
diff changeset
662 Check for END condition from finish_separator.
kono
parents:
diff changeset
663
kono
parents:
diff changeset
664 2014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
665
kono
parents:
diff changeset
666 PR libfortran/58324
kono
parents:
diff changeset
667 * io/list_read.c (finish_list_read): Read one character to check
kono
parents:
diff changeset
668 for the end of the file. If it is the end, then issue the file
kono
parents:
diff changeset
669 end error message. If not, use eat_line to reach the end
kono
parents:
diff changeset
670 without giving error. The next attempt to read will then
kono
parents:
diff changeset
671 issue the error as described above.
kono
parents:
diff changeset
672
kono
parents:
diff changeset
673 2014-03-12 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
674
kono
parents:
diff changeset
675 PR libfortran/38199
kono
parents:
diff changeset
676 * io/read.c (read_decimal): Quickly skip spaces to avoid calls
kono
parents:
diff changeset
677 to next_char.
kono
parents:
diff changeset
678 * io/unit.c (is_trim_ok): New helper function to check various
kono
parents:
diff changeset
679 conditions to see if its OK to trim the internal unit string.
kono
parents:
diff changeset
680 (get_internal_unit): Use LEN_TRIM to shorten selected internal
kono
parents:
diff changeset
681 unit strings for optimizing READ. Enable this optimization for
kono
parents:
diff changeset
682 formatted READ.
kono
parents:
diff changeset
683 * io/list_read.c (finish_list_read): Don't call eat_line for
kono
parents:
diff changeset
684 internal units.
kono
parents:
diff changeset
685
kono
parents:
diff changeset
686 2014-03-08 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
687
kono
parents:
diff changeset
688 PR libfortran/38199
kono
parents:
diff changeset
689 * io/list_read.c (next_char): Mark unlikely error checks.
kono
parents:
diff changeset
690 (eat_spaces): For character array reading, skip ahead over
kono
parents:
diff changeset
691 spaces rather than call next_char multiple times.
kono
parents:
diff changeset
692
kono
parents:
diff changeset
693 2014-03-08 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
694
kono
parents:
diff changeset
695 * libgfortran.h (unlikely, likely): Add usage comment.
kono
parents:
diff changeset
696
kono
parents:
diff changeset
697 2014-03-08 Dominique d'Humieres <dominiq@lps.ens.fr>
kono
parents:
diff changeset
698
kono
parents:
diff changeset
699 PR libgfortran/60128
kono
parents:
diff changeset
700 * io/write_float.def (output_float): Remove unused variable
kono
parents:
diff changeset
701 nzero_real. Replace a double space with a single one.
kono
parents:
diff changeset
702 (determine_en_precision): Fix wrong handling of the EN format.
kono
parents:
diff changeset
703
kono
parents:
diff changeset
704 2014-03-03 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
705
kono
parents:
diff changeset
706 PR libfortran/60148
kono
parents:
diff changeset
707 * io/inquire.c (inquire_via_unit): In the case of
kono
parents:
diff changeset
708 DELIM_UNSPECIFIED set inquire return string to "NONE".
kono
parents:
diff changeset
709 * io/list_read.c (read_character): In the case of DELIM_NONE and
kono
parents:
diff changeset
710 namelists, complete the character read using the namelist
kono
parents:
diff changeset
711 variable length.
kono
parents:
diff changeset
712 * io/open.c (new_unit): Don't set delim status to none if not
kono
parents:
diff changeset
713 specified so that DELIM_UNSPECIFIED can be used later.
kono
parents:
diff changeset
714 * io/transfer.c (data_transfer_init): For namelist I/O, if the
kono
parents:
diff changeset
715 unit delim status is unspecified set the current status to quote.
kono
parents:
diff changeset
716 Otherwise, set current status to the unit status.
kono
parents:
diff changeset
717 * io/unit.c (get_internel_unit, init_unit): Remember to set
kono
parents:
diff changeset
718 flags_delim initially to DELIM_UNSPECIFIED so defaults come out
kono
parents:
diff changeset
719 correctly.
kono
parents:
diff changeset
720 * io/write.c (write_character): Add a new function argument
kono
parents:
diff changeset
721 "mode" to signify that raw output is to be used vs output with
kono
parents:
diff changeset
722 delimiters. If the mode is set to DELIM (1) proceed with
kono
parents:
diff changeset
723 delimiters. (list_formatted_write_scalar): Write the separator
kono
parents:
diff changeset
724 only if a delimiter was previously specified. Update the call to
kono
parents:
diff changeset
725 write_character with the mode argument given.
kono
parents:
diff changeset
726 (namelist_write_newline): Use the mode argument. (nml_write_obj):
kono
parents:
diff changeset
727 Use the mode argument. Remove use of tmp_delim. Write the
kono
parents:
diff changeset
728 semi-colon or comma correctly only when needed with using
kono
parents:
diff changeset
729 delimiters. Cleanup whitespace.
kono
parents:
diff changeset
730 (namelist_write): If delim is not specified in namelist I/O,
kono
parents:
diff changeset
731 default to using quotes. Get rid of the tmp_delim variable and
kono
parents:
diff changeset
732 use the new mode argument in write_character.
kono
parents:
diff changeset
733
kono
parents:
diff changeset
734 2014-02-21 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
735
kono
parents:
diff changeset
736 PR fortran/60286
kono
parents:
diff changeset
737 * libgfortran/io/inquire.c (yes, no): New static const char vars.
kono
parents:
diff changeset
738 (inquire_via_unit): Use them. Use OPEN mode instead of using
kono
parents:
diff changeset
739 POSIX's access to query about write=, read= and readwrite=.
kono
parents:
diff changeset
740
kono
parents:
diff changeset
741 2014-01-20 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
742 Dominique d'Humieres <dominiq@lps.ens.fr>
kono
parents:
diff changeset
743
kono
parents:
diff changeset
744 * io/write_float.def (output_float): Remove inadvertent test
kono
parents:
diff changeset
745 code from previous patch.
kono
parents:
diff changeset
746
kono
parents:
diff changeset
747 2014-01-19 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
748 Dominique d'Humieres <dominiq@lps.ens.fr>
kono
parents:
diff changeset
749
kono
parents:
diff changeset
750 PR libfortran/59771
kono
parents:
diff changeset
751 PR libfortran/59774
kono
parents:
diff changeset
752 PR libfortran/59836
kono
parents:
diff changeset
753 * io/write_float.def (output_float): Fix wrong handling of the
kono
parents:
diff changeset
754 Fw.0 format.
kono
parents:
diff changeset
755 (output_float_FMT_G_): Fixes rounding issues with -m32.
kono
parents:
diff changeset
756
kono
parents:
diff changeset
757 2014-01-11 Jerry DeLisle <jvdelisle@gcc.gnu>
kono
parents:
diff changeset
758 Dominique d'Humieres <dominiq@lps.ens.fr>
kono
parents:
diff changeset
759 Steven G. Kargl <kargl@gcc.gnu.org>
kono
parents:
diff changeset
760
kono
parents:
diff changeset
761 PR libfortran/59700
kono
parents:
diff changeset
762 PR libfortran/59764
kono
parents:
diff changeset
763 * io/io.h (struct st_parameter_dt): Assign expanded_read flag to
kono
parents:
diff changeset
764 unused bit. Define new variable line_buffer_pos.
kono
parents:
diff changeset
765 * io/list_read.c (free_saved, next_char, l_push_char,
kono
parents:
diff changeset
766 read_logical, read_real): Replace use of item_count with
kono
parents:
diff changeset
767 line_buffer_pos for line_buffer look ahead.
kono
parents:
diff changeset
768 (read_logical, read_integer, parse_real, read_real, check_type):
kono
parents:
diff changeset
769 Adjust location of free_line to after generating error messages
kono
parents:
diff changeset
770 to retain the correct item count for the message.
kono
parents:
diff changeset
771
kono
parents:
diff changeset
772 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
kono
parents:
diff changeset
773
kono
parents:
diff changeset
774 Update copyright years
kono
parents:
diff changeset
775
kono
parents:
diff changeset
776 Copyright (C) 2014 Free Software Foundation, Inc.
kono
parents:
diff changeset
777
kono
parents:
diff changeset
778 Copying and distribution of this file, with or without modification,
kono
parents:
diff changeset
779 are permitted in any medium without royalty provided the copyright
kono
parents:
diff changeset
780 notice and this notice are preserved.