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