1 2011-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * io/write_float.def (output_float): Move handling of w = 0 to after
5 output rounding. Check for zero and set zero_flag accordingly. Set
6 width according to zero_flag. Add better comments.
8 2011-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
11 * io/list_read.c (namelist_read): Intialize the error string buffere.
12 If pprev_nl was used during the previous namelist read and the rank
13 was zero, reset the pointer to NULL for the next namelist read.
15 2011-02-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
18 * unix.c (fallback_access): Fix file descriptor leaks.
20 2011-02-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
22 * acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable
23 tested in configure.host.
24 * configure: Regenerate.
26 2011-02-24 Janne Blomqvist <jb@gcc.gnu.org>
29 * config.h.in: Regenerated.
30 * configure: Regenerated.
31 * configure.ac: Remove checks for ctime and ctime_r, add check for
33 * intrinsics/date_and_time.c (localtime_r): Move fallback
34 implementation to time_1.h.
35 * intrinsics/time_1.h (localtime_r): Fallback implementation.
36 * intrinsics/ctime.c: Include time_1.h.
37 (ctime_r): Remove fallback implementation.
38 (strctime): New function.
39 (fdate): Use strctime instead of ctime_r.
40 (fdate_sub): Likewise.
42 (ctime_sub): Likewise.
44 2011-02-24 Jakub Jelinek <jakub@redhat.com>
47 * io/transfer.c (read_sf): Call fbuf_getptr only at the end,
48 and subtract n, dtp->u.p.sf_seen_eor and seen_comma from it.
50 2011-02-24 Janne Blomqvist <jb@gcc.gnu.org>
53 * configure.ac: Add test for POSIX getpwuid_r.
54 * intrinsics/getlog.c (getlog): CPP test for
55 HAVE_POSIX_GETPWUID_R.
56 * config.h.in: Regenerated.
57 * configure: Regenerated.
59 2011-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
62 * io/write_float.def (output_float): Remove special case handling of
65 2011-02-23 Janne Blomqvist <jb@gcc.gnu.org>
66 Jerry DeLisle <jvdelisle@gcc.gnu.org>
69 * io/fbuf.h (fbuf_getptr): New inline function.
70 * io/transfer.c (read_sf): Use fbuf_getptr and fbuf_getc to scan
71 through the string instead of fbuf_read.
73 2011-02-22 Tobias Burnus <burnus@net-b.de>
74 Kai-Uwe Eckhardt <kuehro@gmx.de>
77 * intrinsics/c99_functions.c (roundl): Make C valid for
80 2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
83 * io/write_float.def (output_float): Adjust width for F0.d to
84 allow space for negative signs on zero.
86 2011-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
89 * io/list_read.c (read_logical): Check for end of line before calling
90 eat_line. (read_integer): Likewise. (parse_real): Don't unget the
91 separator. Check for end of line before calling eat_line.
92 (read_complex): Allow line-end before and after parenthesis and comma.
93 Check for end of line before calling eat_line. (read_real): Check for
94 end of line before calling eat_line.
96 2011-02-16 Jakub Jelinek <jakub@redhat.com>
99 * gfortran.map (GFORTRAN_1.4): Export
100 _gfortran_{m,s}i{all,any,parity}_i{1,2,4,8,16} and
101 _gfortran_{cshift0,eoshift{0,2}}_16_char4.
103 2011-02-15 Tobias Burnus <burnus@net-b.de>
107 * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from
108 libquadmath, which uses more features.
109 * configure: Regenerate.
111 2011-02-14 Jakub Jelinek <jakub@redhat.com>
114 * io/write_float.def (DTOAQ): Use quadmath_snprintf instead of
115 quadmath_flt128tostr.
116 * io/transfer128.c (tmp2): Initialize to quadmath_snprintf instead
117 of quadmath_flt128tostr.
119 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
121 * Makefile.in: Regenerate.
122 * aclocal.m4: Likewise.
123 * configure: Likewise.
125 2011-02-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
128 * io/write_float.def (output_float): Eliminate some redundant code.
129 Adjust width for case of F0.X for values of zero and all other values.
130 Expand cases where '*' is set to give cleaner results.
132 2011-02-05 Janne Blomqvist <jb@gcc.gnu.org>
135 * intrinsics/time_1.h (GF_CLOCK_MONOTONIC): Move to system_clock.c.
136 (weak_gettime): Likewise.
137 (gf_gettime): Change API, move weak_gettime() usage to
139 * intrinsics/system_clock.c (GTHREAD_USE_WEAK): Define.
140 (gf_gettime_mono): New function.
141 (system_clock_4): Use gf_gettime_mono().
142 (system_clock_8): Likewise.
143 * intrinsics/date_and_time.c (date_and_time): Update gf_gettime()
146 2011-02-02 Janne Blomqvist <jb@gcc.gnu.org>
149 * configure: Regenerated.
150 * configure.ac: Don't add librt to LIBS.
151 * intrinsics/time_1.h (weak_gettime): Weakref trickery for
153 (gf_gettime): Use weak_gettime() instead of clock_gettime().
155 2011-02-01 Janne Blomqvist <jb@gcc.gnu.org>
157 * intrinsics/time_1.h: Include errno.h needed by fallbacks.
159 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
161 * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
163 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
165 * configure.ac: Check for clock_gettime().
166 * configure: Regenerated.
167 * config.h.in: Regenerated.
168 * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
170 (gf_gettime): New function.
171 * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
172 * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
173 * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
174 * intrinsics/etime.c (etime_sub): Use gf_cputime.
175 * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
176 (system_clock_8): Use gf_gettime, increase count rate to allow
177 nanosecond precision, remove overflow prone branch.
179 2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
182 * io/write_float.def (write_infnan): Use calculate_sign to determine
183 if the sign should be given and check field widths accordingly.
185 2011-01-29 Kai Tietz <kai.tietz@onevision.com>
187 * intrinsics/ctime.c (ctime_r): Improve implementation.
189 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
192 * config.h.in: Regenerated.
193 * configure: Regenerated.
194 * configure.ac: Add check for ctime_r().
195 * intrinsics/ctime.c (ctime_r): Fallback implementation.
196 (fdate): Use ctime_r() instead of ctime().
197 (fdate_sub): Likewise.
199 (ctime_sub): Likewise.
201 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
204 * config.h.in: Regenerated.
205 * configure: Regenerated.
206 * configure.ac: Add check for ttyname_r.
207 * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
208 * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
210 * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
211 * io/intrinsics.c (ttynam_sub): Likewise.
214 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
217 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
219 * config.h.in: Regenerate.
220 * configure: Regenerate.
222 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
225 * io/write_float.def (write_infnan): Adjust processor selected width
228 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
231 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
232 the result to set the padding.
234 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
236 * intrinsics/getlog.c (getlog): Fix label/statement issue.
238 2011-01-25 Janne Blomqvist <jb@gcc.gnu.org>
241 * config.h.in: Regenerated.
242 * configure: Regenerated.
243 * configure.ac: Add check for getpwuid_r.
244 * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
246 2011-01-22 Janne Blomqvist <jb@gcc.gnu.org>
249 * config.h.in: Regenerated.
250 * configure: Regenerated.
251 * configure.ac: Check presence of strerror_r.
252 * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
253 * io/unix.c (get_oserror): Remove.
254 * libgfortran.h (gf_strerror): Add prototype.
255 (get_oserror): Remove prototype.
256 * runtime/error.c (gf_strerror): New function.
257 (os_error): Use gf_strerror instead of get_oserror.
258 (generate_errror): Likewise.
260 2011-01-17 Janne Blomqvist <jb@gcc.gnu.org>
263 * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
266 2011-01-16 Jakub Jelinek <jakub@redhat.com>
269 * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
270 instead of quadmath_dtoa.
271 * io/transfer128.c (tmp1, tmp2): New variables, bring in
272 strtoflt128 and quadmath_flt128tostr.
273 (transfer_real128, transfer_real128_write, transfer_complex128,
274 transfer_complex128_write): Remove tmp1/tmp2 variables.
275 * io/read.c (convert_real): Use strtoflt128 instead of
276 quadmath_strtopQ, adjust for the changed arguments and return
279 2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
282 * io/unix.c (unpack_filename): Return non-zero if the filename passed
285 2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
288 * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
289 duplicate calls via next_record.
292 Copyright (C) 2011 Free Software Foundation, Inc.
294 Copying and distribution of this file, with or without modification,
295 are permitted in any medium without royalty provided the copyright
296 notice and this notice are preserved.