1 2011-03-04 Janne Blomqvist <jb@gcc.gnu.org>
4 * intrinsics/ctime.c (strctime): Don't use return value of
7 2011-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
10 * io/write_float.def (output_float): Move handling of w = 0 to after
11 output rounding. Check for zero and set zero_flag accordingly. Set
12 width according to zero_flag. Add better comments.
14 2011-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
17 * io/list_read.c (namelist_read): Intialize the error string buffere.
18 If pprev_nl was used during the previous namelist read and the rank
19 was zero, reset the pointer to NULL for the next namelist read.
21 2011-02-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
24 * unix.c (fallback_access): Fix file descriptor leaks.
26 2011-02-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
28 * acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable
29 tested in configure.host.
30 * configure: Regenerate.
32 2011-02-24 Janne Blomqvist <jb@gcc.gnu.org>
35 * config.h.in: Regenerated.
36 * configure: Regenerated.
37 * configure.ac: Remove checks for ctime and ctime_r, add check for
39 * intrinsics/date_and_time.c (localtime_r): Move fallback
40 implementation to time_1.h.
41 * intrinsics/time_1.h (localtime_r): Fallback implementation.
42 * intrinsics/ctime.c: Include time_1.h.
43 (ctime_r): Remove fallback implementation.
44 (strctime): New function.
45 (fdate): Use strctime instead of ctime_r.
46 (fdate_sub): Likewise.
48 (ctime_sub): Likewise.
50 2011-02-24 Jakub Jelinek <jakub@redhat.com>
53 * io/transfer.c (read_sf): Call fbuf_getptr only at the end,
54 and subtract n, dtp->u.p.sf_seen_eor and seen_comma from it.
56 2011-02-24 Janne Blomqvist <jb@gcc.gnu.org>
59 * configure.ac: Add test for POSIX getpwuid_r.
60 * intrinsics/getlog.c (getlog): CPP test for
61 HAVE_POSIX_GETPWUID_R.
62 * config.h.in: Regenerated.
63 * configure: Regenerated.
65 2011-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
68 * io/write_float.def (output_float): Remove special case handling of
71 2011-02-23 Janne Blomqvist <jb@gcc.gnu.org>
72 Jerry DeLisle <jvdelisle@gcc.gnu.org>
75 * io/fbuf.h (fbuf_getptr): New inline function.
76 * io/transfer.c (read_sf): Use fbuf_getptr and fbuf_getc to scan
77 through the string instead of fbuf_read.
79 2011-02-22 Tobias Burnus <burnus@net-b.de>
80 Kai-Uwe Eckhardt <kuehro@gmx.de>
83 * intrinsics/c99_functions.c (roundl): Make C valid for
86 2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
89 * io/write_float.def (output_float): Adjust width for F0.d to
90 allow space for negative signs on zero.
92 2011-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
95 * io/list_read.c (read_logical): Check for end of line before calling
96 eat_line. (read_integer): Likewise. (parse_real): Don't unget the
97 separator. Check for end of line before calling eat_line.
98 (read_complex): Allow line-end before and after parenthesis and comma.
99 Check for end of line before calling eat_line. (read_real): Check for
100 end of line before calling eat_line.
102 2011-02-16 Jakub Jelinek <jakub@redhat.com>
105 * gfortran.map (GFORTRAN_1.4): Export
106 _gfortran_{m,s}i{all,any,parity}_i{1,2,4,8,16} and
107 _gfortran_{cshift0,eoshift{0,2}}_16_char4.
109 2011-02-15 Tobias Burnus <burnus@net-b.de>
113 * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from
114 libquadmath, which uses more features.
115 * configure: Regenerate.
117 2011-02-14 Jakub Jelinek <jakub@redhat.com>
120 * io/write_float.def (DTOAQ): Use quadmath_snprintf instead of
121 quadmath_flt128tostr.
122 * io/transfer128.c (tmp2): Initialize to quadmath_snprintf instead
123 of quadmath_flt128tostr.
125 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
127 * Makefile.in: Regenerate.
128 * aclocal.m4: Likewise.
129 * configure: Likewise.
131 2011-02-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
134 * io/write_float.def (output_float): Eliminate some redundant code.
135 Adjust width for case of F0.X for values of zero and all other values.
136 Expand cases where '*' is set to give cleaner results.
138 2011-02-05 Janne Blomqvist <jb@gcc.gnu.org>
141 * intrinsics/time_1.h (GF_CLOCK_MONOTONIC): Move to system_clock.c.
142 (weak_gettime): Likewise.
143 (gf_gettime): Change API, move weak_gettime() usage to
145 * intrinsics/system_clock.c (GTHREAD_USE_WEAK): Define.
146 (gf_gettime_mono): New function.
147 (system_clock_4): Use gf_gettime_mono().
148 (system_clock_8): Likewise.
149 * intrinsics/date_and_time.c (date_and_time): Update gf_gettime()
152 2011-02-02 Janne Blomqvist <jb@gcc.gnu.org>
155 * configure: Regenerated.
156 * configure.ac: Don't add librt to LIBS.
157 * intrinsics/time_1.h (weak_gettime): Weakref trickery for
159 (gf_gettime): Use weak_gettime() instead of clock_gettime().
161 2011-02-01 Janne Blomqvist <jb@gcc.gnu.org>
163 * intrinsics/time_1.h: Include errno.h needed by fallbacks.
165 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
167 * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
169 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
171 * configure.ac: Check for clock_gettime().
172 * configure: Regenerated.
173 * config.h.in: Regenerated.
174 * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
176 (gf_gettime): New function.
177 * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
178 * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
179 * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
180 * intrinsics/etime.c (etime_sub): Use gf_cputime.
181 * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
182 (system_clock_8): Use gf_gettime, increase count rate to allow
183 nanosecond precision, remove overflow prone branch.
185 2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
188 * io/write_float.def (write_infnan): Use calculate_sign to determine
189 if the sign should be given and check field widths accordingly.
191 2011-01-29 Kai Tietz <kai.tietz@onevision.com>
193 * intrinsics/ctime.c (ctime_r): Improve implementation.
195 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
198 * config.h.in: Regenerated.
199 * configure: Regenerated.
200 * configure.ac: Add check for ctime_r().
201 * intrinsics/ctime.c (ctime_r): Fallback implementation.
202 (fdate): Use ctime_r() instead of ctime().
203 (fdate_sub): Likewise.
205 (ctime_sub): Likewise.
207 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
210 * config.h.in: Regenerated.
211 * configure: Regenerated.
212 * configure.ac: Add check for ttyname_r.
213 * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
214 * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
216 * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
217 * io/intrinsics.c (ttynam_sub): Likewise.
220 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
223 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
225 * config.h.in: Regenerate.
226 * configure: Regenerate.
228 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
231 * io/write_float.def (write_infnan): Adjust processor selected width
234 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
237 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
238 the result to set the padding.
240 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
242 * intrinsics/getlog.c (getlog): Fix label/statement issue.
244 2011-01-25 Janne Blomqvist <jb@gcc.gnu.org>
247 * config.h.in: Regenerated.
248 * configure: Regenerated.
249 * configure.ac: Add check for getpwuid_r.
250 * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
252 2011-01-22 Janne Blomqvist <jb@gcc.gnu.org>
255 * config.h.in: Regenerated.
256 * configure: Regenerated.
257 * configure.ac: Check presence of strerror_r.
258 * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
259 * io/unix.c (get_oserror): Remove.
260 * libgfortran.h (gf_strerror): Add prototype.
261 (get_oserror): Remove prototype.
262 * runtime/error.c (gf_strerror): New function.
263 (os_error): Use gf_strerror instead of get_oserror.
264 (generate_errror): Likewise.
266 2011-01-17 Janne Blomqvist <jb@gcc.gnu.org>
269 * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
272 2011-01-16 Jakub Jelinek <jakub@redhat.com>
275 * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
276 instead of quadmath_dtoa.
277 * io/transfer128.c (tmp1, tmp2): New variables, bring in
278 strtoflt128 and quadmath_flt128tostr.
279 (transfer_real128, transfer_real128_write, transfer_complex128,
280 transfer_complex128_write): Remove tmp1/tmp2 variables.
281 * io/read.c (convert_real): Use strtoflt128 instead of
282 quadmath_strtopQ, adjust for the changed arguments and return
285 2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
288 * io/unix.c (unpack_filename): Return non-zero if the filename passed
291 2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
294 * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
295 duplicate calls via next_record.
298 Copyright (C) 2011 Free Software Foundation, Inc.
300 Copying and distribution of this file, with or without modification,
301 are permitted in any medium without royalty provided the copyright
302 notice and this notice are preserved.