OSDN Git Service

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