OSDN Git Service

bd1aecbc32bd70456aa80546ebf5e26236bde2c6
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2006-06-06  Janne Blomqvist  <jb@gcc.gnu.org>
2
3         * m4/in_pack.m4: Add TODO comment about detecting temporaries,
4         remove test for stride 0, update copyright year.
5         * m4/transpose.m4: Remove test for stride 0, update copyright
6         year.
7         * m4/iforeach.m4: Likewise.
8         * m4/shape.m4: Likewise.
9         * m4/in_unpack.m4: Likewise.
10         * m4/reshape.m4: Likewise.
11         * m4/ifunction.m4: Likewise.
12         * m4/matmul.m4: Likewise.
13         * m4/matmull.m4: Likewise.
14         * intrinsics/etime.c: Likewise.
15         * intrinsics/transpose_generic.c: Likewise.
16         * intrinsics/spread_generic.c: Likewise.
17         * intrinsics/stat.c: Likewise.
18         * intrinsics/reshape_generic.c: Likewise.
19         * intrinsics/random.c: Likewise.
20         * generated/*: Regenerated from above changed m4 files.
21         
22 2006-05-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
23
24         PR libgfortran/27757
25         * io/unix.c (fd_seek): Set active to zero.
26
27 2006-05-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
28
29         PR libgfortran/27634
30         * io/format.c (parse_format_list): Allow missing period in format only
31         if -std=legacy.
32
33 2006-05-28  Thomas Koenig  <Thomas.Koenig@online.de>
34
35         * intrinsics/string_intrinsics.c (compare_string):
36         Use memcmp instead of strncmp to avoid tripping over
37         CHAR(0) in a string.
38
39 2006-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
40
41         * io/io.h (find_or_create_unit): Correct export declaration.
42         
43 2006-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
44
45         * intrinsics/abort.c (abort_): Remove.
46
47 2006-05-26  Janne Blomqvist  <jb@gcc.gnu.org>
48
49         * configure.ac: Remove AC_FUNC_MMAP.
50         * configure: Regenerated.
51         * Makefile.in: Regenerated.
52         * config.h.in: Regenerated.
53         * aclocal.m4: Regenerated.
54
55 2006-05-25  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
56
57         * intrinsics/associated.c (associated): Zero-sized arrays should
58         not be reported as ASSOCIATED.
59
60 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
61
62         * Makefile.am: Add install-html target. Add install-html to .PHONY
63         * Makefile.in: Regenerate.
64         * aclocal.m4: Regenerate.
65         
66 2006-05-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
67
68         PR libgfortran/24459
69         * io/list_read.c (nml_parse_qualifier): Leave loop spec end value
70         at default value unless -std=f95 or if an array section
71         is specified in namelist input.  Warn if -pedantic.
72         * io/io.h (st_parameter_dt): Add expanded_read flag.
73
74 2006-05-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
75
76         PR libgfortran/22423
77         * io/transfer.c (read_block): Return NULL instead of nothing.
78         
79 2006-05-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
80
81         PR libgfortran/27575
82         * io/transfer.c (read_block):  Add check for end file condition.
83         (read_block_direct): Add check for end file condition.
84
85 2006-05-05  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
86
87         PR libfortran/26985
88         * m4/matmul.m4: Correct the condition for the memset call,
89         and remove the unneeded call to size0.
90         * generated/matmul_r4.c: Regenerate.
91         * generated/matmul_r8.c: Regenerate.
92         * generated/matmul_r10.c: Regenerate.
93         * generated/matmul_r16.c: Regenerate.
94         * generated/matmul_c4.c: Regenerate.
95         * generated/matmul_c8.c: Regenerate.
96         * generated/matmul_c10.c: Regenerate.
97         * generated/matmul_c16.c: Regenerate.
98         * generated/matmul_i4.c: Regenerate.
99         * generated/matmul_i8.c: Regenerate.
100         * generated/matmul_i16.c: Regenerate.
101
102 2006-04-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
103
104         PR libgfortran/27360
105         * io/list_read.c (read_logical):  Free line_buffer and free saved.
106
107 2006-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
108
109         PR libgfortran/27304
110         * io/transfer.c (formatted_transfer_scalar):  Generate error if data
111         descriptors are exhausted.
112         * io/format.c (next_format0): Fix comment.
113
114 2006-04-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
115
116         PR libgfortran/20257
117         * io/io.h: Add prototypes for get_internal_unit and free_internal_unit.
118         * io/unit.c (get_internal_unit): Initialize unit number, not zero.
119         (free_internal_unit): New function to consolidate freeing memory.
120         (get_unit): Initialize internal_unit_desc to NULL when unit is
121         external.
122         * io/unix.c (mem_close): Check for not NULL before freeing memory.
123         * io/transfer.c (read_block): Reset bytes_left and skip error if unit
124         is preconnected and default record length is reached.
125         (read_block_direct): Ditto.
126         (write_block): Ditto.
127         (write_buf): Ditto.
128         (data_transfer_init): Only flush if not internal unit.
129         (finalize_transfer): Ditto and delete code to free memory used by
130         internal units.
131         (st_read_done): Use new function - free_internal_unit.
132         (st_write_done): Use new function - free_internal unit.
133
134 2006-04-22  Jakub Jelinek  <jakub@redhat.com>
135
136         PR fortran/26769
137         * Makefile.am (i_transpose_c): Add generated/transpose_r16.c.
138         (i_reshape_c): Add generated/reshape_r16.c.
139         * Makefile.in: Regenerated.
140         * generated/transpose_r16.c: Generated new file.
141         * generated/redhape_r16.c: Generated new file.
142
143 2006-04-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
144
145         PR libgfortran/27138
146         * io/list_read.c (eat_line): New function.
147         (parse_repeat): Use new function and free_saved.
148         (read_logical): Same.
149         (read_integer): Use new function.
150         (parse_real): Use nml_bad_return and new function.
151         (read_complex): Use new function and free_saved.
152         (read_real): Same.
153
154 2006-04-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
155
156         PR libgfortran/26766
157         * io/io.h: Add bit to identify associated unit as internal.
158         * io/unit.c (get_external_unit): Renamed the find_unit_1 function to
159         reflect the external unit functionality vs internal unit.
160         (get_internal_unit): New function to allocate and initialize an internal
161         unit structure.
162         (get_unit): Use get_internal_unit and get_external_unit.
163         (is_internal_unit): Revised to use new bit added in io.h.
164         * io/transfer.c (data_transfer_init): Fix line width.
165         (st_read_done): Free memory allocated for internal unit.
166         (st_write_done): Add test to only flush and truncate when not an
167         internal unit.  Free memory allocated for internal unit.
168
169 2006-04-11  Jakub Jelinek  <jakub@redhat.com>
170
171         * io/io.h (st_parameter_dt): Revert 2005-12-10 change to
172         u.pad, fix comment.
173         (check_st_parameter_dt): New compile time assert.
174
175 2006-04-10  Jakub Jelinek  <jakub@redhat.com>
176
177         PR libgfortran/24685
178         * io/write.c (MIN_FIELD_WIDTH, STR, STR1): Define.
179         (output_float): Increase buffer sizes for IEEE quad and IBM extended
180         long double.
181         (write_real): Output REAL(16) as 1PG43.34E4 rather than 1PG40.31E4.
182
183 2006-04-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
184
185         PR libgfortran/26890
186         * io/io.h: Revert change to pad size made on 2006-03-30.
187         Add comment explaining dependency with fortran/trans-io.c.
188         
189 2006-04-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
190
191         * io/write.c (output_float): Update condition to not error when
192         decimal precision in format specifier is zero.
193
194 2006-04-01  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
195
196         * config/fpu-387.h: Use previously added SSE code in all
197         cases, as it really is the right thing to do.
198
199 2006-03-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
200
201         PR libgfortran/26890
202         * io/io.h: Add size_used to st_parameter_dt, adjust pad size.
203         *io/transfer.c (data_transfer_init): Initialize size_used to zero.
204         (read_sf): Use size_used.
205         (read_block): Likewise.
206         (read_block_direct): Likewise.
207         (write_block): Likewise.
208         (write_buf): Likewise and eliminate erroneous FAILURE return.
209         (finalize_transfer): Assign value of size_used to *dtp->size.
210
211 2006-03-30  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
212
213         PR libfortran/26712
214         * config/fpu-387.h: Add special case for handling of SSE
215         control bit on i386-darwin.
216
217 2006-03-30  Thomas Koenig  <Thomas.Koenig@online.de>
218
219         PR fortran/25031
220         * runtime/memory.c (allocate_array):  If stat is present and
221         the variable is already allocated, free the variable, do
222         the allocation and set stat.
223         (allocate_array_64):  Likewise.  Whitespace fix.
224
225 2006-03-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
226
227         PR libgfortran/26880
228         * io/file_pos.c (st_rewind): Clear read_bad flag.
229
230 2006-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
231
232         PR libgfortran/26661
233         * io/io.h: Add read_sf so it can be used by read_x.
234         * io/transfer.c (read_sf): Pass no_error flag to read_sf.  Use it to
235         break out rather than error on EOF or EOR conditions.
236         (read_block): Update call to read_sf.
237         (read_block_direct): Ditto.
238         * io/read.c (read_x): Use the modified read_sf instead of read_block.
239
240 2006-03-25  Thomas Koenig  <Thomas.Koenig@online.de>
241
242         PR libfortran/26735
243         * io/transfer.c (data_transfer_init):  Set u_flags.convert
244         on an unopened unit if specified by environment variable
245         (via get_unformatted_convert) or by compile-time option.
246
247 2006-03-25  Thomas Koenig  <Thomas.Koenig@online.de>
248
249         PR fortran/26769
250         * Makefile.am:  Add transpose_r10.c and reshape_r10.c.
251         * aclocal.m4:  Regenerate using aclocal 1.9.3.
252         * Makefile.in:  Regenerate using automake 1.9.3.
253         * m4/iparm.m4 (rtype_ccode):  If rtype_letter is `i',
254         evaluate to rtype_kind, otherwise to rtype_code.
255         * generated/transpose_r10.c:  Add.
256         * generated/reshape_r10.c:  Add.
257
258 2006-03-22  Thomas Koenig  <Thomas.Koenig@online.de>
259
260         PR fortran/19303
261         * libgfortran.h (compile_options_t):  Add record_marker.
262         * runtime/compile_options.c (set_record_marker):
263         New function.
264         * io/open.c:  If we have four-byte record markers, use
265         GFC_INTEGER_4_HUGE as default record length.
266         * io/file_pos.c (unformatted_backspace):  Handle
267         different size record markers.
268         * io/transfer.c (us_read):  Likewise.
269         (us_write):  Likewise.
270         (next_record_r):  Likewise.
271         (write_us_marker):  Likewise.
272         (next_record_w):  Likewise.
273
274 2006-03-20  Thomas Koenig  <Thomas.Koenig@online.de>
275
276         PR fortran/20935
277         * m4/iforeach.m4:  Add SCALAR_FOREACH_FUNCTION macro.
278         * m4/ifunction.m4:  Add SCALAR_ARRAY_FUNCTION macro.
279         * m4/minloc0.m4:  Use SCALAR_FOREACH_FUNCTION.
280         * m4/minloc1.m4:  Use SCALAR_ARRAY_FUNCTION.
281         * m4/maxloc0.m4:  Use SCALAR_FOREACH_FUNCTION.
282         * m4/maxloc1.m4:  Use SCALAR_ARRAY_FUNCTION.
283         * m4/minval.m4:  Likewise.
284         * m4/maxval.m4:  Likewise.
285         * m4/product.m4:  Likewise.
286         * m4/sum.m4:  Likewise.
287         * minloc0_16_i16.c : Regenerated.
288         * minloc0_16_i4.c : Regenerated.
289         * minloc0_16_i8.c : Regenerated.
290         * minloc0_16_r10.c : Regenerated.
291         * minloc0_16_r16.c : Regenerated.
292         * minloc0_16_r4.c : Regenerated.
293         * minloc0_16_r8.c : Regenerated.
294         * minloc0_4_i16.c : Regenerated.
295         * minloc0_4_i4.c : Regenerated.
296         * minloc0_4_i8.c : Regenerated.
297         * minloc0_4_r10.c : Regenerated.
298         * minloc0_4_r16.c : Regenerated.
299         * minloc0_4_r4.c : Regenerated.
300         * minloc0_4_r8.c : Regenerated.
301         * minloc0_8_i16.c : Regenerated.
302         * minloc0_8_i4.c : Regenerated.
303         * minloc0_8_i8.c : Regenerated.
304         * minloc0_8_r10.c : Regenerated.
305         * minloc0_8_r16.c : Regenerated.
306         * minloc0_8_r4.c : Regenerated.
307         * minloc0_8_r8.c : Regenerated.
308         * minloc1_16_i16.c : Regenerated.
309         * minloc1_16_i4.c : Regenerated.
310         * minloc1_16_i8.c : Regenerated.
311         * minloc1_16_r10.c : Regenerated.
312         * minloc1_16_r16.c : Regenerated.
313         * minloc1_16_r4.c : Regenerated.
314         * minloc1_16_r8.c : Regenerated.
315         * minloc1_4_i16.c : Regenerated.
316         * minloc1_4_i4.c : Regenerated.
317         * minloc1_4_i8.c : Regenerated.
318         * minloc1_4_r10.c : Regenerated.
319         * minloc1_4_r16.c : Regenerated.
320         * minloc1_4_r4.c : Regenerated.
321         * minloc1_4_r8.c : Regenerated.
322         * minloc1_8_i16.c : Regenerated.
323         * minloc1_8_i4.c : Regenerated.
324         * minloc1_8_i8.c : Regenerated.
325         * minloc1_8_r10.c : Regenerated.
326         * minloc1_8_r16.c : Regenerated.
327         * minloc1_8_r4.c : Regenerated.
328         * minloc1_8_r8.c : Regenerated.
329         * maxloc0_16_i16.c : Regenerated.
330         * maxloc0_16_i4.c : Regenerated.
331         * maxloc0_16_i8.c : Regenerated.
332         * maxloc0_16_r10.c : Regenerated.
333         * maxloc0_16_r16.c : Regenerated.
334         * maxloc0_16_r4.c : Regenerated.
335         * maxloc0_16_r8.c : Regenerated.
336         * maxloc0_4_i16.c : Regenerated.
337         * maxloc0_4_i4.c : Regenerated.
338         * maxloc0_4_i8.c : Regenerated.
339         * maxloc0_4_r10.c : Regenerated.
340         * maxloc0_4_r16.c : Regenerated.
341         * maxloc0_4_r4.c : Regenerated.
342         * maxloc0_4_r8.c : Regenerated.
343         * maxloc0_8_i16.c : Regenerated.
344         * maxloc0_8_i4.c : Regenerated.
345         * maxloc0_8_i8.c : Regenerated.
346         * maxloc0_8_r10.c : Regenerated.
347         * maxloc0_8_r16.c : Regenerated.
348         * maxloc0_8_r4.c : Regenerated.
349         * maxloc0_8_r8.c : Regenerated.
350         * maxloc1_16_i16.c : Regenerated.
351         * maxloc1_16_i4.c : Regenerated.
352         * maxloc1_16_i8.c : Regenerated.
353         * maxloc1_16_r10.c : Regenerated.
354         * maxloc1_16_r16.c : Regenerated.
355         * maxloc1_16_r4.c : Regenerated.
356         * maxloc1_16_r8.c : Regenerated.
357         * maxloc1_4_i16.c : Regenerated.
358         * maxloc1_4_i4.c : Regenerated.
359         * maxloc1_4_i8.c : Regenerated.
360         * maxloc1_4_r10.c : Regenerated.
361         * maxloc1_4_r16.c : Regenerated.
362         * maxloc1_4_r4.c : Regenerated.
363         * maxloc1_4_r8.c : Regenerated.
364         * maxloc1_8_i16.c : Regenerated.
365         * maxloc1_8_i4.c : Regenerated.
366         * maxloc1_8_i8.c : Regenerated.
367         * maxloc1_8_r10.c : Regenerated.
368         * maxloc1_8_r16.c : Regenerated.
369         * maxloc1_8_r4.c : Regenerated.
370         * maxloc1_8_r8.c : Regenerated.
371         * maxval_i16.c : Regenerated.
372         * maxval_i4.c : Regenerated.
373         * maxval_i8.c : Regenerated.
374         * maxval_r10.c : Regenerated.
375         * maxval_r16.c : Regenerated.
376         * maxval_r4.c : Regenerated.
377         * maxval_r8.c : Regenerated.
378         * minval_i16.c : Regenerated.
379         * minval_i4.c : Regenerated.
380         * minval_i8.c : Regenerated.
381         * minval_r10.c : Regenerated.
382         * minval_r16.c : Regenerated.
383         * minval_r4.c : Regenerated.
384         * minval_r8.c : Regenerated.
385         * sum_c10.c : Regenerated.
386         * sum_c16.c : Regenerated.
387         * sum_c4.c : Regenerated.
388         * sum_c8.c : Regenerated.
389         * sum_i16.c : Regenerated.
390         * sum_i4.c : Regenerated.
391         * sum_i8.c : Regenerated.
392         * sum_r10.c : Regenerated.
393         * sum_r16.c : Regenerated.
394         * sum_r4.c : Regenerated.
395         * sum_r8.c : Regenerated.
396         * product_c10.c : Regenerated.
397         * product_c16.c : Regenerated.
398         * product_c4.c : Regenerated.
399         * product_c8.c : Regenerated.
400         * product_i16.c : Regenerated.
401         * product_i4.c : Regenerated.
402         * product_i8.c : Regenerated.
403         * product_r10.c : Regenerated.
404         * product_r16.c : Regenerated.
405         * product_r4.c : Regenerated.
406         * product_r8.c : Regenerated.
407
408 2006-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
409
410         PR libgfortran/26509
411         * libgfortran.h: Add ERROR_DIRECT_EOR.
412         * runtime/error.c (translate_error): Add translation for new error.
413         * io/transfer.c (write_buf): Add check for EOR when mode is 
414         direct access.
415
416 2006-03-13  Paul Thomas  <pault@gcc.gnu.org>
417
418         PR fortran/25378
419         * libgfortran/m4/minloc1.m4: Set the initial position to zero and
420         modify the condition for updating it, to implement the F2003
421         requirement for all(mask).eq.false.
422         * libgfortran/m4/maxloc1.m4: The same.
423         * libgfortran/m4/iforeach.m4: The same.
424         * libgfortran/m4/minloc0.m4: The same.
425         * libgfortran/m4/maxloc0.m4: The same.
426         * libgfortran/generated/maxloc0_16_i16.c: Regenerated, together
427         with 41 others.
428         * libgfortran/generated/minloc0_16_i16.c: Regenerated, together
429         with 41 others.
430
431 2006-03-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
432
433         PR libgfortran/26499
434         * io/file_pos (st_rewind): Flush always.
435         * io/unix.c (fd_truncate): Return SUCCESS rather than FAILURE for
436         special files like /dev/null.
437         * io/transfer.c (st_write_done): Remove broken logic that
438         prevented calling fd_truncate.
439
440 2006-03-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
441
442         PR libgfortran/26554
443         * io/list_read.c (read_logical): Return the value if not in namelist
444         mode.
445
446 2006-03-03  Thomas Koenig  <Thomas.Koenig@online.de>
447
448         PR fortran/25031
449         * runtime/memory.c:  Adjust copyright years.
450         (allocate_array):  New function.
451         (allocate64_array):  New function.
452         * libgfortran.h (error_codes):  Add ERROR_ALLOCATION.
453
454 2006-02-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
455
456         PR libgfortran/26136
457         * io/io.h: Add flag for reading from line_buffer.
458         * io/list_read.c (l_push_char): New function to save namelist
459         input when reading logicals.
460         (free_line): New function to free line_buffer memory.
461         (next_char): Added feature to read from line_buffer.
462         (read_logical): Use new functions to test for '=' after reading a
463         logical value, checking for possible variable name.
464         (namelist_read): Use free_line when all done.
465
466 2006-02-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
467
468         PR libgfortran/26464
469         * io/file_pos.c (st_backspace): Flush and truncate file
470         when in AFTER_ENDFILE condition.
471         * io/transfer.c (st_read_done): Remove flush, no longer needed.
472
473 2006-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
474
475         PR libgfortran/26423
476         * io/unix.c (fd_seek): Revert change from 25949.
477         (fd_read): Same.
478         (fd_write): Same.
479
480 2006-02-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
481
482         * io/open.c (edit_modes): Correct abusive copy-pasting.
483
484 2006-02-16  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
485
486         PR libfortran/24903
487         * m4/dotprodc.m4: Use __builtin_conj instead of assigning real
488         and imaginary parts separately.
489         * generated/dotprod_c4.c: Regenerated.
490         * generated/dotprod_c8.c: Regenerated.
491         * generated/dotprod_c10.c: Regenerated.
492         * generated/dotprod_c16.c: Regenerated.
493
494 2006-02-12  Janne Blomqvist  <jb@gcc.gnu.org>
495
496         PR libgfortran/25949
497         * io/io.h: Add set function pointer to struct stream.  
498         * io/unix.c (fd_seek): Only update offset, don't seek.
499         (fd_sset): New function.
500         (fd_read): Call lseek directly if necessary.
501         (fd_write): Likewise.
502         (fd_open): Set pointer to fd_sset.
503         (mem_set): New function.
504         (open_internal): Set pointer to mem_set.
505         * io/transfer.c (write_block_direct): Rename to write_buf, add
506         error return, non-pointer length argument.
507         (unformatted_write): Update to use write_buf.
508         (us_write): Simplify by using swrite instead of salloc_w.
509         (write_us_marker): New function.
510         (new_record_w): Use sset instead of memset, use write_us_marker,
511         simplify by using swrite instead of salloc_w.
512
513 2006-02-08  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
514
515         PR libfortran/25425
516         * libgfortran.h: Add pedantic field to compile_options struct.
517         * io/write.c (calculate_G_format): Depending on the standard,
518         choose E or F format for list-directed output of 0.0.
519         * runtime/error.c (notify_std): Make warning and error dependent
520         on pedanticity.
521         * runtime/compile_options.c (set_std): Use new pedantic argument.
522
523 2006-02-07  Dale Ranta  <dir@lanl.gov>
524
525         PR fortran/25577
526         * intrinsics/mvbits.c: Shift '(TYPE)1' type when building 'lenmask'.
527
528 2006-02-07  Rainer Emrich <r.emrich@de.tecosim.com>
529
530         * intrinsics/c99_functions.c: Work around incompatible
531         declarations of cabs{,f,l} on pre-C99 IRIX systems.
532
533 2005-02-06  Thomas Koenig  <Thomas.Koenig@online.de>
534
535         PR libfortran/23815
536         * runtime/environ.c (init_unformatted):  Add GFORTRAN_CONVERT_UNIT
537         environment variable.
538         (top level):  Add defines, type and static variables for
539         GFORTRAN_CONVERT_UNIT handling.
540         (search_unit):  New function.
541         (match_word): New function.
542         (match_integer): New function.
543         (next_token): New function.
544         (push_token): New function.
545         (mark_single): New function.
546         (mark_range): New funciton.
547         (do_parse): New function.
548         (init_unformatted): New function.
549         (get_unformatted_convert): New function.
550         * runtime/compile_options.c:  Add set_convert().
551         * libgfortran.h:  Add convert to compile_options_t.
552         * io/open.c (st_open): Call get_unformatted_convert to get
553         unit default; if CONVERT_NONE is returned, check for
554         the presence of a CONVERT specifier and use it.
555         As default, use compile_options.convert.
556         * io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal
557         "nothing has been set".
558         (top level): Add prototype for get_unformatted_convert.
559
560 2006-02-06  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
561
562         PR libfortran/24685
563         * io/write.c (write_real): Widen the default format for real(10)
564         variables output.
565
566 2006-01-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
567
568         PR libgfortran/25835
569         * io/transfer.c (st_read_done): Flush buffers when read is done.
570
571 2006-01-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
572
573         PR libgfortran/25697
574         * io/transfer.c (us_read): Detect end of file condition from previous
575         operations and bail out (no need to pre-position).
576
577 2006-01-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
578
579         PR libgfortran/25631
580         * io/transfer.c (formatted_transfer_scalar): Adjust pending_spaces and
581         skips so that TL works correctly when no bytes_used yet.  
582
583 2006-01-16  Roger Sayle  <roger@eyesopen.com>
584
585         * configure.ac (CFLAGS): Update to include -std=gnu99 so that
586         the configure tests will be run with the same environment as
587         used to compile the libgfortran source code.
588         * configure: Regenerate.
589
590 2006-01-12  Roger Sayle  <roger@eyesopen.com>
591
592         * intrinsics/c99_functions.c: Add function prototypes to avoid
593         warnings from -Wstrict-prototypes -Wmissing-prototypes.  On Tru64
594         work around a brain-dead libm by redirecting calls to cabs{,f,l}
595         to a local __gfc_cabs{,f,l}.
596
597 2006-01-07  Janne Blomqvist  <jb@gcc.gnu.org>
598
599         * configure.ac: Remove check for sys/mman.h.
600         * configure: Regenerated.
601         * Makefile.in: Regenerated.
602         * config.h.in: Regenerated.
603         * aclocal.m4: Regenerated.
604         
605 2006-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
606
607         PR libgfortran/25598
608         * io/file_pos.c (unformatted_backspace): Assure the new file position
609         to seek is not less than zero.
610         (st_backspace): Set unit bytes_left to zero.
611         * io/transfer.c (next_record_r): Fix line lengths, no functional change.
612
613 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
614
615         PR target/25259
616         * configure.ac: Use GCC_HEADER_STDINT.
617         * libgfortran.h: Include gstdint.h.
618         * aclocal.m4: Regenerate.
619         * configure: Regenerate.
620
621 2006-01-01  Steven G. Kargl  <kargls@comcast.net>
622
623         * ChangeLog: Split into years ...
624         * ChangeLog-2002: here.
625         * ChangeLog-2003: here.
626         * ChangeLog-2004: here.
627         * ChangeLog-2005: here.