OSDN Git Service

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