1 2013-06-24 Tobias Burnus <burnus@net-b.de>
3 * configure.ac: Check for fp_except and fp_except_t.
4 * config/fpu-sysv.h: Conditionally use either type.
5 * configure: Regenerate.
6 * config.h.in: Regenerate.
8 2013-06-21 Eric Botcazou <ebotcazou@adacore.com>
10 * config/fpu-sysv.h (get_fpu_except_flags): Fix typo.
12 2013-06-20 Uros Bizjak <ubizjak@gmail.com>
14 * config/fpu-387.h (_FPU_MASK_ALL): New.
16 (set_fpu): Use fstcw to store x87 FPU control word. Use fnclex to
17 clear stalled exception flags. Correctly clear stalled SSE
18 exception flags. Simplify code.
19 (get_fpu_except_flags): Simplify code.
21 2013-06-20 Tobias Burnus <burnus@net-b.de>
24 * io/list_read.c (next_char, eat_separator): Don't set EOL for \r.
26 2013-06-19 Uros Bizjak <ubizjak@gmail.com>
28 * config/fpu-387.h: Use __asm__ and __volatile__ consistently.
29 (get_fpu_except_flags): Initialize result.
31 2013-06-17 Tobias Burnus <burnus@net-b.de>
33 * libgfortran.h (compile_options_t) Add fpe_summary.
34 (get_fpu_except_flags): New prototype.
35 * runtime/compile_options.c (set_options, init_compile_options):
37 * runtime/stop.c (report_exception): New function.
38 (stop_numeric, stop_numeric_f08, stop_string, error_stop_string,
39 error_stop_numeric): Call it.
40 * config/fpu-387.h (get_fpu_except_flags): New function.
41 * config/fpu-aix.h (get_fpu_except_flags): New function.
42 * config/fpu-generic.h (get_fpu_except_flags): New function.
43 * config/fpu-glibc.h (get_fpu_except_flags): New function.
44 * config/fpu-sysv.h (get_fpu_except_flags): New function.
45 * configure.ac: Check for fpxcp.h.
46 * configure: Regenerate.
47 * config.h.in: Regenerate.
49 2013-06-01 Tobias Burnus <burnus@net-b.de>
52 * io/write_float.def (ISFINITE2Q, ISFINITE2, ISFINITE2L, ISFINITE,
53 SIGNBIT2Q, SIGNBIT2, SIGNBIT2L, SIGNBIT, ISNAN2Q, ISNAN2, ISNAN2L,
55 (output_float_FMT_G_,WRITE_FLOAT): Use them.
57 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
59 * acinclude.m4 (libgfor_cv_have_as_needed): Check for -z ignore, too.
60 * configure: Regenerate.
62 2013-05-05 David Edelsohn <dje.gcc@gmail.com>
64 * caf/libcaf.h (_gfortran_caf_critical): Add a prototype.
65 (_gfortran_caf_end_critical): Same.
67 2013-05-04 David Edelsohn <dje.gcc@gmail.com>
69 * runtime/environ.c: Include unistd.h.
70 * runtime/pause.c: Test HAVE_UNISTD_H.
71 * runtime/stop.c: Same.
74 * io/read.c (si_max): Protect declaration of value.
76 2013-04-29 Janne Blomqvist <jb@gcc.gnu.org>
78 * intrinsics/system_clock (gf_gettime_mono): Use variable
79 resolution for fractional seconds argument.
80 (system_clock_4): Simplify, update for gf_gettime_mono change.
81 (system_clock_8): Likewise.
83 2013-04-29 Janne Blomqvist <jb@gcc.gnu.org>
86 * io/transfer.c (next_record_w_unf): First fix head marker, then
88 (next_record): Call flush_if_unbuffered.
89 * io/unix.c (struct unix_stream): Add field unbuffered.
90 (flush_if_unbuffered): New function.
91 (fd_to_stream): New argument.
92 (open_external): Fix fd_to_stream call.
93 (input_stream): Likewise.
94 (output_stream): Likewise.
95 (error_stream): Likewise.
96 * io/unix.h (flush_if_unbuffered): New prototype.
98 2013-04-28 Janne Blomqvist <jb@gcc.gnu.org>
100 * intrinsics/system_clock.c (system_clock_4): Fix sign error in
103 2013-04-15 Tobias Burnus <burnus@net-b.de>
105 * list_read.c (finish_separator): Initialize variable.
107 2013-04-15 Janne Blomqvist <jb@gcc.gnu.org>
110 * intrinsics/time_1.h: Check __CYGWIN__ in addition to
112 * intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
113 _POSIX_MONOTONIC_CLOCK as well.
114 (system_clock_4): Use GetTickCount on Windows.
115 (system_clock_8): Use QueryPerformanceCounter and
116 QueryPerformanceCounterFrequency on Windows.
118 2013-04-04 Tobias Burnus <burnus@net-b.de>
121 * io/list_read.c (check_type): Fix kind checking for COMPLEX.
123 2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
126 * io/list_read.c (nml_read_obj): Do not reset the read error flag
127 inside nml_read_obj. If the read error flag is found set just exit.
128 Fix some whitespace on comments.
129 (nml_read_obj_data): Reset the read error flag before the first call
132 2013-03-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
135 * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
136 when checking for EOF. Use error return mechanism when EOF detected.
137 Do not return false unless parse_err_msg and parse_err_msg_size have
138 been set. Use hit_eof.
139 (nml_get_obj_data): Likewise use the correct error mechanism.
140 * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
143 2013-03-29 Tobias Burnus <burnus@net-b.de>
146 * io/format.c (parse_format_list): Also cache FMT_STRING.
147 (parse_format): Update call.
149 2013-03-29 Tobias Burnus <burnus@net-b.de>
152 * io/format.c (parse_format): With caching, copy
154 (save_parsed_format): Use dtp->format directy without
157 2013-03-29 Tobias Burnus <burnus@net-b.de>
160 * io/list_read.c (nml_query): Only abort when
162 (namelist_read): Add goto instead of falling through.
164 2013-03-25 Tilo Schwarz <tilo@tilo-schwarz.de>
167 * io/list_read.c (nml_parse_qualifier): To check for a derived type
168 don't use the namelist head element type but the current element type.
169 (nml_get_obj_data): Add current namelist element type to
170 nml_parse_qualifier call.
172 2013-03-24 Tobias Burnus <burnus@net-b.de>
175 * io/list_read.c (read_real): Fix EOF diagnostic.
177 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de>
180 * io/list_read.c (nml_read_obj): Don't end the component loop on a
181 nested derived type, but continue with the next loop iteration.
182 (nml_get_obj_data): Don't move the first_nl pointer further in the
183 list if a qualifier was found.
185 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de>
188 * io/open.c (st_open): Raise error for unit number < 0 only if
189 unit number does not exist already.
191 2013-03-19 Janne Blomqvist <jb@gcc.gnu.org>
193 * libgfortran.h: Include stdbool.h.
195 (notify_std): Change return type to bool.
196 * intrinsics/chmod.c: Don't include stdbool.h.
197 * intrinsics/execute_command_line.c: Likewise.
198 * io/format.c: Likewise.
199 * io/list_read.c (nml_parse_qualifier): Change return type to bool.
200 (nml_read_obj): Likewise.
201 (nml_get_obj_data): Likewise.
202 * io/transfer.c (read_block_form): Fix comment.
203 (write_buf): Change return type to bool.
204 * io/write.c: Don't include stdbool.h.
205 * io/write_float.def (output_float): Change return type to bool.
206 (output_float_FMT_G_ ## x): Change type of result variable.
207 * runtime/error.c (notify_std): Change return type to bool.
209 2013-03-11 Tobias Burnus <burnus@net-b.de>
211 * io/transfer.c (read_block_direct): Correct condition.
212 * intrinsics/execute_command_line.c (execute_command_line):
213 Remove dead code for the HAVE_FORK case.
215 2013-02-21 Janne Blomqvist <jb@gcc.gnu.org>
218 * io/open.c (test_endfile): Call stell only if size != 0.
219 * io/unix.c (raw_tell): Revert r194679.
220 (raw_size): Return size field only for regular files, otherwise 0.
222 2013-02-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
225 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
227 * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
228 * intrinsics/c99_functions.c: Likewise.
229 * configure: Rebuilt.
230 * config.h.in: Rebuilt.
232 2013-02-06 Janus Weil <janus@gcc.gnu.org>
235 * runtime/in_pack_generic.c (internal_pack): Return if base_addr is
238 2013-01-23 Janne Blomqvist <jb@gcc.gnu.org>
240 * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX
241 instead of reverse_memcpy.
242 * io/io.h (reverse_memcpy): Remove prototype.
243 * io/transfer.c (reverse_memcpy): Make static, move towards
245 (bswap_array): New function.
246 (unformatted_read): Use bswap_array to byte swap the data
248 (unformatted_write): Use a larger temp buffer and bswap_array.
249 (us_read): Use __builtin_bswapXX instead of reverse_memcpy.
250 (write_us_marker): Likewise.
252 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
254 Update copyright years.
256 2013-01-06 Tobias Burnus <burnus@net-b.de>
259 * intrinsics/env.c (get_environment_variable_i8): Don't use
260 uninitialized variable.
262 2013-01-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
265 * io/list_read.c (read_real): Do not call hit_eof when EOF can be
266 treated as a value separator.
267 (parse_real): Likewise.
268 (read_logical): Likewise.
269 (read_character): Likewise.
270 (read_complex): Likewise.
272 Copyright (C) 2013 Free Software Foundation, Inc.
274 Copying and distribution of this file, with or without modification,
275 are permitted in any medium without royalty provided the copyright
276 notice and this notice are preserved.