re PR libfortran/47434 (Wrong field width for NaN with (F0.n) formatting)
[gcc.git] / libgfortran / ChangeLog
1 2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2
3 PR libgfortran/47434
4 * io/write_float.def (write_infnan): Use calculate_sign to determine
5 if the sign should be given and check field widths accordingly.
6
7 2011-01-29 Kai Tietz <kai.tietz@onevision.com>
8
9 * intrinsics/ctime.c (ctime_r): Improve implementation.
10
11 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
12
13 PR libfortran/47431
14 * config.h.in: Regenerated.
15 * configure: Regenerated.
16 * configure.ac: Add check for ctime_r().
17 * intrinsics/ctime.c (ctime_r): Fallback implementation.
18 (fdate): Use ctime_r() instead of ctime().
19 (fdate_sub): Likewise.
20 (ctime): Likewise.
21 (ctime_sub): Likewise.
22
23 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
24
25 PR libfortran/47432
26 * config.h.in: Regenerated.
27 * configure: Regenerated.
28 * configure.ac: Add check for ttyname_r.
29 * io/unix.h: Add TTY_NAME_MAX, change stream_ttyname prototype.
30 * io/unix.c (stream_ttyname): Use ttyname_r if available, conform
31 to new prototype.
32 * io/inquire.c (inquire_via_unit): Use changed stream_ttyname.
33 * io/intrinsics.c (ttynam_sub): Likewise.
34 (ttynam): Likewise.
35
36 2011-01-27 Janne Blomqvist <jb@gcc.gnu.org>
37
38 PR libfortran/47491
39 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS to enable common
40 extensions.
41 * config.h.in: Regenerate.
42 * configure: Regenerate.
43
44 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
45
46 PR libgfortran/47285
47 * io/write_float.def (write_infnan): Adjust processor selected width
48 to 3 if NaN.
49
50 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
51
52 PR libgfortran/47285
53 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use
54 the result to set the padding.
55
56 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
57
58 * intrinsics/getlog.c (getlog): Fix label/statement issue.
59
60 2011-01-25 Janne Blomqvist <jb@gcc.gnu.org>
61
62 PR libfortran/47375
63 * config.h.in: Regenerated.
64 * configure: Regenerated.
65 * configure.ac: Add check for getpwuid_r.
66 * intrinsics/getlog.c (getlog): Use getpwuid_r() if available.
67
68 2011-01-22 Janne Blomqvist <jb@gcc.gnu.org>
69
70 PR libfortran/46267
71 * config.h.in: Regenerated.
72 * configure: Regenerated.
73 * configure.ac: Check presence of strerror_r.
74 * intrinsics/gerror.c (gerror): Use gf_strerror, modify logic.
75 * io/unix.c (get_oserror): Remove.
76 * libgfortran.h (gf_strerror): Add prototype.
77 (get_oserror): Remove prototype.
78 * runtime/error.c (gf_strerror): New function.
79 (os_error): Use gf_strerror instead of get_oserror.
80 (generate_errror): Likewise.
81
82 2011-01-17 Janne Blomqvist <jb@gcc.gnu.org>
83
84 PR libfortran/47296
85 * io/unix.c (tempfile): Set opp->file and opp->file_len also if an
86 error occurs.
87
88 2011-01-16 Jakub Jelinek <jakub@redhat.com>
89
90 PR fortran/46625
91 * io/write_float.def (DTOAQ): Use quadmath_flt128tostr
92 instead of quadmath_dtoa.
93 * io/transfer128.c (tmp1, tmp2): New variables, bring in
94 strtoflt128 and quadmath_flt128tostr.
95 (transfer_real128, transfer_real128_write, transfer_complex128,
96 transfer_complex128_write): Remove tmp1/tmp2 variables.
97 * io/read.c (convert_real): Use strtoflt128 instead of
98 quadmath_strtopQ, adjust for the changed arguments and return
99 value.
100
101 2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
102
103 PR libgfortran/47296
104 * io/unix.c (unpack_filename): Return non-zero if the filename passed
105 in is NULL.
106
107 2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
108
109 PR libgfortran/47154
110 * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the
111 duplicate calls via next_record.
112
113 \f
114 Copyright (C) 2011 Free Software Foundation, Inc.
115
116 Copying and distribution of this file, with or without modification,
117 are permitted in any medium without royalty provided the copyright
118 notice and this notice are preserved.