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