1 2011-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * io/list_read.c (namelist_read): Intialize the error string buffere.
5 If pprev_nl was used during the previous namelist read and the rank
6 was zero, reset the pointer to NULL for the next namelist read.
8 2011-02-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
11 * unix.c (fallback_access): Fix file descriptor leaks.
13 2011-02-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
15 * acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable
16 tested in configure.host.
17 * configure: Regenerate.
19 2011-02-24 Janne Blomqvist <jb@gcc.gnu.org>
22 * config.h.in: Regenerated.
23 * configure: Regenerated.
24 * configure.ac: Remove checks for ctime and ctime_r, add check for
26 * intrinsics/date_and_time.c (localtime_r): Move fallback
27 implementation to time_1.h.
28 * intrinsics/time_1.h (localtime_r): Fallback implementation.
29 * intrinsics/ctime.c: Include time_1.h.
30 (ctime_r): Remove fallback implementation.
31 (strctime): New function.
32 (fdate): Use strctime instead of ctime_r.
33 (fdate_sub): Likewise.
35 (ctime_sub): Likewise.
37 2011-02-24 Jakub Jelinek <jakub@redhat.com>
40 * io/transfer.c (read_sf): Call fbuf_getptr only at the end,
41 and subtract n, dtp->u.p.sf_seen_eor and seen_comma from it.
43 2011-02-24 Janne Blomqvist <jb@gcc.gnu.org>
46 * configure.ac: Add test for POSIX getpwuid_r.
47 * intrinsics/getlog.c (getlog): CPP test for
48 HAVE_POSIX_GETPWUID_R.
49 * config.h.in: Regenerated.
50 * configure: Regenerated.
52 2011-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
55 * io/write_float.def (output_float): Remove special case handling of
58 2011-02-23 Janne Blomqvist <jb@gcc.gnu.org>
59 Jerry DeLisle <jvdelisle@gcc.gnu.org>
62 * io/fbuf.h (fbuf_getptr): New inline function.
63 * io/transfer.c (read_sf): Use fbuf_getptr and fbuf_getc to scan
64 through the string instead of fbuf_read.
66 2011-02-22 Tobias Burnus <burnus@net-b.de>
67 Kai-Uwe Eckhardt <kuehro@gmx.de>
70 * intrinsics/c99_functions.c (roundl): Make C valid for
73 2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
76 * io/write_float.def (output_float): Adjust width for F0.d to
77 allow space for negative signs on zero.
79 2011-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
82 * io/list_read.c (read_logical): Check for end of line before calling
83 eat_line. (read_integer): Likewise. (parse_real): Don't unget the
84 separator. Check for end of line before calling eat_line.
85 (read_complex): Allow line-end before and after parenthesis and comma.
86 Check for end of line before calling eat_line. (read_real): Check for
87 end of line before calling eat_line.
89 2011-02-16 Jakub Jelinek <jakub@redhat.com>
92 * gfortran.map (GFORTRAN_1.4): Export
93 _gfortran_{m,s}i{all,any,parity}_i{1,2,4,8,16} and
94 _gfortran_{cshift0,eoshift{0,2}}_16_char4.
96 2011-02-15 Tobias Burnus <burnus@net-b.de>
100 * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from
101 libquadmath, which uses more features.
102 * configure: Regenerate.
104 2011-02-14 Jakub Jelinek <jakub@redhat.com>
107 * io/write_float.def (DTOAQ): Use quadmath_snprintf instead of
108 quadmath_flt128tostr.
109 * io/transfer128.c (tmp2): Initialize to quadmath_snprintf instead
110 of quadmath_flt128tostr.
112 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
114 * Makefile.in: Regenerate.
115 * aclocal.m4: Likewise.
116 * configure: Likewise.
118 2011-02-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
121 * io/write_float.def (output_float): Eliminate some redundant code.
122 Adjust width for case of F0.X for values of zero and all other values.
123 Expand cases where '*' is set to give cleaner results.
125 2011-02-05 Janne Blomqvist <jb@gcc.gnu.org>
128 * intrinsics/time_1.h (GF_CLOCK_MONOTONIC): Move to system_clock.c.
129 (weak_gettime): Likewise.
130 (gf_gettime): Change API, move weak_gettime() usage to
132 * intrinsics/system_clock.c (GTHREAD_USE_WEAK): Define.
133 (gf_gettime_mono): New function.
134 (system_clock_4): Use gf_gettime_mono().
135 (system_clock_8): Likewise.
136 * intrinsics/date_and_time.c (date_and_time): Update gf_gettime()
139 2011-02-02 Janne Blomqvist <jb@gcc.gnu.org>
142 * configure: Regenerated.
143 * configure.ac: Don't add librt to LIBS.
144 * intrinsics/time_1.h (weak_gettime): Weakref trickery for
146 (gf_gettime): Use weak_gettime() instead of clock_gettime().
148 2011-02-01 Janne Blomqvist <jb@gcc.gnu.org>
150 * intrinsics/time_1.h: Include errno.h needed by fallbacks.
152 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
154 * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
156 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
158 * configure.ac: Check for clock_gettime().
159 * configure: Regenerated.
160 * config.h.in: Regenerated.
161 * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
163 (gf_gettime): New function.
164 * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
165 * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
166 * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
167 * intrinsics/etime.c (etime_sub): Use gf_cputime.
168 * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
169 (system_clock_8): Use gf_gettime, increase count rate to allow
170 nanosecond precision, remove overflow prone branch.
172 2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
175 * io/write_float.def (write_infnan): Use calculate_sign to determine
176 if the sign should be given and check field widths accordingly.
178 2011-01-29 Kai Tietz <kai.tietz@onevision.com>
180 * intrinsics/ctime.c (ctime_r): Improve implementation.
182 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
185 * config.h.in: Regenerated.
186 * configure: Regenerated.
187 * configure.ac: Add check for ctime_r().
188 * intrinsics/ctime.c (ctime_r): Fallback implementation.
189 (fdate): Use ctime_r() instead of ctime().
190 (fdate_sub): Likewise.
192 (ctime_sub): Likewise.
194 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
197 * config.h.in: Regenerated.
198 * configure: Regenerated.
199 * configure.ac: Add check for ttyname_r.
200 * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
201 * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
203 * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
204 * io/intrinsics.c (ttynam_sub): Likewise.
207 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
210 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
212 * config.h.in: Regenerate.
213 * configure: Regenerate.
215 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
218 * io/write_float.def (write_infnan): Adjust processor selected width
221 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
224 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
225 the result to set the padding.
227 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
229 * intrinsics/getlog.c (getlog): Fix label/statement issue.
231 2011-01-25 Janne Blomqvist <jb@gcc.gnu.org>
234 * config.h.in: Regenerated.
235 * configure: Regenerated.
236 * configure.ac: Add check for getpwuid_r.
237 * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
239 2011-01-22 Janne Blomqvist <jb@gcc.gnu.org>
242 * config.h.in: Regenerated.
243 * configure: Regenerated.
244 * configure.ac: Check presence of strerror_r.
245 * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
246 * io/unix.c (get_oserror): Remove.
247 * libgfortran.h (gf_strerror): Add prototype.
248 (get_oserror): Remove prototype.
249 * runtime/error.c (gf_strerror): New function.
250 (os_error): Use gf_strerror instead of get_oserror.
251 (generate_errror): Likewise.
253 2011-01-17 Janne Blomqvist <jb@gcc.gnu.org>
256 * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
259 2011-01-16 Jakub Jelinek <jakub@redhat.com>
262 * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
263 instead of quadmath_dtoa.
264 * io/transfer128.c (tmp1, tmp2): New variables, bring in
265 strtoflt128 and quadmath_flt128tostr.
266 (transfer_real128, transfer_real128_write, transfer_complex128,
267 transfer_complex128_write): Remove tmp1/tmp2 variables.
268 * io/read.c (convert_real): Use strtoflt128 instead of
269 quadmath_strtopQ, adjust for the changed arguments and return
272 2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
275 * io/unix.c (unpack_filename): Return non-zero if the filename passed
278 2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
281 * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
282 duplicate calls via next_record.
285 Copyright (C) 2011 Free Software Foundation, Inc.
287 Copying and distribution of this file, with or without modification,
288 are permitted in any medium without royalty provided the copyright
289 notice and this notice are preserved.