Add -Werror=implicit-function-declaration to AM_CFLAGS.
[official-gcc.git] / libgfortran / ChangeLog
blobaac86662797c60e91ad402b87a76832ae6b395b4
1 2014-09-30  Janne Blomqvist  <jb@gcc.gnu.org>
3         * configure.ac (AM_CFLAGS): Add
4         -Werror=implicit-function-declaration.
5         * Makefile.in: Regenerated.
6         * aclocal.m4: Regenerated.
7         * configure: Regenerated.
9 2014-09-25  Tobias Burnus  <burnus@net-b.de>
11         * caf/libcaf.h (_gfortran_caf_co_broadcast): New prototype.
12         * caf/single.c (_gfortran_caf_co_broadcast): New.
14 2014-09-18  Janne Blomqvist  <jb@gcc.gnu.org>
16         PR libfortran/62768
17         * io/inquire.c (inquire_via_unit): Use gfc_unit.filename also when
18         HAVE_TTYNAME{_R} is not defined.
20 2014-09-17  Janne Blomqvist  <jb@gcc.gnu.org>
22         PR libfortran/62768
23         * io/io.h (gfc_unit): Store C string for the filename.
24         * io/close.c (st_close): Use gfc_unit.filename.
25         * io/inquire.c (inquire_via_unit): Likewise.
26         * io/open.c (new_unit): Likewise.
27         (already_open): Likewise, unlink file before freeing filename.
28         * io/unit.c (init_units): Likewise.
29         (close_unit_1): Likewise.
30         (filename_from_unit): Likewise.
31         * io/unix.c (compare_file_filename): Likewise.
32         (find_file0): Likewise.
33         (delete_file): Likewise.
35 2014-09-10  Janne Blomqvist  <jb@gcc.gnu.org>
37         * io/transfer.c (read_block_form): Fix pad status check (found by
38         Thomas Schwinge with -Wlogical-not-parentheses).
40 2014-08-31  Tobias Burnus  <burnus@net-b.de>
42         * caf/libcaf.h (_gfortran_caf_send, _gfortran_caf_get,
43         _gfortran_caf_sendget): Update prototype.
44         * caf/single.c (_gfortran_caf_send, _gfortran_caf_get,
45         _gfortran_caf_sendget): Handle may_require_tmp.
47 2014-08-20  Steven G. Kargl  <kargl@gcc.gnu.org>
49         PR libgfortran/62188
50         * m4/bessel.m4: Avoid indexing off the end of an array.
51         * generated/bessel_r10.c: Regenerated.
52         * generated/bessel_r16.c: Ditto.
53         * generated/bessel_r4.c: Ditto.
54         * generated/bessel_r8.c: Ditto.
56 2014-08-14  Tobias Burnus  <burnus@net-b.de>
58         * caf/libcaf.h (caf_register_t): Update for critical.
59         (_gfortran_caf_critical, _gfortran_caf_end_critical): Remove.
60         (_gfortran_caf_lock, _gfortran_caf_unlock): Add.
61         * caf/single.c (_gfortran_caf_register): Handle locking
62         variables.
63         (_gfortran_caf_sendget): Re-name args for consistency.
64         (_gfortran_caf_lock, _gfortran_caf_unlock): Add.
66 2014-08-04  Jakub Jelinek  <jakub@redhat.com>
68         * runtime/memory.c (xmallocarray): Avoid division for the common case.
70 2014-07-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
72         PR libgfortran/61632
73         * io/format.c (format_error): Avoid invalid string pointer by
74         using the fortran string length values to generate error string.
75         (parse_format): Allocate the null terminator for the format
76         string.
78 2014-07-12  Tobias Burnus  <burnus@net-b.de>
80         * caf/libcaf.h (_gfortran_caf_atomic_define,
81         _gfortran_caf_atomic_ref, _gfortran_caf_atomic_op,
82         _gfortran_caf_atomic_cas): New prototypes.
83         * caf/single.c (_gfortran_caf_atomic_define,
84         _gfortran_caf_atomic_ref, _gfortran_caf_atomic_op,
85         _gfortran_caf_atomic_cas): New functions.
87 2014-07-10  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
89         * config/fpu-*.h (get_fpu_rounding_mode, set_fpu_rounding_mode,
90         support_fpu_rounding_mode): Clean up, mark unreachable code as such.
92 2014-07-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
94         * libgfortran.h (support_fpu_underflow_control,
95         get_fpu_underflow_mode, set_fpu_underflow_mode): New prototypes.
96         * config/fpu-*.h (support_fpu_underflow_control,
97         get_fpu_underflow_mode, set_fpu_underflow_mode):
98         New functions.
99         * ieee/ieee_arithmetic.F90: Support underflow control.
101 2014-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
103         * config/fpu-sysv.h (get_fpu_rounding_mode): Use FP_RN, FP_RP,
104         FP_RM, FP_RZ unconditionally.
105         (set_fpu_rounding_mode): Likewise.
107 2014-07-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
109         * libgfortran.h: Assume __GNUC__.
111 2014-07-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
113         * runtime/stop.c: Use C11 _Noreturn.
114         * libgfortran.h: Use C11 _Noreturn in prototypes.
115         Move REALPART, IMAGPART and COMPLEX_ASSIGN macros...
116         * intrinsics/c99_functions.c: ... here.
118 2014-07-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
120         * config/fpu-387.h, config/fpu-aix.h, config/fpu-sysv.h,
121         config/fpu-glibc.h: Use static assertions.
123 2014-07-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
125         * configure, config.h.in: Regenerate.
126         * config/fpu-sysv.h: Include <assert.h>.
128 2014-07-02  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
130         * config/fpu-glibc.h: Fix comment about FE_DENORMAL.
132 2014-07-02  Uros Bizjak  <ubizjak@gmail.com>
134         * configure.host (ieee_flags): Add -mieee for alpha*.
136         * config/fpu-glibc.h (support_fpu_rounding_mode): Correctly handle
137         GFC_FPE_UPWARD, GFC_FPE_DOWNWARD and GFC_FPE_TOWARDZERO.
138         * config/fpu-aix.h (support_fpu_rounding_mode): Ditto.
140 2014-06-29  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
142         * config/fpu-387.h (my_fenv_t): Amend structure so it also works
143         on mingw32.
145 2014-06-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
147         PR libgfortran/61640
148         * io/list_read.c (next_char_internal): Adjust the read length to
149         a single wide character. (eat_spaces): Add missing paren.
150         * io/unix.c (mem_read4): Use the correct mem_alloc function for
151         wide character internal reads.
153 2014-06-28  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
155         PR fortran/29383
156         * configure.host: Add checks for IEEE support, rework priorities.
157         * configure.ac: Define IEEE_SUPPORT, check for fpsetsticky and
158         fpresetsticky.
159         * configure: Regenerate.
160         * Makefile.am: Build new ieee files, install IEEE_* modules.
161         * Makefile.in: Regenerate.
162         * gfortran.map (GFORTRAN_1.6): Add new symbols.
163         * libgfortran.h (get_fpu_trap_exceptions, set_fpu_trap_exceptions,
164         support_fpu_trap, set_fpu_except_flags, support_fpu_flag,
165         support_fpu_rounding_mode, get_fpu_state, set_fpu_state): New
166         prototypes.
167         * config/fpu-*.h (get_fpu_trap_exceptions,
168         set_fpu_trap_exceptions, support_fpu_trap, set_fpu_except_flags,
169         support_fpu_flag, support_fpu_rounding_mode, get_fpu_state,
170         set_fpu_state): New functions.
171         * ieee/ieee_features.F90: New file.
172         * ieee/ieee_exceptions.F90: New file.
173         * ieee/ieee_arithmetic.F90: New file.
174         * ieee/ieee_helper.c: New file.
176 2014-06-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
178         PR libgfortran/61499
179         * io/list_read.c (eat_spaces): Use a 'for' loop instead of
180         'while' loop to skip the loop if there are no bytes left in the
181         string. Only seek if actual spaces can be skipped.
183 2014-06-25  Tobias Burnus  <burnus@net-b.de>
185         * caf/single.c (assign_char4_from_char1, assign_char1_from_char4,
186         convert_type): New static functions.
187         (_gfortran_caf_get, _gfortran_caf_send): Use them.
189 2014-06-19  Tobias Burnus  <burnus@net-b.de>
191         * caf/single.c (_gfortran_caf_co_sum, _gfortran_caf_co_max,
192         _gfortran_caf_co_min): Fix stat setting.
194 2014-06-17  Tobias Burnus  <burnus@net-b.de>
196         * caf/libcaf.h (gfc_descriptor_t): New typedef.
197         (caf_vector_t): Update.
198         (_gfortran_caf_co_sum, _gfortran_caf_co_max, _gfortran_caf_co_min):
199         Remove vector-subscript argument.
200         (_gfortran_caf_co_send, _gfortran_caf_co_get,
201         _gfortran_caf_co_sendget): New.
202         * caf/single.c (_gfortran_caf_co_sum, _gfortran_caf_co_max,
203         _gfortran_caf_co_min): Remove vector-subscript argument.
204         (_gfortran_caf_co_send, _gfortran_caf_co_get,
205         _gfortran_caf_co_sendget): New.
207 2014-06-17  Janne Blomqvist  <jb@gcc.gnu.org>
209         * libgfortran.h (xmallocarray): New prototype.
210         * runtime/memory.c (xmallocarray): New function.
211         (xcalloc): Check for nonzero separately instead of multiplying.
212         * generated/*.c: Regenerated.
213         * intrinsics/cshift0.c (cshift0): Call xmallocarray instead of
214         xmalloc.
215         * intrinsics/eoshift0.c (eoshift0): Likewise.
216         * intrinsics/eoshift2.c (eoshift2): Likewise.
217         * intrinsics/pack_generic.c (pack_internal): Likewise.
218         (pack_s_internal): Likewise.
219         * intrinsics/reshape_generic.c (reshape_internal): Likewise.
220         * intrinsics/spread_generic.c (spread_internal): Likewise.
221         (spread_internal_scalar): Likewise.
222         * intrinsics/string_intrinsics_inc.c (string_trim): Likewise.
223         (string_minmax): Likewise.
224         * intrinsics/transpose_generic.c (transpose_internal): Likewise.
225         * intrinsics/unpack_generic.c (unpack_internal): Likewise.
226         * io/list_read.c (nml_touch_nodes): Don't cast xmalloc return value.
227         * io/transfer.c (st_set_nml_var): Call xmallocarray instead of
228         xmalloc.
229         * io/unit.c (get_internal_unit): Likewise.
230         (filename_from_unit): Don't cast xmalloc return value.
231         * io/write.c (nml_write_obj): Likewise, formatting.
232         * m4/bessel.m4 (bessel_jn_r'rtype_kind`): Call xmallocarray
233         instead of xmalloc.
234         (besse_yn_r'rtype_kind`): Likewise.
235         * m4/cshift1.m4 (cshift1): Likewise.
236         * m4/eoshift1.m4 (eoshift1): Likewise.
237         * m4/eoshift3.m4 (eoshift3): Likewise.
238         * m4/iforeach.m4: Likewise.
239         * m4/ifunction.m4: Likewise.
240         * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code):
241         Likewise.
242         * m4/in_pack.m4 (internal_pack_'rtype_ccode`): Likewise.
243         * m4/matmul.m4 (matmul_'rtype_code`): Likewise.
244         * m4/matmull.m4 (matmul_'rtype_code`): Likewise.
245         * m4/pack.m4 (pack_'rtype_code`): Likewise.
246         * m4/reshape.m4 (reshape_'rtype_ccode`): Likewise.
247         * m4/shape.m4 (shape_'rtype_kind`): Likewise.
248         * m4/spread.m4 (spread_'rtype_code`): Likewise.
249         (spread_scalar_'rtype_code`): Likewise.
250         * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
251         * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
252         (unpack1_'rtype_code`): Likewise.
253         * runtime/convert_char.c (convert_char1_to_char4): Likewise.
254         (convert_char4_to_char1): Simplify.
255         * runtime/environ.c (init_unformatted): Call xmallocarray instead
256         of xmalloc.
257         * runtime/in_pack_generic.c (internal_pack): Likewise.
259 2014-06-15  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
261         PR libfortran/60468
262         * configure.ac: Include <math.h> when checking for fp_except_t
263         and fp_rnd_t types.
264         * configure: Regenerate.
266 2014-06-08  Janne Blomqvist  <jb@gcc.gnu.org>
268         PR libfortran/56981
269         * io/unix.h (struct stream_vtable): Add new member function,
270         markeor.
271         (smarkeor): New inline function.
272         (flush_if_unbuffered): Remove prototype.
273         * io/unix.c (raw_markeor): New function.
274         (raw_vtable): Initialize markeor member.
275         (buf_markeor): New function.
276         (buf_vtable): Initialize markeor member.
277         (mem_vtable): Likewise.
278         (mem4_vtable): Likewise.
279         (flush_if_unbuffered): Remove function.
280         * io/transfer.c (next_record): Call smarkeor instead of
281         flush_if_unbuffered.
283 2014-05-27  Uros Bizjak  <ubizjak@gmail.com>
285         * intrinsics/getcwd.c: Include stdlib.h.
287 2014-05-26  Janne Blomqvist  <jb@gcc.gnu.org>
289         * libgfortran.h (xrealloc): New prototype.
290         * runtime/memory.c (xrealloc): New function.
291         * io/fbuf.c (fbuf_alloc): Use xrealloc.
292         * io/list_read.c (push_char_default): Likewise.
293         (push_char4): Likewise.
295 2014-05-26  Janne Blomqvist  <jb@gcc.gnu.org>
297         PR libfortran/61310
298         * intrinsics/ctime.c (strctime): Rename to gf_ctime, use snprintf
299         instead of strftime.
300         (fdate): Use gf_ctime.
301         (fdate_sub): Likewise.
302         (ctime): Likewise.
303         (ctime_sub): Likewise.
305 2014-05-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
307         PR libgfortran/55117
308         * io/list_read.c (extended_look_ahead): New helper function to
309         scan the namelist name and look for matches with the new '+'
310         extended type parent indicator.  (str_comp_extended): New
311         helper function to compare the namelist name with the varname
312         namelist. (find_nml_name): Use the new helper functions to match
313         the extended type varnames.
315 2014-05-23  Jerry DeLisle  <jvdelisle@gcc.gnu>
317         PR libfortran/61173
318         * io/list_read.c (eat_spaces): If the next character pointed to
319         is a space, don't seek, must be at the end.
321 2014-05-23  Hans-Peter Nilsson  <hp@axis.com>
323         * configure.ac [with_newlib] (HAVE_STRNLEN, HAVE_STRNDUP): Define.
324         * configure: Regenerate.
326 2014-05-23  Janne Blomqvist  <jb@gcc.gnu.org>
328         PR libfortran/60324
329         * runtime/string.c: Include stdlib.h.
331 2014-05-22  Janne Blomqvist  <jb@gcc.gnu.org>
333         PR libfortran/60324
334         * config.h.in: Regenerated.
335         * configure: Regenerated.
336         * configure.ac (AC_CHECK_FUNCS_ONCE): Check for strnlen and
337         strndup.
338         * libgfortran.h (fc_strdup): New prototype.
339         * runtime/string.c (strnlen): New fallback function.
340         (strndup): New fallback function.
341         (fc_strdup): New function.
342         * io/close.c (st_close): Use fc_strdup.
343         * io/open.c (new_unit): Likewise.
344         (already_open): Likewise.
345         * io/unit.c (filename_from_unit): Likewise.
346         * io/unix.c (unpack_filename): Remove function.
347         (regular_file): Rename to regular_file2, add path argument.
348         (regular_file): New function calling regular_file2.
349         (compare_file_filename): Use fc_strdup.
350         (find_file): Likewise.
351         (delete_file): Likewise.
352         (file_exists): Likewise.
353         (file_size): Likewise.
354         (inquire_sequential): Likewise.
355         (inquire_direct): Likewise.
356         (inquire_formatted): Likewise.
357         (inquire_access): Likewise.
358         * io/unix.h (unpack_filename): Remove prototype.
359         * runtime/main.c (please_free_exe_path_when_done): Change type to
360         bool.
361         (store_exe_path): Use malloced buffer, grow as needed.
363 2014-05-17  Jerry DeLisle  <jvdelisle@gcc.gnu>
365         PR libfortran/52539
366         * io/io.h (gfc_unit): New function pointers *next_char_fn_ptr
367         and *push_char_fn_ptr.
368         *io/list_read.c (next_char): Create macro with this name to call
369         the new function pointer. Split the original next_char function
370         into three new functions. (next_char_default, next_char_internal,
371         next_char_utf8): New functions. (push_char): Create macro with
372         this name to call new function pointer. Split the original
373         push_char into three new functions. (push_char_default,
374         push_char_internal, push_char4): New functions. (set_workers):
375         New function to initilize the function pointers depending on the
376         type of IO to be performed. (list_formatted_read_scalar): Use
377         set_workers function. (finish_list_read): Likewise.
378         (namelist_read): Likewise.
379         (nml_get_obj_data): Use push_char_default.
381 2014-05-16  Janne Blomqvist  <jb@gcc.gnu.org>
383         PR libfortran/61187
384         * io/unix.c (raw_close): Check if s->fd is -1.
385         (fd_to_stream): Check return value of fstat(), handle error.
387 2014-05-12  Janne Blomqvist  <jb@gcc.gnu.org>
389         PR libfortran/61035
390         * intrinsics/getcwd.c (getcwd_i4_sub): Avoid potentially large
391         stack allocation, avoid extra copying in the common case.
393 2014-05-12  Janne Blomqvist  <jb@gcc.gnu.org>
395         * configure.ac (AM_CFLAGS): Use -std=gnu11.
396         (CFLAGS): Likewise.
397         * configure: Regenerated.
399 2014-05-11  Tobias Burnus  <burnus@net-b.de>
401         * caf/libcaf.h (_gfortran_caf_num_images): Change type of
402         second argument to int.
403         * caf/mpi.c (_gfortran_caf_num_images): Ditto.
404         * caf/single.c (_gfortran_caf_num_images): Ditto.
406 2014-05-08  Tobias Burnus  <burnus@net-b.de>
408         * caf/libcaf.h (caf_vector_t, _gfortran_caf_co_sum,
409         _gfortran_caf_co_min, _gfortran_caf_co_max): Declare
410         * caf/single.c
412 2014-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu>
414         PR libfortran/61049
415         * io/list_read.c (list_formatted_read_scalar): Use eat_separator
416         and delete extraneous code.
418 2014-04-30  Tobias Burnus  <burnus@net-b.de>
420         * caf/libcaf.h (_gfortran_caf_this_image, _gfortran_caf_num_images):
421         New prototypes.
422         (_gfortran_caf_init): Change prototype.
423         (mpi_token_t): New typedef.
424         (TOKEN): New define.
425         * caf/mpi.c (_gfortran_caf_this_image, _gfortran_caf_num_images):
426         New functions.
427         (_gfortran_caf_init): Update.
428         (_gfortran_caf_finalize, _gfortran_caf_register,
429         _gfortran_caf_deregister): Use mpi_token_t.
430         * caf/single.c (_gfortran_caf_this_image, _gfortran_caf_num_images):
431         New functions.
432         (_gfortran_caf_init): Update.
433         (_gfortran_caf_finalize, _gfortran_caf_register,
434         _gfortran_caf_deregister): Use mpi_token_t, simplify.
436 2014-04-26  Jerry DeLisle  <jvdelisle@gcc.gnu>
438         PR libfortran/52539
439         * io/list_read.c: Add uchar typedef. (push_char4): New function
440         to save kind=4 character. (next_char_utf8): New function to read
441         a single UTF-8 encoded character value. (read_chracter): Update
442         to use the new functions for reading UTF-8 strings.
443         (list_formatted_read_scalar): Update to handle list directed
444         reads of UTF-8 strings. (nml_read_obj): Likewise update for
445         UTF-8 strings in namelists.
446         * io/write.c (nml_write_obj): Add kind=4 character support for
447         namelist writes.
449 2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
451         * configure.ac: Quote usage of ac_cv_func_clock_gettime in if test.
452         * configure: Regenerate.
454 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
456         * config/fpu-387.h [__sun__ && __svr4__]: Remove SSE execution
457         check.
459 2014-04-11  Jerry DeLisle  <jvdelisle@gcc.gnu>
461         PR libfortran/60810
462         io/unit.c (is_trim_ok): If internal unit is array, do not trim.
464 2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu>
466         PR libfortran/60148
467         * io/transfer.c (data_transfer_init): If std= was specified, set
468         delim status to DELIM_NONE of no other was specified.
470 2014-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
472         * configure.ac: Check for presence of fcntl.
473         * configure: Regenerate.
474         * config.h.in: Regenerate.
475         * io/unix.c (set_close_on_exec): Check for HAVE_FCNTL.
477 2014-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu>
479         PR libfortran/48600
480         * io/list_read.c (list_formatted_read_scalar): Do not use
481         eat_separator. Explicitly set the comma and end-of-line flags.
482         Check for END condition from finish_separator.
484 2014-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu>
486         PR libfortran/58324
487         * io/list_read.c (finish_list_read): Read one character to check
488         for the end of the file.  If it is the end, then issue the file
489         end error message.  If not, use eat_line to reach the end
490         without giving error.  The next attempt to read will then
491         issue the error as described above.
493 2014-03-12  Jerry DeLisle  <jvdelisle@gcc.gnu>
495         PR libfortran/38199
496         * io/read.c (read_decimal): Quickly skip spaces to avoid calls
497         to next_char.
498         * io/unit.c (is_trim_ok): New helper function to check various
499         conditions to see if its OK to trim the internal unit string.
500         (get_internal_unit): Use LEN_TRIM to shorten selected internal
501         unit strings for optimizing READ. Enable this optimization for
502         formatted READ.
503         * io/list_read.c (finish_list_read): Don't call eat_line for
504         internal units.
506 2014-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu>
508         PR libfortran/38199
509         * io/list_read.c (next_char): Mark unlikely error checks.
510         (eat_spaces): For character array reading, skip ahead over
511         spaces rather than call next_char multiple times.
513 2014-03-08  Tobias Burnus  <burnus@net-b.de>
515         * libgfortran.h (unlikely, likely): Add usage comment.
517 2014-03-08  Dominique d'Humieres  <dominiq@lps.ens.fr>
519         PR libgfortran/60128
520         * io/write_float.def (output_float): Remove unused variable
521         nzero_real. Replace a double space with a single one.
522         (determine_en_precision): Fix wrong handling of the EN format.
524 2014-03-03  Jerry DeLisle  <jvdelisle@gcc.gnu>
526         PR libfortran/60148
527         * io/inquire.c (inquire_via_unit): In the case of
528         DELIM_UNSPECIFIED set inquire return string to "NONE".
529         * io/list_read.c (read_character): In the case of DELIM_NONE and
530         namelists, complete the character read using the namelist
531         variable length.
532         * io/open.c (new_unit): Don't set delim status to none if not
533         specified so that DELIM_UNSPECIFIED can be used later.
534         * io/transfer.c (data_transfer_init): For namelist I/O, if the
535         unit delim status is unspecified set the current status to quote.
536         Otherwise, set current status to the unit status.
537         * io/unit.c (get_internel_unit, init_unit): Remember to set
538         flags_delim initially to DELIM_UNSPECIFIED so defaults come out
539         correctly.
540         * io/write.c (write_character): Add a new function argument
541         "mode" to signify that raw output is to be used vs output with
542         delimiters. If the mode is set to DELIM (1) proceed with
543         delimiters. (list_formatted_write_scalar): Write the separator
544         only if a delimiter was previously specified. Update the call to
545         write_character with the mode argument given.
546         (namelist_write_newline): Use the mode argument. (nml_write_obj):
547         Use the mode argument. Remove use of tmp_delim. Write the
548         semi-colon or comma correctly only when needed with using
549         delimiters. Cleanup whitespace.
550         (namelist_write): If delim is not specified in namelist I/O,
551         default to using quotes. Get rid of the tmp_delim variable and
552         use the new mode argument in write_character.
554 2014-02-21  Tobias Burnus  <burnus@net-b.de>
556         PR fortran/60286
557         * libgfortran/io/inquire.c (yes, no): New static const char vars.
558         (inquire_via_unit): Use them. Use OPEN mode instead of using
559         POSIX's access to query about write=, read= and readwrite=.
561 2014-01-20  Jerry DeLisle  <jvdelisle@gcc.gnu>
562             Dominique d'Humieres  <dominiq@lps.ens.fr>
564         * io/write_float.def (output_float): Remove inadvertent test
565         code from previous patch.
567 2014-01-19  Jerry DeLisle  <jvdelisle@gcc.gnu>
568             Dominique d'Humieres  <dominiq@lps.ens.fr>
570         PR libfortran/59771
571         PR libfortran/59774
572         PR libfortran/59836
573         * io/write_float.def (output_float): Fix wrong handling of the
574         Fw.0 format.
575         (output_float_FMT_G_): Fixes rounding issues with -m32.
577 2014-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu>
578             Dominique d'Humieres  <dominiq@lps.ens.fr>
579             Steven G. Kargl  <kargl@gcc.gnu.org>
581         PR libfortran/59700
582         PR libfortran/59764
583         * io/io.h (struct st_parameter_dt): Assign expanded_read flag to
584         unused bit. Define new variable line_buffer_pos.
585         * io/list_read.c (free_saved, next_char, l_push_char,
586         read_logical, read_real): Replace use of item_count with
587         line_buffer_pos for line_buffer look ahead.
588         (read_logical, read_integer, parse_real, read_real, check_type):
589         Adjust location of free_line to after generating error messages
590         to retain the correct item count for the message.
592 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
594         Update copyright years
596 Copyright (C) 2013-2014 Free Software Foundation, Inc.
598 Copying and distribution of this file, with or without modification,
599 are permitted in any medium without royalty provided the copyright
600 notice and this notice are preserved.