1 2006-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * libgfortran.h: Add ERROR_DIRECT_EOR.
5 * runtime/error.c (translate_error): Add translation for new error.
6 * io/transfer.c (write_buf): Add check for EOR when mode is
9 2006-03-13 Paul Thomas <pault@gcc.gnu.org>
12 * libgfortran/m4/minloc1.m4: Set the initial position to zero and
13 modify the condition for updating it, to implement the F2003
14 requirement for all(mask).eq.false.
15 * libgfortran/m4/maxloc1.m4: The same.
16 * libgfortran/m4/iforeach.m4: The same.
17 * libgfortran/m4/minloc0.m4: The same.
18 * libgfortran/m4/maxloc0.m4: The same.
19 * libgfortran/generated/maxloc0_16_i16.c: Regenerated, together
21 * libgfortran/generated/minloc0_16_i16.c: Regenerated, together
24 2006-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
27 * io/file_pos (st_rewind): Flush always.
28 * io/unix.c (fd_truncate): Return SUCCESS rather than FAILURE for
29 special files like /dev/null.
30 * io/transfer.c (st_write_done): Remove broken logic that
31 prevented calling fd_truncate.
33 2006-03-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
36 * io/list_read.c (read_logical): Return the value if not in namelist
39 2006-03-03 Thomas Koenig <Thomas.Koenig@online.de>
42 * runtime/memory.c: Adjust copyright years.
43 (allocate_array): New function.
44 (allocate64_array): New function.
45 * libgfortran.h (error_codes): Add ERROR_ALLOCATION.
47 2006-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
50 * io/io.h: Add flag for reading from line_buffer.
51 * io/list_read.c (l_push_char): New function to save namelist
52 input when reading logicals.
53 (free_line): New function to free line_buffer memory.
54 (next_char): Added feature to read from line_buffer.
55 (read_logical): Use new functions to test for '=' after reading a
56 logical value, checking for possible variable name.
57 (namelist_read): Use free_line when all done.
59 2006-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
62 * io/file_pos.c (st_backspace): Flush and truncate file
63 when in AFTER_ENDFILE condition.
64 * io/transfer.c (st_read_done): Remove flush, no longer needed.
66 2006-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
69 * io/unix.c (fd_seek): Revert change from 25949.
73 2006-02-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
75 * io/open.c (edit_modes): Correct abusive copy-pasting.
77 2006-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
80 * m4/dotprodc.m4: Use __builtin_conj instead of assigning real
81 and imaginary parts separately.
82 * generated/dotprod_c4.c: Regenerated.
83 * generated/dotprod_c8.c: Regenerated.
84 * generated/dotprod_c10.c: Regenerated.
85 * generated/dotprod_c16.c: Regenerated.
87 2006-02-12 Janne Blomqvist <jb@gcc.gnu.org>
90 * io/io.h: Add set function pointer to struct stream.
91 * io/unix.c (fd_seek): Only update offset, don't seek.
92 (fd_sset): New function.
93 (fd_read): Call lseek directly if necessary.
95 (fd_open): Set pointer to fd_sset.
96 (mem_set): New function.
97 (open_internal): Set pointer to mem_set.
98 * io/transfer.c (write_block_direct): Rename to write_buf, add
99 error return, non-pointer length argument.
100 (unformatted_write): Update to use write_buf.
101 (us_write): Simplify by using swrite instead of salloc_w.
102 (write_us_marker): New function.
103 (new_record_w): Use sset instead of memset, use write_us_marker,
104 simplify by using swrite instead of salloc_w.
106 2006-02-08 Francois-Xavier Coudert <coudert@clipper.ens.fr>
109 * libgfortran.h: Add pedantic field to compile_options struct.
110 * io/write.c (calculate_G_format): Depending on the standard,
111 choose E or F format for list-directed output of 0.0.
112 * runtime/error.c (notify_std): Make warning and error dependent
114 * runtime/compile_options.c (set_std): Use new pedantic argument.
116 2006-02-07 Dale Ranta <dir@lanl.gov>
119 * intrinsics/mvbits.c: Shift '(TYPE)1' type when building 'lenmask'.
121 2006-02-07 Rainer Emrich <r.emrich@de.tecosim.com>
123 * intrinsics/c99_functions.c: Work around incompatible
124 declarations of cabs{,f,l} on pre-C99 IRIX systems.
126 2005-02-06 Thomas Koenig <Thomas.Koenig@online.de>
129 * runtime/environ.c (init_unformatted): Add GFORTRAN_CONVERT_UNIT
130 environment variable.
131 (top level): Add defines, type and static variables for
132 GFORTRAN_CONVERT_UNIT handling.
133 (search_unit): New function.
134 (match_word): New function.
135 (match_integer): New function.
136 (next_token): New function.
137 (push_token): New function.
138 (mark_single): New function.
139 (mark_range): New funciton.
140 (do_parse): New function.
141 (init_unformatted): New function.
142 (get_unformatted_convert): New function.
143 * runtime/compile_options.c: Add set_convert().
144 * libgfortran.h: Add convert to compile_options_t.
145 * io/open.c (st_open): Call get_unformatted_convert to get
146 unit default; if CONVERT_NONE is returned, check for
147 the presence of a CONVERT specifier and use it.
148 As default, use compile_options.convert.
149 * io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal
150 "nothing has been set".
151 (top level): Add prototype for get_unformatted_convert.
153 2006-02-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
156 * io/write.c (write_real): Widen the default format for real(10)
159 2006-01-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
162 * io/transfer.c (st_read_done): Flush buffers when read is done.
164 2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
167 * io/transfer.c (us_read): Detect end of file condition from previous
168 operations and bail out (no need to pre-position).
170 2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
173 * io/transfer.c (formatted_transfer_scalar): Adjust pending_spaces and
174 skips so that TL works correctly when no bytes_used yet.
176 2006-01-16 Roger Sayle <roger@eyesopen.com>
178 * configure.ac (CFLAGS): Update to include -std=gnu99 so that
179 the configure tests will be run with the same environment as
180 used to compile the libgfortran source code.
181 * configure: Regenerate.
183 2006-01-12 Roger Sayle <roger@eyesopen.com>
185 * intrinsics/c99_functions.c: Add function prototypes to avoid
186 warnings from -Wstrict-prototypes -Wmissing-prototypes. On Tru64
187 work around a brain-dead libm by redirecting calls to cabs{,f,l}
188 to a local __gfc_cabs{,f,l}.
190 2006-01-07 Janne Blomqvist <jb@gcc.gnu.org>
192 * configure.ac: Remove check for sys/mman.h.
193 * configure: Regenerated.
194 * Makefile.in: Regenerated.
195 * config.h.in: Regenerated.
196 * aclocal.m4: Regenerated.
198 2006-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
201 * io/file_pos.c (unformatted_backspace): Assure the new file position
202 to seek is not less than zero.
203 (st_backspace): Set unit bytes_left to zero.
204 * io/transfer.c (next_record_r): Fix line lengths, no functional change.
206 2006-01-02 Paolo Bonzini <bonzini@gnu.org>
209 * configure.ac: Use GCC_HEADER_STDINT.
210 * libgfortran.h: Include gstdint.h.
211 * aclocal.m4: Regenerate.
212 * configure: Regenerate.
214 2006-01-01 Steven G. Kargl <kargls@comcast.net>
216 * ChangeLog: Split into years ...
217 * ChangeLog-2002: here.
218 * ChangeLog-2003: here.
219 * ChangeLog-2004: here.
220 * ChangeLog-2005: here.