OSDN Git Service

2011-02-15 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2011-02-15  Tobias Burnus  <burnus@net-b.de>
2
3         PR fortran/47716
4         PR fortran/47648
5         * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from
6         libquadmath, which uses more features.
7         * configure: Regenerate.
8
9 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
10
11         PR fortran/47642
12         * io/write_float.def (DTOAQ): Use quadmath_snprintf instead of
13         quadmath_flt128tostr.
14         * io/transfer128.c (tmp2): Initialize to quadmath_snprintf instead
15         of quadmath_flt128tostr.
16
17 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
18
19         * Makefile.in: Regenerate.
20         * aclocal.m4: Likewise.
21         * configure: Likewise.
22
23 2011-02-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
24
25         PR libgfortran/47567
26         * io/write_float.def (output_float): Eliminate some redundant code.
27         Adjust width for case of F0.X for values of zero and all other values.
28         Expand cases where '*' is set to give cleaner results.
29
30 2011-02-05  Janne Blomqvist  <jb@gcc.gnu.org>
31
32         PR libfortran/47571
33         * intrinsics/time_1.h (GF_CLOCK_MONOTONIC): Move to system_clock.c.
34         (weak_gettime): Likewise.
35         (gf_gettime): Change API, move weak_gettime() usage to
36         system_clock.c
37         * intrinsics/system_clock.c (GTHREAD_USE_WEAK): Define.
38         (gf_gettime_mono): New function.
39         (system_clock_4): Use gf_gettime_mono().
40         (system_clock_8): Likewise.
41         * intrinsics/date_and_time.c (date_and_time): Update gf_gettime()
42         usage.
43
44 2011-02-02  Janne Blomqvist  <jb@gcc.gnu.org>
45
46         PR libfortran/47571
47         * configure: Regenerated.
48         * configure.ac: Don't add librt to LIBS.
49         * intrinsics/time_1.h (weak_gettime): Weakref trickery for
50         clock_gettime().
51         (gf_gettime): Use weak_gettime() instead of clock_gettime().
52
53 2011-02-01  Janne Blomqvist  <jb@gcc.gnu.org>
54
55         * intrinsics/time_1.h: Include errno.h needed by fallbacks.
56
57 2011-01-31  Janne Blomqvist  <jb@gcc.gnu.org>
58
59         * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
60
61 2011-01-31  Janne Blomqvist  <jb@gcc.gnu.org>
62
63         * configure.ac: Check for clock_gettime().
64         * configure: Regenerated.
65         * config.h.in: Regenerated.
66         * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
67         times() fallback.
68         (gf_gettime): New function.
69         * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
70         * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
71         * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
72         * intrinsics/etime.c (etime_sub): Use gf_cputime.
73         * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
74         (system_clock_8): Use gf_gettime, increase count rate to allow
75         nanosecond precision, remove overflow prone branch.
76
77 2011-01-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
78
79         PR libgfortran/47434
80         * io/write_float.def (write_infnan): Use calculate_sign to determine
81         if the sign should be given and check field widths accordingly.
82
83 2011-01-29  Kai Tietz  <kai.tietz@onevision.com>
84
85         * intrinsics/ctime.c (ctime_r): Improve implementation.
86
87 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
88
89         PR libfortran/47431
90         * config.h.in: Regenerated.
91         * configure: Regenerated.
92         * configure.ac: Add check for ctime_r().
93         * intrinsics/ctime.c (ctime_r): Fallback implementation.
94         (fdate): Use ctime_r() instead of ctime().
95         (fdate_sub): Likewise.
96         (ctime): Likewise.
97         (ctime_sub): Likewise.
98
99 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
100
101         PR libfortran/47432
102         * config.h.in: Regenerated.
103         * configure: Regenerated.
104         * configure.ac: Add check for ttyname_r.
105         * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
106         * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
107         to new prototype.
108         * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
109         * io/intrinsics.c (ttynam_sub): Likewise.
110         (ttynam): Likewise.
111
112 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
113
114         PR libfortran/47491
115         * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
116         extensions.
117         * config.h.in: Regenerate.
118         * configure: Regenerate.
119
120 2011-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
121
122         PR libgfortran/47285
123         * io/write_float.def (write_infnan): Adjust processor selected width
124         to 3 if NaN.
125
126 2011-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
127
128         PR libgfortran/47285
129         * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
130         the result to set the padding.
131
132 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
133
134         * intrinsics/getlog.c (getlog): Fix label/statement issue.
135
136 2011-01-25  Janne Blomqvist  <jb@gcc.gnu.org>
137
138         PR libfortran/47375
139         * config.h.in: Regenerated.
140         * configure: Regenerated.
141         * configure.ac: Add check for getpwuid_r.
142         * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
143
144 2011-01-22  Janne Blomqvist  <jb@gcc.gnu.org>
145
146         PR libfortran/46267
147         * config.h.in: Regenerated.
148         * configure: Regenerated.
149         * configure.ac: Check presence of strerror_r.
150         * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
151         * io/unix.c (get_oserror): Remove.
152         * libgfortran.h (gf_strerror): Add prototype.
153         (get_oserror): Remove prototype.
154         * runtime/error.c (gf_strerror): New function.
155         (os_error): Use gf_strerror instead of get_oserror.
156         (generate_errror): Likewise.
157
158 2011-01-17  Janne Blomqvist  <jb@gcc.gnu.org>
159
160         PR libfortran/47296
161         * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
162         error occurs.
163
164 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
165
166         PR fortran/46625
167         * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
168         instead of quadmath_dtoa.
169         * io/transfer128.c (tmp1, tmp2): New variables, bring in
170         strtoflt128 and quadmath_flt128tostr.
171         (transfer_real128, transfer_real128_write, transfer_complex128,
172         transfer_complex128_write): Remove tmp1/tmp2 variables.
173         * io/read.c (convert_real): Use strtoflt128 instead of
174         quadmath_strtopQ, adjust for the changed arguments and return
175         value.
176
177 2011-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
178
179         PR libgfortran/47296
180         * io/unix.c (unpack_filename): Return non-zero if the filename passed
181         in is NULL.
182
183 2011-01-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
184
185         PR libgfortran/47154
186         * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
187         duplicate calls via next_record.
188
189 \f
190 Copyright (C) 2011 Free Software Foundation, Inc.
191
192 Copying and distribution of this file, with or without modification,
193 are permitted in any medium without royalty provided the copyright
194 notice and this notice are preserved.