1 2016-06-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * io/write.c: Cleaned up whitespace.
5 (write_d, write_e, write_f, write_es, write_en): Use new helper function
6 write_float_0. (write_float_0): New helper function.
7 (get_precision, select_buffer, select_string, write_float_string): New
8 helper functions used in remaining float writing functions. Helper function
9 write_float_string now contains code for writing to kind=4 character
11 (write_real): Modified to establish working buffers at this level and to
12 use new helper functions.
13 (write_real_g0): Likewise modified.
14 (write_complex): Likewise modified. Gets both float strings before
15 output so that final lengths can be determined which allows right
16 justifying the complex number with no intervening spaces.
17 * io/write_float.def (build_float_string): Renamed from previosly
18 output_float, modified to use buffers passed in from higher functions,
19 builds a null terminated string of the floating point value. Character
20 kind=4 code eliminated.
21 (write_infnan): Likewise modified to use incoming buffers and eliminate
23 (OUTPUT_FLOAT_FMT_G): Deleted, functionality moved into FORMAT_FLOAT.
24 (FORMAT_FLOAT): Renamed macro from WRITE_FLOAT. Use build_float_string.
25 (get_float_string): Renamed from write_float, uses FORMAT_FLOAT macro.
26 Buffer allocation removed, now at higher level.
28 2016-05-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
31 * io/list_read (eat_spaces): Eat '\r' as part of spaces.
33 2016-04-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
36 * io/list_read (check_buffers): Add '\r' to check for end of line.
38 2016-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
39 Dominique d'Humieres <dominiq@lps.ens.fr>
42 * io/write_float.def: Fix PF format for negative values of the scale
45 2016-03-28 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
47 * caf/libcaf.h: caf_stop_numeric and caf_stop_str prototype.
48 * caf/single.c: _gfortran_caf_stop_numeric and
49 _gfortran_caf_stop_str implementation.
51 2016-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
54 * io/list_read.c (read_real): If digit is missing from exponent issue
55 an error. (parse_real): Likewise and adjusted error message to clarify
56 it is part of a complex number.
57 (nml_read_obj): Bump item count and add comment that this is used to
58 identify which item in a namelist read has a problem.
60 2016-02-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
63 * io/list_read.c (push_char4): Fix the pointer usage for xrealloc.
65 2016-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
68 * io/list_read.c: Entire file trailing spaces removed.
69 (CASE_SEPARATORS): Remove '!'.
70 (is_separator): Add namelist mode as condition with '!'.
71 (push_char): Remove un-needed memset. (push_char4): Likewise and remove
72 'new' pointer. (eat_separator): Remove un-needed use of notify_std.
73 (read_logical): If '!' bang encountered when not in namelist mode got
74 bad_logical to give an error. (read_integer): Likewise reject '!'.
75 (read_character): Remove condition testing c = '!' which is now inside
76 the is_separator macro. (parse_real): Reject '!' unless in namelist mode.
77 (read_complex): Reject '!' unless in namelist mode. (read_real): Likewise
80 2016-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
83 * io/list_read.c (read_character): Remove code related to DELIM_NONE.
85 2016-01-23 John David Anglin <danglin@gcc.gnu.org>
88 * runtime/backtrace.c: Include gthr.h.
89 (show_backtrace): Use __gthread_active_p() to determine whether threads
90 are active. Return if lbstate is NULL.
92 2016-01-15 Jakub Jelinek <jakub@redhat.com>
94 * intrinsics/execute_command_line.c (set_cmdstat): Use "%s", msg
95 instead of msg to avoid -Wformat-security warning.
97 2016-01-04 Jakub Jelinek <jakub@redhat.com>
99 Update copyright years.
101 Copyright (C) 2016 Free Software Foundation, Inc.
103 Copying and distribution of this file, with or without modification,
104 are permitted in any medium without royalty provided the copyright
105 notice and this notice are preserved.