OSDN Git Service

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