2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / libgfortran / ChangeLog
blob59ac4da949f60bf311b82b2f175de993bcc29e94
1 2013-05-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3         * acinclude.m4 (libgfor_cv_have_as_needed): Check for -z ignore, too.
4         * configure: Regenerate.
6 2013-05-05  David Edelsohn  <dje.gcc@gmail.com>
8         * caf/libcaf.h (_gfortran_caf_critical): Add a prototype.
9         (_gfortran_caf_end_critical): Same.
11 2013-05-04  David Edelsohn  <dje.gcc@gmail.com>
13         * runtime/environ.c: Include unistd.h.
14         * runtime/pause.c: Test HAVE_UNISTD_H.
15         * runtime/stop.c: Same.
16         * io/open.c: Same.
17         * io/unix.c: Same.
18         * io/read.c (si_max): Protect declaration of value.
20 2013-04-29  Janne Blomqvist  <jb@gcc.gnu.org>
22         * intrinsics/system_clock (gf_gettime_mono): Use variable
23         resolution for fractional seconds argument.
24         (system_clock_4): Simplify, update for gf_gettime_mono change.
25         (system_clock_8): Likewise.
27 2013-04-29  Janne Blomqvist  <jb@gcc.gnu.org>
29         PR fortran/56981
30         * io/transfer.c (next_record_w_unf): First fix head marker, then
31         write tail.
32         (next_record): Call flush_if_unbuffered.
33         * io/unix.c (struct unix_stream): Add field unbuffered.
34         (flush_if_unbuffered): New function.
35         (fd_to_stream): New argument.
36         (open_external): Fix fd_to_stream call.
37         (input_stream): Likewise.
38         (output_stream): Likewise.
39         (error_stream): Likewise.
40         * io/unix.h (flush_if_unbuffered): New prototype.
42 2013-04-28  Janne Blomqvist  <jb@gcc.gnu.org>
44         * intrinsics/system_clock.c (system_clock_4): Fix sign error in
45         Windows version.
47 2013-04-15  Tobias Burnus  <burnus@net-b.de>
49         * list_read.c (finish_separator): Initialize variable.
51 2013-04-15  Janne Blomqvist  <jb@gcc.gnu.org>
53         PR fortran/56919
54         * intrinsics/time_1.h: Check __CYGWIN__ in addition to
55         __MINGW32__.
56         * intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
57         _POSIX_MONOTONIC_CLOCK as well.
58         (system_clock_4): Use GetTickCount on Windows.
59         (system_clock_8): Use QueryPerformanceCounter and
60         QueryPerformanceCounterFrequency on Windows.
62 2013-04-04  Tobias Burnus  <burnus@net-b.de>
64         PR fortran/56810
65         * io/list_read.c (check_type): Fix kind checking for COMPLEX.
67 2013-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
69         PR libfortran/56660
70         * io/list_read.c (nml_read_obj): Do not reset the read error flag
71         inside nml_read_obj. If the read error flag is found set just exit.
72         Fix some whitespace on comments.
73         (nml_read_obj_data): Reset the read error flag before the first call
74         to nml_read_object.
76 2013-03-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
78         PR libfortran/56786
79         * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
80         when checking for EOF. Use error return mechanism when EOF detected.
81         Do not return false unless parse_err_msg and parse_err_msg_size have
82         been set. Use hit_eof.
83         (nml_get_obj_data): Likewise use the correct error mechanism.
84         * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
85         mode.
87 2013-03-29  Tobias Burnus  <burnus@net-b.de>
89         PR fortran/56737
90         * io/format.c (parse_format_list): Also cache FMT_STRING.
91         (parse_format): Update call.
93 2013-03-29  Tobias Burnus  <burnus@net-b.de>
95         PR fortran/56737
96         * io/format.c (parse_format): With caching, copy
97         dtp->format string.
98         (save_parsed_format): Use dtp->format directy without
99         copying.
101 2013-03-29  Tobias Burnus  <burnus@net-b.de>
103         PR fortran/56735
104         * io/list_read.c (nml_query): Only abort when
105         an error occured.
106         (namelist_read): Add goto instead of falling through.
108 2013-03-25  Tilo Schwarz  <tilo@tilo-schwarz.de>
110         PR libfortran/52512
111         * io/list_read.c (nml_parse_qualifier): To check for a derived type
112         don't use the namelist head element type but the current element type.
113         (nml_get_obj_data): Add current namelist element type to
114         nml_parse_qualifier call.
116 2013-03-24  Tobias Burnus  <burnus@net-b.de>
118         PR fortran/56696
119         * io/list_read.c (read_real): Fix EOF diagnostic.
121 2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>
123         PR libfortran/51825
124         * io/list_read.c (nml_read_obj): Don't end the component loop on a
125         nested derived type, but continue with the next loop iteration.
126         (nml_get_obj_data): Don't move the first_nl pointer further in the
127         list if a qualifier was found.
129 2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>
131         PR libfortran/48618
132         * io/open.c (st_open): Raise error for unit number < 0 only if
133         unit number does not exist already.
135 2013-03-19  Janne Blomqvist  <jb@gcc.gnu.org>
137         * libgfortran.h: Include stdbool.h.
138         (enum try): Remove.
139         (notify_std): Change return type to bool.
140         * intrinsics/chmod.c: Don't include stdbool.h.
141         * intrinsics/execute_command_line.c: Likewise.
142         * io/format.c: Likewise.
143         * io/list_read.c (nml_parse_qualifier): Change return type to bool.
144         (nml_read_obj): Likewise.
145         (nml_get_obj_data): Likewise.
146         * io/transfer.c (read_block_form): Fix comment.
147         (write_buf): Change return type to bool.
148         * io/write.c: Don't include stdbool.h.
149         * io/write_float.def (output_float): Change return type to bool.
150         (output_float_FMT_G_ ## x): Change type of result variable.
151         * runtime/error.c (notify_std): Change return type to bool.
153 2013-03-11  Tobias Burnus  <burnus@net-b.de>
155         * io/transfer.c (read_block_direct): Correct condition.
156         * intrinsics/execute_command_line.c (execute_command_line):
157         Remove dead code for the HAVE_FORK case.
159 2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>
161         PR libfortran/30162
162         * io/open.c (test_endfile): Call stell only if size != 0.
163         * io/unix.c (raw_tell): Revert r194679.
164         (raw_size): Return size field only for regular files, otherwise 0.
166 2013-02-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
168         PR target/56347
169         * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
170         broken powf.
171         * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
172         * intrinsics/c99_functions.c: Likewise.
173         * configure: Rebuilt.
174         * config.h.in: Rebuilt.
176 2013-02-06  Janus Weil  <janus@gcc.gnu.org>
178         PR fortran/55978
179         * runtime/in_pack_generic.c (internal_pack): Return if base_addr is
180         NULL.
182 2013-01-23  Janne Blomqvist  <jb@gcc.gnu.org>
184         * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX
185         instead of reverse_memcpy.
186         * io/io.h (reverse_memcpy): Remove prototype.
187         * io/transfer.c (reverse_memcpy): Make static, move towards
188         beginning of file.
189         (bswap_array): New function.
190         (unformatted_read): Use bswap_array to byte swap the data
191         in-place.
192         (unformatted_write): Use a larger temp buffer and bswap_array.
193         (us_read): Use __builtin_bswapXX instead of reverse_memcpy.
194         (write_us_marker): Likewise.
196 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
198         Update copyright years.
200 2013-01-06  Tobias Burnus  <burnus@net-b.de>
202         PR fortran/54678
203         * intrinsics/env.c (get_environment_variable_i8): Don't use
204         uninitialized variable.
206 2013-01-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
208         PR libfortran/55818
209         * io/list_read.c (read_real): Do not call hit_eof when EOF can be
210         treated as a value separator.
211         (parse_real): Likewise.
212         (read_logical): Likewise.
213         (read_character): Likewise.
214         (read_complex): Likewise.
216 Copyright (C) 2013 Free Software Foundation, Inc.
218 Copying and distribution of this file, with or without modification,
219 are permitted in any medium without royalty provided the copyright
220 notice and this notice are preserved.