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