1 2016-08-19 Janne Blomqvist <jb@gcc.gnu.org>
3 * intrinsics/random.c (xor_keys): New array with "secret" keys.
4 (scramble_seed): XOR given seed with xor_keys array rather than
6 (unscramble_seed): Remove function.
7 (random_seed_i4): Use new scramble_seed.
8 (random_seed_i8): Likewise.
10 2016-08-19 Janne Blomqvist <jb@gcc.gnu.org>
12 * intrinsics/random.c (master_init): New variable.
13 (init_rand_state): Move below getosrandom (), maybe initialize
15 (random_seed_i4): If called with no arguments, set master_init to
16 false, and reinitialize. If called with PUT=, set master_init to
18 (random_seed_i8): Likewise.
20 2016-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
22 * intrinsics/random.c: Include <stdlib.h>.
24 2016-08-11 Janne Blomqvist <jb@gcc.gnu.org>
26 * intrinsics/random.c: Replace KISS with xorshift1024* using
28 * runtime/main.c (init): Don't call random_seed_i4.
30 2016-07-22 Andre Vehreschild <vehre@gcc.gnu.org>
32 * caf/libcaf.h: Add parameter stat to caf_get() and
33 caf_send()'s function prototypes.
34 * caf/single.c (_gfortran_caf_get): Implement reporting
35 error using stat instead of abort().
36 (_gfortran_caf_send): Same.
37 (_gfortran_caf_sendget): Use NULL for stat when calling
40 2016-06-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
43 * io/write.c: Cleaned up whitespace.
44 (write_d, write_e, write_f, write_es, write_en): Use new helper function
45 write_float_0. (write_float_0): New helper function.
46 (get_precision, select_buffer, select_string, write_float_string): New
47 helper functions used in remaining float writing functions. Helper function
48 write_float_string now contains code for writing to kind=4 character
50 (write_real): Modified to establish working buffers at this level and to
51 use new helper functions.
52 (write_real_g0): Likewise modified.
53 (write_complex): Likewise modified. Gets both float strings before
54 output so that final lengths can be determined which allows right
55 justifying the complex number with no intervening spaces.
56 * io/write_float.def (build_float_string): Renamed from previosly
57 output_float, modified to use buffers passed in from higher functions,
58 builds a null terminated string of the floating point value. Character
59 kind=4 code eliminated.
60 (write_infnan): Likewise modified to use incoming buffers and eliminate
62 (OUTPUT_FLOAT_FMT_G): Deleted, functionality moved into FORMAT_FLOAT.
63 (FORMAT_FLOAT): Renamed macro from WRITE_FLOAT. Use build_float_string.
64 (get_float_string): Renamed from write_float, uses FORMAT_FLOAT macro.
65 Buffer allocation removed, now at higher level.
67 2016-05-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
70 * io/list_read (eat_spaces): Eat '\r' as part of spaces.
72 2016-04-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
75 * io/list_read (check_buffers): Add '\r' to check for end of line.
77 2016-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
78 Dominique d'Humieres <dominiq@lps.ens.fr>
81 * io/write_float.def: Fix PF format for negative values of the scale
84 2016-03-28 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
86 * caf/libcaf.h: caf_stop_numeric and caf_stop_str prototype.
87 * caf/single.c: _gfortran_caf_stop_numeric and
88 _gfortran_caf_stop_str implementation.
90 2016-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
93 * io/list_read.c (read_real): If digit is missing from exponent issue
94 an error. (parse_real): Likewise and adjusted error message to clarify
95 it is part of a complex number.
96 (nml_read_obj): Bump item count and add comment that this is used to
97 identify which item in a namelist read has a problem.
99 2016-02-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
102 * io/list_read.c (push_char4): Fix the pointer usage for xrealloc.
104 2016-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
107 * io/list_read.c: Entire file trailing spaces removed.
108 (CASE_SEPARATORS): Remove '!'.
109 (is_separator): Add namelist mode as condition with '!'.
110 (push_char): Remove un-needed memset. (push_char4): Likewise and remove
111 'new' pointer. (eat_separator): Remove un-needed use of notify_std.
112 (read_logical): If '!' bang encountered when not in namelist mode got
113 bad_logical to give an error. (read_integer): Likewise reject '!'.
114 (read_character): Remove condition testing c = '!' which is now inside
115 the is_separator macro. (parse_real): Reject '!' unless in namelist mode.
116 (read_complex): Reject '!' unless in namelist mode. (read_real): Likewise
119 2016-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
122 * io/list_read.c (read_character): Remove code related to DELIM_NONE.
124 2016-01-23 John David Anglin <danglin@gcc.gnu.org>
127 * runtime/backtrace.c: Include gthr.h.
128 (show_backtrace): Use __gthread_active_p() to determine whether threads
129 are active. Return if lbstate is NULL.
131 2016-01-15 Jakub Jelinek <jakub@redhat.com>
133 * intrinsics/execute_command_line.c (set_cmdstat): Use "%s", msg
134 instead of msg to avoid -Wformat-security warning.
136 2016-01-04 Jakub Jelinek <jakub@redhat.com>
138 Update copyright years.
140 Copyright (C) 2016 Free Software Foundation, Inc.
142 Copying and distribution of this file, with or without modification,
143 are permitted in any medium without royalty provided the copyright
144 notice and this notice are preserved.