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