1 2011-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * io/write_float.def (output_float): Remove special case handling of
7 2011-02-23 Janne Blomqvist <jb@gcc.gnu.org>
8 Jerry DeLisle <jvdelisle@gcc.gnu.org>
11 * io/fbuf.h (fbuf_getptr): New inline function.
12 * io/transfer.c (read_sf): Use fbuf_getptr and fbuf_getc to scan
13 through the string instead of fbuf_read.
15 2011-02-22 Tobias Burnus <burnus@net-b.de>
16 Kai-Uwe Eckhardt <kuehro@gmx.de>
19 * intrinsics/c99_functions.c (roundl): Make C valid for
22 2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
25 * io/write_float.def (output_float): Adjust width for F0.d to
26 allow space for negative signs on zero.
28 2011-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
31 * io/list_read.c (read_logical): Check for end of line before calling
32 eat_line. (read_integer): Likewise. (parse_real): Don't unget the
33 separator. Check for end of line before calling eat_line.
34 (read_complex): Allow line-end before and after parenthesis and comma.
35 Check for end of line before calling eat_line. (read_real): Check for
36 end of line before calling eat_line.
38 2011-02-16 Jakub Jelinek <jakub@redhat.com>
41 * gfortran.map (GFORTRAN_1.4): Export
42 _gfortran_{m,s}i{all,any,parity}_i{1,2,4,8,16} and
43 _gfortran_{cshift0,eoshift{0,2}}_16_char4.
45 2011-02-15 Tobias Burnus <burnus@net-b.de>
49 * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from
50 libquadmath, which uses more features.
51 * configure: Regenerate.
53 2011-02-14 Jakub Jelinek <jakub@redhat.com>
56 * io/write_float.def (DTOAQ): Use quadmath_snprintf instead of
58 * io/transfer128.c (tmp2): Initialize to quadmath_snprintf instead
59 of quadmath_flt128tostr.
61 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
63 * Makefile.in: Regenerate.
64 * aclocal.m4: Likewise.
65 * configure: Likewise.
67 2011-02-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
70 * io/write_float.def (output_float): Eliminate some redundant code.
71 Adjust width for case of F0.X for values of zero and all other values.
72 Expand cases where '*' is set to give cleaner results.
74 2011-02-05 Janne Blomqvist <jb@gcc.gnu.org>
77 * intrinsics/time_1.h (GF_CLOCK_MONOTONIC): Move to system_clock.c.
78 (weak_gettime): Likewise.
79 (gf_gettime): Change API, move weak_gettime() usage to
81 * intrinsics/system_clock.c (GTHREAD_USE_WEAK): Define.
82 (gf_gettime_mono): New function.
83 (system_clock_4): Use gf_gettime_mono().
84 (system_clock_8): Likewise.
85 * intrinsics/date_and_time.c (date_and_time): Update gf_gettime()
88 2011-02-02 Janne Blomqvist <jb@gcc.gnu.org>
91 * configure: Regenerated.
92 * configure.ac: Don't add librt to LIBS.
93 * intrinsics/time_1.h (weak_gettime): Weakref trickery for
95 (gf_gettime): Use weak_gettime() instead of clock_gettime().
97 2011-02-01 Janne Blomqvist <jb@gcc.gnu.org>
99 * intrinsics/time_1.h: Include errno.h needed by fallbacks.
101 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
103 * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
105 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
107 * configure.ac: Check for clock_gettime().
108 * configure: Regenerated.
109 * config.h.in: Regenerated.
110 * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
112 (gf_gettime): New function.
113 * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
114 * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
115 * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
116 * intrinsics/etime.c (etime_sub): Use gf_cputime.
117 * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
118 (system_clock_8): Use gf_gettime, increase count rate to allow
119 nanosecond precision, remove overflow prone branch.
121 2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
124 * io/write_float.def (write_infnan): Use calculate_sign to determine
125 if the sign should be given and check field widths accordingly.
127 2011-01-29 Kai Tietz <kai.tietz@onevision.com>
129 * intrinsics/ctime.c (ctime_r): Improve implementation.
131 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
134 * config.h.in: Regenerated.
135 * configure: Regenerated.
136 * configure.ac: Add check for ctime_r().
137 * intrinsics/ctime.c (ctime_r): Fallback implementation.
138 (fdate): Use ctime_r() instead of ctime().
139 (fdate_sub): Likewise.
141 (ctime_sub): Likewise.
143 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
146 * config.h.in: Regenerated.
147 * configure: Regenerated.
148 * configure.ac: Add check for ttyname_r.
149 * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
150 * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
152 * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
153 * io/intrinsics.c (ttynam_sub): Likewise.
156 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
159 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
161 * config.h.in: Regenerate.
162 * configure: Regenerate.
164 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
167 * io/write_float.def (write_infnan): Adjust processor selected width
170 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
173 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
174 the result to set the padding.
176 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
178 * intrinsics/getlog.c (getlog): Fix label/statement issue.
180 2011-01-25 Janne Blomqvist <jb@gcc.gnu.org>
183 * config.h.in: Regenerated.
184 * configure: Regenerated.
185 * configure.ac: Add check for getpwuid_r.
186 * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
188 2011-01-22 Janne Blomqvist <jb@gcc.gnu.org>
191 * config.h.in: Regenerated.
192 * configure: Regenerated.
193 * configure.ac: Check presence of strerror_r.
194 * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
195 * io/unix.c (get_oserror): Remove.
196 * libgfortran.h (gf_strerror): Add prototype.
197 (get_oserror): Remove prototype.
198 * runtime/error.c (gf_strerror): New function.
199 (os_error): Use gf_strerror instead of get_oserror.
200 (generate_errror): Likewise.
202 2011-01-17 Janne Blomqvist <jb@gcc.gnu.org>
205 * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
208 2011-01-16 Jakub Jelinek <jakub@redhat.com>
211 * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
212 instead of quadmath_dtoa.
213 * io/transfer128.c (tmp1, tmp2): New variables, bring in
214 strtoflt128 and quadmath_flt128tostr.
215 (transfer_real128, transfer_real128_write, transfer_complex128,
216 transfer_complex128_write): Remove tmp1/tmp2 variables.
217 * io/read.c (convert_real): Use strtoflt128 instead of
218 quadmath_strtopQ, adjust for the changed arguments and return
221 2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
224 * io/unix.c (unpack_filename): Return non-zero if the filename passed
227 2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
230 * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
231 duplicate calls via next_record.
234 Copyright (C) 2011 Free Software Foundation, Inc.
236 Copying and distribution of this file, with or without modification,
237 are permitted in any medium without royalty provided the copyright
238 notice and this notice are preserved.