OSDN Git Service

2014-04-12 Jerry DeLisle <jvdelisle@gcc.gnu>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2014-04-12  Jerry DeLisle  <jvdelisle@gcc.gnu>
2
3         Backport from mainline
4         PR libfortran/60810
5         io/unit.c (is_trim_ok): If internal unit is array, do not trim.
6
7 2014-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu>
8
9         Backport from mainline
10         PR libfortran/58324
11         PR libfortran/38199
12         * intrinsics/string_intriniscs_inc.c (string_len_trim):
13         Remove prototypes for string_len_trim and move to...
14         * libgfortran.h (string_len_trim): ... here and
15         (string_len_trim_char4): ...here.
16         * io/list_read.c (finish_list_read): Read one character to check
17         for the end of the file.  If it is the end, then issue the file
18         end error message.  If not, use eat_line to reach the end
19         without giving error.  The next attempt to read will then
20         issue the error as described above.
21         * io/read.c (read_decimal): Quickly skip spaces to avoid calls
22         to next_char.
23         * io/unit.c (is_trim_ok): New helper function to check various
24         conditions to see if its OK to trim the internal unit string.
25         (get_internal_unit): Use LEN_TRIM to shorten selected internal
26         unit strings for optimizing READ. Enable this optimization for
27         formatted READ.
28
29 2014-02-15  Jerry DeLisle  <jvdelisle@gcc.gnu>
30             Dominique d'Humieres  <dominiq@lps.ens.fr>
31
32         Backport from mainline
33         PR libfortran/59771
34         PR libfortran/59774
35         PR libfortran/59836
36         * io/write_float.def (output_float): Fix wrong handling of the
37         Fw.0 format.
38         (output_float_FMT_G_): Fixes rounding issues with -m32.
39
40 2013-07-03  Uros Bizjak  <ubizjak@gmail.com>
41
42         Backport from mainline
43         2013-06-20  Uros Bizjak  <ubizjak@gmail.com>
44
45         * config/fpu-387.h (_FPU_MASK_ALL): New.
46         (_FPU_EX_ALL): Ditto.
47         (set_fpu): Use fstcw to store x87 FPU control word. Use fnclex to
48         clear stalled exception flags.  Correctly clear stalled SSE
49         exception flags.  Simplify code.
50
51         Backport from mainline
52         2013-06-19  Uros Bizjak  <ubizjak@gmail.com>
53
54         * config/fpu-387.h: Use __asm__ and __volatile__ consistently.
55
56 2013-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
57
58         Backport from mainline:
59         2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>
60
61         PR libfortran/51825
62         * io/list_read.c (nml_read_obj): Don't end the component loop on a
63         nested derived type, but continue with the next loop iteration.
64         (nml_get_obj_data): Don't move the first_nl pointer further in the
65         list if a qualifier was found.
66
67 2013-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
68
69         Backport from mainline:
70
71         PR libfortran/56786
72         * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
73         when checking for EOF. Use error return mechanism when EOF detected.
74         Do not return FAILURE unless parse_err_msg and parse_err_msg_size have
75         been set. Use hit_eof.
76         (nml_get_obj_data): Likewise use the correct error mechanism.
77         * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
78         mode.
79
80 2013-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
81
82         Backport from mainline:
83         2013-03-25  Tilo Schwarz  <tilo@tilo-schwarz.de>
84
85         PR libfortran/52512
86         * io/list_read.c (nml_parse_qualifier): To check for a derived type
87         don't use the namelist head element type but the current element type.
88         (nml_get_obj_data): Add current namelist element type to
89         nml_parse_qualifier call.
90
91 2013-04-11  Release Manager
92
93         * GCC 4.7.3 released.
94
95 2013-04-03  Tobias Burnus  <burnus@net-b.de>
96
97         Backport from mainline:
98         2013-03-29  Tobias Burnus  <burnus@net-b.de>
99
100         PR fortran/56737
101         * io/format.c (parse_format): With caching, copy
102         dtp->format string.
103         (save_parsed_format): Use dtp->format directly without
104         copying.
105
106         2012-03-29  Tobias Burnus  <burnus@net-b.de>
107
108         PR fortran/56737
109         * io/format.c (parse_format_list): Also cache FMT_STRING.
110         (parse_format): Update call.
111
112 2013-04-03  Tobias Burnus  <burnus@net-b.de>
113
114         Backport from mainline:
115         2013-03-28  Tobias Burnus  <burnus@net-b.de>
116
117         PR fortran/56735
118         * io/list_read.c (nml_query): Only abort when
119         an error occured.
120         (namelist_read): Add goto instead of falling through.
121
122 2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>
123
124         PR libfortran/30162
125         * io/open.c (test_endfile): Call stell only if size != 0.
126         * io/unix.c (raw_tell): Revert r194694.
127         (raw_size): Return size field only for regular files, otherwise 0.
128
129 2012-12-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
130
131         PR libfortran/30162
132         Backport from trunk
133         * io/unix.c (raw_tell):  If the lseek is done on a
134         non-seekable file, return 0.
135
136 2012-10-12  Thomas König  <tkoenig@gcc.gnu.org>
137
138         PR libfortran/54736
139         Backport from trunk
140         * runtime/environ.c (search_unit):  Correct logic
141         for binary search.
142         (mark_single):  Fix index errors.
143
144 2012-09-20  Release Manager
145
146         * GCC 4.7.2 released.
147
148 2012-09-05  Uros Bizjak  <ubizjak@gmail.com>
149
150         * config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.
151
152 2012-06-14  Release Manager
153
154         * GCC 4.7.1 released.
155
156 2012-05-31  Benjamin Kosnik  <bkoz@redhat.com>
157
158         PR libstdc++/52007
159         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
160         * configure: Regenerated.
161
162 2012-05-12  Tobias Burnus  <burnus@net-b.de>
163
164         PR fortran/53310
165         * intrinsics/eoshift2.c (eoshift2): Do not leak
166         memory by allocating it in the loop.
167
168 2012-03-30  Uros Bizjak  <ubizjak@gmail.com>
169
170         PR libgfortran/52758
171         * intrinsics/chmod.c (chmod_func): Remove out-of-bounds
172         initialization of rwxXstugo.
173
174 2012-03-22  Release Manager
175
176         * GCC 4.7.0 released.
177
178 2012-01-20  Tobias Burnus  <burnus@net-b.de>
179
180         PR libgfortran/51899
181         * configure.ac: Check whether umask is available.
182         * intrinsics/chmod.c (chmod_func): Make compile with MinGW.
183         * configure: Regenerate.
184         * config.h.in: Regenerate.
185
186 2012-01-12  Tobias Burnus  <burnus@net-b.de>
187
188         PR fortran/36755
189         * intrinsics/chmod.c (chmod_func): Replace call to /bin/chmod
190
191 2012-01-12  Janne Blomqvist  <jb@gcc.gnu.org>
192
193         * configure.ac: Remove check for fdopen.
194         * runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for
195         fdopen.
196         * configure: Regenerated.
197         * config.h.in: Regenerated.
198
199 2012-01-12  Janne Blomqvist  <jb@gcc.gnu.org>
200             Tobias Burnus  <burnus@net-b.de>
201
202         PR libfortran/51803
203         * runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or
204         is not available.
205
206 2012-01-11  Tobias Burnus  <burnus@net-b.de>
207
208         * runtime/main.c (store_exe_path): Fix absolute path
209         detection for Windows.
210
211 2012-01-11  Janne Blomqvist  <jb@gcc.gnu.org>
212             Mike Stump  <mikestump@comcast.net>
213
214         PR libfortran/51803
215         * runtime/main.c (store_exe_path): Handle getcwd failure and lack
216         of the function better.
217
218 2012-01-10  Tobias Burnus  <burnus@net-b.de>
219
220         PR fortran/51197
221         * runtime/compile_options.c (show_signal): List
222         more signals.
223
224 2012-01-09  Harald Anlauf  <anlauf@gmx.de>
225             Tobias Burnus  <burnus@net-b.de>
226
227         PR fortran/51197
228         * runtime/backtrace.c (show_backtrace): Modify wording written
229         before the backtrace.
230         * runtime/compile_options.c (show_signal): New function.
231         (backtrace_handler): Use it.
232
233 2012-01-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
234
235         * Makefile.am (libgfortran_la_LDFLAGS): Add -Wc,-shared-libgcc.
236         * Makefile.in: Regenerate.
237
238 2012-01-06  Tobias Burnus <burnus@net-b.de>
239
240         * caf/single.c (_gfortran_caf_register, _gfortran_caf_deregister):
241         Fix token handling.
242         * caf/mpi.c  (_gfortran_caf_register, _gfortran_caf_deregister): Ditto.
243         * caf/libcaf.h (STAT_STOPPED_IMAGE): Sync with libgfortran.h.
244         (_gfortran_caf_register, _gfortran_caf_deregister): Update prototype.
245 \f
246 Copyright (C) 2012 Free Software Foundation, Inc.
247
248 Copying and distribution of this file, with or without modification,
249 are permitted in any medium without royalty provided the copyright
250 notice and this notice are preserved.