MAINTAINERS: Update my email; move myself from Fortran reviewer to Write After Approval.
[official-gcc.git] / libgfortran / ChangeLog
blob334220de476a8a7d21b10a38ab5c60bd5331a093
1 2013-04-29  Janne Blomqvist  <jb@gcc.gnu.org>
3         * intrinsics/system_clock (gf_gettime_mono): Use variable
4         resolution for fractional seconds argument.
5         (system_clock_4): Simplify, update for gf_gettime_mono change.
6         (system_clock_8): Likewise.
8 2013-04-29  Janne Blomqvist  <jb@gcc.gnu.org>
10         PR fortran/56981
11         * io/transfer.c (next_record_w_unf): First fix head marker, then
12         write tail.
13         (next_record): Call flush_if_unbuffered.
14         * io/unix.c (struct unix_stream): Add field unbuffered.
15         (flush_if_unbuffered): New function.
16         (fd_to_stream): New argument.
17         (open_external): Fix fd_to_stream call.
18         (input_stream): Likewise.
19         (output_stream): Likewise.
20         (error_stream): Likewise.
21         * io/unix.h (flush_if_unbuffered): New prototype.
23 2013-04-28  Janne Blomqvist  <jb@gcc.gnu.org>
25         * intrinsics/system_clock.c (system_clock_4): Fix sign error in
26         Windows version.
28 2013-04-15  Tobias Burnus  <burnus@net-b.de>
30         * list_read.c (finish_separator): Initialize variable.
32 2013-04-15  Janne Blomqvist  <jb@gcc.gnu.org>
34         PR fortran/56919
35         * intrinsics/time_1.h: Check __CYGWIN__ in addition to
36         __MINGW32__.
37         * intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
38         _POSIX_MONOTONIC_CLOCK as well.
39         (system_clock_4): Use GetTickCount on Windows.
40         (system_clock_8): Use QueryPerformanceCounter and
41         QueryPerformanceCounterFrequency on Windows.
43 2013-04-04  Tobias Burnus  <burnus@net-b.de>
45         PR fortran/56810
46         * io/list_read.c (check_type): Fix kind checking for COMPLEX.
48 2013-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
50         PR libfortran/56660
51         * io/list_read.c (nml_read_obj): Do not reset the read error flag
52         inside nml_read_obj. If the read error flag is found set just exit.
53         Fix some whitespace on comments.
54         (nml_read_obj_data): Reset the read error flag before the first call
55         to nml_read_object.
57 2013-03-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
59         PR libfortran/56786
60         * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
61         when checking for EOF. Use error return mechanism when EOF detected.
62         Do not return false unless parse_err_msg and parse_err_msg_size have
63         been set. Use hit_eof.
64         (nml_get_obj_data): Likewise use the correct error mechanism.
65         * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
66         mode.
68 2013-03-29  Tobias Burnus  <burnus@net-b.de>
70         PR fortran/56737
71         * io/format.c (parse_format_list): Also cache FMT_STRING.
72         (parse_format): Update call.
74 2013-03-29  Tobias Burnus  <burnus@net-b.de>
76         PR fortran/56737
77         * io/format.c (parse_format): With caching, copy
78         dtp->format string.
79         (save_parsed_format): Use dtp->format directy without
80         copying.
82 2013-03-29  Tobias Burnus  <burnus@net-b.de>
84         PR fortran/56735
85         * io/list_read.c (nml_query): Only abort when
86         an error occured.
87         (namelist_read): Add goto instead of falling through.
89 2013-03-25  Tilo Schwarz  <tilo@tilo-schwarz.de>
91         PR libfortran/52512
92         * io/list_read.c (nml_parse_qualifier): To check for a derived type
93         don't use the namelist head element type but the current element type.
94         (nml_get_obj_data): Add current namelist element type to
95         nml_parse_qualifier call.
97 2013-03-24  Tobias Burnus  <burnus@net-b.de>
99         PR fortran/56696
100         * io/list_read.c (read_real): Fix EOF diagnostic.
102 2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>
104         PR libfortran/51825
105         * io/list_read.c (nml_read_obj): Don't end the component loop on a
106         nested derived type, but continue with the next loop iteration.
107         (nml_get_obj_data): Don't move the first_nl pointer further in the
108         list if a qualifier was found.
110 2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>
112         PR libfortran/48618
113         * io/open.c (st_open): Raise error for unit number < 0 only if
114         unit number does not exist already.
116 2013-03-19  Janne Blomqvist  <jb@gcc.gnu.org>
118         * libgfortran.h: Include stdbool.h.
119         (enum try): Remove.
120         (notify_std): Change return type to bool.
121         * intrinsics/chmod.c: Don't include stdbool.h.
122         * intrinsics/execute_command_line.c: Likewise.
123         * io/format.c: Likewise.
124         * io/list_read.c (nml_parse_qualifier): Change return type to bool.
125         (nml_read_obj): Likewise.
126         (nml_get_obj_data): Likewise.
127         * io/transfer.c (read_block_form): Fix comment.
128         (write_buf): Change return type to bool.
129         * io/write.c: Don't include stdbool.h.
130         * io/write_float.def (output_float): Change return type to bool.
131         (output_float_FMT_G_ ## x): Change type of result variable.
132         * runtime/error.c (notify_std): Change return type to bool.
134 2013-03-11  Tobias Burnus  <burnus@net-b.de>
136         * io/transfer.c (read_block_direct): Correct condition.
137         * intrinsics/execute_command_line.c (execute_command_line):
138         Remove dead code for the HAVE_FORK case.
140 2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>
142         PR libfortran/30162
143         * io/open.c (test_endfile): Call stell only if size != 0.
144         * io/unix.c (raw_tell): Revert r194679.
145         (raw_size): Return size field only for regular files, otherwise 0.
147 2013-02-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
149         PR target/56347
150         * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
151         broken powf.
152         * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
153         * intrinsics/c99_functions.c: Likewise.
154         * configure: Rebuilt.
155         * config.h.in: Rebuilt.
157 2013-02-06  Janus Weil  <janus@gcc.gnu.org>
159         PR fortran/55978
160         * runtime/in_pack_generic.c (internal_pack): Return if base_addr is
161         NULL.
163 2013-01-23  Janne Blomqvist  <jb@gcc.gnu.org>
165         * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX
166         instead of reverse_memcpy.
167         * io/io.h (reverse_memcpy): Remove prototype.
168         * io/transfer.c (reverse_memcpy): Make static, move towards
169         beginning of file.
170         (bswap_array): New function.
171         (unformatted_read): Use bswap_array to byte swap the data
172         in-place.
173         (unformatted_write): Use a larger temp buffer and bswap_array.
174         (us_read): Use __builtin_bswapXX instead of reverse_memcpy.
175         (write_us_marker): Likewise.
177 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
179         Update copyright years.
181 2013-01-06  Tobias Burnus  <burnus@net-b.de>
183         PR fortran/54678
184         * intrinsics/env.c (get_environment_variable_i8): Don't use
185         uninitialized variable.
187 2013-01-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
189         PR libfortran/55818
190         * io/list_read.c (read_real): Do not call hit_eof when EOF can be
191         treated as a value separator.
192         (parse_real): Likewise.
193         (read_logical): Likewise.
194         (read_character): Likewise.
195         (read_complex): Likewise.
197 Copyright (C) 2013 Free Software Foundation, Inc.
199 Copying and distribution of this file, with or without modification,
200 are permitted in any medium without royalty provided the copyright
201 notice and this notice are preserved.