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