1 2011-02-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * io/write_float.def (output_float): Eliminate some redundant code.
5 Adjust width for case of F0.X for values of zero and all other values.
6 Expand cases where '*' is set to give cleaner results.
8 2011-02-05 Janne Blomqvist <jb@gcc.gnu.org>
11 * intrinsics/time_1.h (GF_CLOCK_MONOTONIC): Move to system_clock.c.
12 (weak_gettime): Likewise.
13 (gf_gettime): Change API, move weak_gettime() usage to
15 * intrinsics/system_clock.c (GTHREAD_USE_WEAK): Define.
16 (gf_gettime_mono): New function.
17 (system_clock_4): Use gf_gettime_mono().
18 (system_clock_8): Likewise.
19 * intrinsics/date_and_time.c (date_and_time): Update gf_gettime()
22 2011-02-02 Janne Blomqvist <jb@gcc.gnu.org>
25 * configure: Regenerated.
26 * configure.ac: Don't add librt to LIBS.
27 * intrinsics/time_1.h (weak_gettime): Weakref trickery for
29 (gf_gettime): Use weak_gettime() instead of clock_gettime().
31 2011-02-01 Janne Blomqvist <jb@gcc.gnu.org>
33 * intrinsics/time_1.h: Include errno.h needed by fallbacks.
35 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
37 * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
39 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
41 * configure.ac: Check for clock_gettime().
42 * configure: Regenerated.
43 * config.h.in: Regenerated.
44 * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
46 (gf_gettime): New function.
47 * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
48 * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
49 * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
50 * intrinsics/etime.c (etime_sub): Use gf_cputime.
51 * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
52 (system_clock_8): Use gf_gettime, increase count rate to allow
53 nanosecond precision, remove overflow prone branch.
55 2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
58 * io/write_float.def (write_infnan): Use calculate_sign to determine
59 if the sign should be given and check field widths accordingly.
61 2011-01-29 Kai Tietz <kai.tietz@onevision.com>
63 * intrinsics/ctime.c (ctime_r): Improve implementation.
65 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
68 * config.h.in: Regenerated.
69 * configure: Regenerated.
70 * configure.ac: Add check for ctime_r().
71 * intrinsics/ctime.c (ctime_r): Fallback implementation.
72 (fdate): Use ctime_r() instead of ctime().
73 (fdate_sub): Likewise.
75 (ctime_sub): Likewise.
77 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
80 * config.h.in: Regenerated.
81 * configure: Regenerated.
82 * configure.ac: Add check for ttyname_r.
83 * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
84 * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
86 * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
87 * io/intrinsics.c (ttynam_sub): Likewise.
90 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
93 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
95 * config.h.in: Regenerate.
96 * configure: Regenerate.
98 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
101 * io/write_float.def (write_infnan): Adjust processor selected width
104 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
107 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
108 the result to set the padding.
110 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
112 * intrinsics/getlog.c (getlog): Fix label/statement issue.
114 2011-01-25 Janne Blomqvist <jb@gcc.gnu.org>
117 * config.h.in: Regenerated.
118 * configure: Regenerated.
119 * configure.ac: Add check for getpwuid_r.
120 * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
122 2011-01-22 Janne Blomqvist <jb@gcc.gnu.org>
125 * config.h.in: Regenerated.
126 * configure: Regenerated.
127 * configure.ac: Check presence of strerror_r.
128 * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
129 * io/unix.c (get_oserror): Remove.
130 * libgfortran.h (gf_strerror): Add prototype.
131 (get_oserror): Remove prototype.
132 * runtime/error.c (gf_strerror): New function.
133 (os_error): Use gf_strerror instead of get_oserror.
134 (generate_errror): Likewise.
136 2011-01-17 Janne Blomqvist <jb@gcc.gnu.org>
139 * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
142 2011-01-16 Jakub Jelinek <jakub@redhat.com>
145 * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
146 instead of quadmath_dtoa.
147 * io/transfer128.c (tmp1, tmp2): New variables, bring in
148 strtoflt128 and quadmath_flt128tostr.
149 (transfer_real128, transfer_real128_write, transfer_complex128,
150 transfer_complex128_write): Remove tmp1/tmp2 variables.
151 * io/read.c (convert_real): Use strtoflt128 instead of
152 quadmath_strtopQ, adjust for the changed arguments and return
155 2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
158 * io/unix.c (unpack_filename): Return non-zero if the filename passed
161 2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
164 * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
165 duplicate calls via next_record.
168 Copyright (C) 2011 Free Software Foundation, Inc.
170 Copying and distribution of this file, with or without modification,
171 are permitted in any medium without royalty provided the copyright
172 notice and this notice are preserved.