2011-02-01 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / libgfortran / ChangeLog
blob3a51f9b1758d34f96dcccd8dda4f9726b4d6272c
1 2011-02-01  Janne Blomqvist  <jb@gcc.gnu.org>
3         * intrinsics/time_1.h: Include errno.h needed by fallbacks.
5 2011-01-31  Janne Blomqvist  <jb@gcc.gnu.org>
7         * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
9 2011-01-31  Janne Blomqvist  <jb@gcc.gnu.org>
11         * configure.ac: Check for clock_gettime().
12         * configure: Regenerated.
13         * config.h.in: Regenerated.
14         * intrinsics/time_1.h (__time_1): Rename to gf_cputime, add
15         times() fallback.
16         (gf_gettime): New function.
17         * intrinsics/cpu_time.c (__cpu_time_1): Update to call gf_cputime.
18         * intrinsics/date_and_time.c (date_and_time): Use gf_gettime.
19         * intrinsics/dtime.c (dtime_sub): Use gf_cputime.
20         * intrinsics/etime.c (etime_sub): Use gf_cputime.
21         * intrinsics/system_clock.c (system_clock_4): Use gf_gettime.
22         (system_clock_8): Use gf_gettime, increase count rate to allow
23         nanosecond precision, remove overflow prone branch.
25 2011-01-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
27         PR libgfortran/47434
28         * io/write_float.def (write_infnan): Use calculate_sign to determine
29         if the sign should be given and check field widths accordingly.
31 2011-01-29  Kai Tietz  <kai.tietz@onevision.com>
33         * intrinsics/ctime.c (ctime_r): Improve implementation.
35 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
37         PR libfortran/47431
38         * config.h.in: Regenerated.
39         * configure: Regenerated.
40         * configure.ac: Add check for ctime_r().
41         * intrinsics/ctime.c (ctime_r): Fallback implementation.
42         (fdate): Use ctime_r() instead of ctime().
43         (fdate_sub): Likewise.
44         (ctime): Likewise.
45         (ctime_sub): Likewise.
47 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
49         PR libfortran/47432
50         * config.h.in: Regenerated.
51         * configure: Regenerated.
52         * configure.ac: Add check for ttyname_r.
53         * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
54         * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
55         to new prototype.
56         * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
57         * io/intrinsics.c (ttynam_sub): Likewise.
58         (ttynam): Likewise.
60 2011-01-27  Janne Blomqvist  <jb@gcc.gnu.org>
62         PR libfortran/47491
63         * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
64         extensions.
65         * config.h.in: Regenerate.
66         * configure: Regenerate.
68 2011-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
70         PR libgfortran/47285
71         * io/write_float.def (write_infnan): Adjust processor selected width
72         to 3 if NaN.
74 2011-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
76         PR libgfortran/47285
77         * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
78         the result to set the padding.
80 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
82         * intrinsics/getlog.c (getlog): Fix label/statement issue.
84 2011-01-25  Janne Blomqvist  <jb@gcc.gnu.org>
86         PR libfortran/47375
87         * config.h.in: Regenerated.
88         * configure: Regenerated.
89         * configure.ac: Add check for getpwuid_r.
90         * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
92 2011-01-22  Janne Blomqvist  <jb@gcc.gnu.org>
94         PR libfortran/46267
95         * config.h.in: Regenerated.
96         * configure: Regenerated.
97         * configure.ac: Check presence of strerror_r.
98         * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
99         * io/unix.c (get_oserror): Remove.
100         * libgfortran.h (gf_strerror): Add prototype.
101         (get_oserror): Remove prototype.
102         * runtime/error.c (gf_strerror): New function.
103         (os_error): Use gf_strerror instead of get_oserror.
104         (generate_errror): Likewise.
106 2011-01-17  Janne Blomqvist  <jb@gcc.gnu.org>
108         PR libfortran/47296
109         * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
110         error occurs.
112 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
114         PR fortran/46625
115         * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
116         instead of quadmath_dtoa.
117         * io/transfer128.c (tmp1, tmp2): New variables, bring in
118         strtoflt128 and quadmath_flt128tostr.
119         (transfer_real128, transfer_real128_write, transfer_complex128,
120         transfer_complex128_write): Remove tmp1/tmp2 variables.
121         * io/read.c (convert_real): Use strtoflt128 instead of
122         quadmath_strtopQ, adjust for the changed arguments and return
123         value.
125 2011-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
127         PR libgfortran/47296
128         * io/unix.c (unpack_filename): Return non-zero if the filename passed
129         in is NULL.
131 2011-01-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
133         PR libgfortran/47154
134         * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
135         duplicate calls via next_record.
138 Copyright (C) 2011 Free Software Foundation, Inc.
140 Copying and distribution of this file, with or without modification,
141 are permitted in any medium without royalty provided the copyright
142 notice and this notice are preserved.