OSDN Git Service

2006-02-26 Roger Sayle <roger@eyesopen.com>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2006-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2
3         PR libgfortran/26423
4         * io/unix.c (fd_seek): Revert change from 25949.
5         (fd_read): Same.
6         (fd_write): Same.
7
8 2006-02-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
9
10         * io/open.c (edit_modes): Correct abusive copy-pasting.
11
12 2006-02-16  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
13
14         PR libfortran/24903
15         * m4/dotprodc.m4: Use __builtin_conj instead of assigning real
16         and imaginary parts separately.
17         * generated/dotprod_c4.c: Regenerated.
18         * generated/dotprod_c8.c: Regenerated.
19         * generated/dotprod_c10.c: Regenerated.
20         * generated/dotprod_c16.c: Regenerated.
21
22 2006-02-12  Janne Blomqvist  <jb@gcc.gnu.org>
23
24         PR libgfortran/25949
25         * io/io.h: Add set function pointer to struct stream.  
26         * io/unix.c (fd_seek): Only update offset, don't seek.
27         (fd_sset): New function.
28         (fd_read): Call lseek directly if necessary.
29         (fd_write): Likewise.
30         (fd_open): Set pointer to fd_sset.
31         (mem_set): New function.
32         (open_internal): Set pointer to mem_set.
33         * io/transfer.c (write_block_direct): Rename to write_buf, add
34         error return, non-pointer length argument.
35         (unformatted_write): Update to use write_buf.
36         (us_write): Simplify by using swrite instead of salloc_w.
37         (write_us_marker): New function.
38         (new_record_w): Use sset instead of memset, use write_us_marker,
39         simplify by using swrite instead of salloc_w.
40
41 2006-02-08  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
42
43         PR libfortran/25425
44         * libgfortran.h: Add pedantic field to compile_options struct.
45         * io/write.c (calculate_G_format): Depending on the standard,
46         choose E or F format for list-directed output of 0.0.
47         * runtime/error.c (notify_std): Make warning and error dependent
48         on pedanticity.
49         * runtime/compile_options.c (set_std): Use new pedantic argument.
50
51 2006-02-07  Dale Ranta  <dir@lanl.gov>
52
53         PR fortran/25577
54         * intrinsics/mvbits.c: Shift '(TYPE)1' type when building 'lenmask'.
55
56 2006-02-07  Rainer Emrich <r.emrich@de.tecosim.com>
57
58         * intrinsics/c99_functions.c: Work around incompatible
59         declarations of cabs{,f,l} on pre-C99 IRIX systems.
60
61 2005-02-06  Thomas Koenig  <Thomas.Koenig@online.de>
62
63         PR libfortran/23815
64         * runtime/environ.c (init_unformatted):  Add GFORTRAN_CONVERT_UNIT
65         environment variable.
66         (top level):  Add defines, type and static variables for
67         GFORTRAN_CONVERT_UNIT handling.
68         (search_unit):  New function.
69         (match_word): New function.
70         (match_integer): New function.
71         (next_token): New function.
72         (push_token): New function.
73         (mark_single): New function.
74         (mark_range): New funciton.
75         (do_parse): New function.
76         (init_unformatted): New function.
77         (get_unformatted_convert): New function.
78         * runtime/compile_options.c:  Add set_convert().
79         * libgfortran.h:  Add convert to compile_options_t.
80         * io/open.c (st_open): Call get_unformatted_convert to get
81         unit default; if CONVERT_NONE is returned, check for
82         the presence of a CONVERT specifier and use it.
83         As default, use compile_options.convert.
84         * io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal
85         "nothing has been set".
86         (top level): Add prototype for get_unformatted_convert.
87
88 2006-02-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
89
90         PR libfortran/24685
91         * io/write.c (write_real): Widen the default format for real(10)
92         variables output.
93
94 2006-01-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
95
96         PR libgfortran/25835
97         * io/transfer.c (st_read_done): Flush buffers when read is done.
98
99 2006-01-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
100
101         PR libgfortran/25697
102         * io/transfer.c (us_read): Detect end of file condition from previous
103         operations and bail out (no need to pre-position).
104
105 2006-01-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
106
107         PR libgfortran/25631
108         * io/transfer.c (formatted_transfer_scalar): Adjust pending_spaces and
109         skips so that TL works correctly when no bytes_used yet.  
110
111 2006-01-16  Roger Sayle  <roger@eyesopen.com>
112
113         * configure.ac (CFLAGS): Update to include -std=gnu99 so that
114         the configure tests will be run with the same environment as
115         used to compile the libgfortran source code.
116         * configure: Regenerate.
117
118 2006-01-12  Roger Sayle  <roger@eyesopen.com>
119
120         * intrinsics/c99_functions.c: Add function prototypes to avoid
121         warnings from -Wstrict-prototypes -Wmissing-prototypes.  On Tru64
122         work around a brain-dead libm by redirecting calls to cabs{,f,l}
123         to a local __gfc_cabs{,f,l}.
124
125 2006-01-07  Janne Blomqvist  <jb@gcc.gnu.org>
126
127         * configure.ac: Remove check for sys/mman.h.
128         * configure: Regenerated.
129         * Makefile.in: Regenerated.
130         * config.h.in: Regenerated.
131         * aclocal.m4: Regenerated.
132         
133 2006-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
134
135         PR libgfortran/25598
136         * io/file_pos.c (unformatted_backspace): Assure the new file position
137         to seek is not less than zero.
138         (st_backspace): Set unit bytes_left to zero.
139         * io/transfer.c (next_record_r): Fix line lengths, no functional change.
140
141 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
142
143         PR target/25259
144         * configure.ac: Use GCC_HEADER_STDINT.
145         * libgfortran.h: Include gstdint.h.
146         * aclocal.m4: Regenerate.
147         * configure: Regenerate.
148
149 2006-01-01  Steven G. Kargl  <kargls@comcast.net>
150
151         * ChangeLog: Split into years ...
152         * ChangeLog-2002: here.
153         * ChangeLog-2003: here.
154         * ChangeLog-2004: here.
155         * ChangeLog-2005: here.