re PR libfortran/61049 (NIST test FM906 fails)
[platform/upstream/gcc.git] / libgfortran / ChangeLog
1 2014-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu>
2
3         PR libfortran/61049
4         * io/list_read.c (list_formatted_read_scalar): Use eat_separator
5         and delete extraneous code.
6
7 2014-04-30  Tobias Burnus  <burnus@net-b.de>
8
9         * caf/libcaf.h (_gfortran_caf_this_image, _gfortran_caf_num_images):
10         New prototypes.
11         (_gfortran_caf_init): Change prototype.
12         (mpi_token_t): New typedef.
13         (TOKEN): New define.
14         * caf/mpi.c (_gfortran_caf_this_image, _gfortran_caf_num_images):
15         New functions.
16         (_gfortran_caf_init): Update.
17         (_gfortran_caf_finalize, _gfortran_caf_register,
18         _gfortran_caf_deregister): Use mpi_token_t.
19         * caf/single.c (_gfortran_caf_this_image, _gfortran_caf_num_images):
20         New functions.
21         (_gfortran_caf_init): Update.
22         (_gfortran_caf_finalize, _gfortran_caf_register,
23         _gfortran_caf_deregister): Use mpi_token_t, simplify.
24
25 2014-04-26  Jerry DeLisle  <jvdelisle@gcc.gnu>
26
27         PR libfortran/52539
28         * io/list_read.c: Add uchar typedef. (push_char4): New function
29         to save kind=4 character. (next_char_utf8): New function to read
30         a single UTF-8 encoded character value. (read_chracter): Update
31         to use the new functions for reading UTF-8 strings.
32         (list_formatted_read_scalar): Update to handle list directed
33         reads of UTF-8 strings. (nml_read_obj): Likewise update for
34         UTF-8 strings in namelists.
35         * io/write.c (nml_write_obj): Add kind=4 character support for
36         namelist writes.
37
38 2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
39
40         * configure.ac: Quote usage of ac_cv_func_clock_gettime in if test.
41         * configure: Regenerate.
42
43 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
44
45         * config/fpu-387.h [__sun__ && __svr4__]: Remove SSE execution
46         check.
47
48 2014-04-11  Jerry DeLisle  <jvdelisle@gcc.gnu>
49
50         PR libfortran/60810
51         io/unit.c (is_trim_ok): If internal unit is array, do not trim.
52
53 2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu>
54
55         PR libfortran/60148
56         * io/transfer.c (data_transfer_init): If std= was specified, set
57         delim status to DELIM_NONE of no other was specified.
58
59 2014-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60
61         * configure.ac: Check for presence of fcntl.
62         * configure: Regenerate.
63         * config.h.in: Regenerate.
64         * io/unix.c (set_close_on_exec): Check for HAVE_FCNTL.
65
66 2014-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu>
67
68         PR libfortran/48600
69         * io/list_read.c (list_formatted_read_scalar): Do not use
70         eat_separator. Explicitly set the comma and end-of-line flags.
71         Check for END condition from finish_separator.
72
73 2014-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu>
74
75         PR libfortran/58324
76         * io/list_read.c (finish_list_read): Read one character to check
77         for the end of the file.  If it is the end, then issue the file
78         end error message.  If not, use eat_line to reach the end
79         without giving error.  The next attempt to read will then
80         issue the error as described above.
81
82 2014-03-12  Jerry DeLisle  <jvdelisle@gcc.gnu>
83
84         PR libfortran/38199
85         * io/read.c (read_decimal): Quickly skip spaces to avoid calls
86         to next_char.
87         * io/unit.c (is_trim_ok): New helper function to check various
88         conditions to see if its OK to trim the internal unit string.
89         (get_internal_unit): Use LEN_TRIM to shorten selected internal
90         unit strings for optimizing READ. Enable this optimization for
91         formatted READ.
92         * io/list_read.c (finish_list_read): Don't call eat_line for
93         internal units.
94
95 2014-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu>
96
97         PR libfortran/38199
98         * io/list_read.c (next_char): Mark unlikely error checks.
99         (eat_spaces): For character array reading, skip ahead over
100         spaces rather than call next_char multiple times.
101
102 2014-03-08  Tobias Burnus  <burnus@net-b.de>
103
104         * libgfortran.h (unlikely, likely): Add usage comment.
105
106 2014-03-08  Dominique d'Humieres  <dominiq@lps.ens.fr>
107
108         PR libgfortran/60128
109         * io/write_float.def (output_float): Remove unused variable
110         nzero_real. Replace a double space with a single one.
111         (determine_en_precision): Fix wrong handling of the EN format.
112
113 2014-03-03  Jerry DeLisle  <jvdelisle@gcc.gnu>
114
115         PR libfortran/60148
116         * io/inquire.c (inquire_via_unit): In the case of
117         DELIM_UNSPECIFIED set inquire return string to "NONE".
118         * io/list_read.c (read_character): In the case of DELIM_NONE and
119         namelists, complete the character read using the namelist
120         variable length.
121         * io/open.c (new_unit): Don't set delim status to none if not
122         specified so that DELIM_UNSPECIFIED can be used later.
123         * io/transfer.c (data_transfer_init): For namelist I/O, if the
124         unit delim status is unspecified set the current status to quote.
125         Otherwise, set current status to the unit status.
126         * io/unit.c (get_internel_unit, init_unit): Remember to set
127         flags_delim initially to DELIM_UNSPECIFIED so defaults come out
128         correctly.
129         * io/write.c (write_character): Add a new function argument
130         "mode" to signify that raw output is to be used vs output with
131         delimiters. If the mode is set to DELIM (1) proceed with
132         delimiters. (list_formatted_write_scalar): Write the separator
133         only if a delimiter was previously specified. Update the call to
134         write_character with the mode argument given.
135         (namelist_write_newline): Use the mode argument. (nml_write_obj):
136         Use the mode argument. Remove use of tmp_delim. Write the
137         semi-colon or comma correctly only when needed with using
138         delimiters. Cleanup whitespace.
139         (namelist_write): If delim is not specified in namelist I/O,
140         default to using quotes. Get rid of the tmp_delim variable and
141         use the new mode argument in write_character.
142
143 2014-02-21  Tobias Burnus  <burnus@net-b.de>
144
145         PR fortran/60286
146         * libgfortran/io/inquire.c (yes, no): New static const char vars.
147         (inquire_via_unit): Use them. Use OPEN mode instead of using
148         POSIX's access to query about write=, read= and readwrite=.
149
150 2014-01-20  Jerry DeLisle  <jvdelisle@gcc.gnu>
151             Dominique d'Humieres  <dominiq@lps.ens.fr>
152
153         * io/write_float.def (output_float): Remove inadvertent test
154         code from previous patch.
155
156 2014-01-19  Jerry DeLisle  <jvdelisle@gcc.gnu>
157             Dominique d'Humieres  <dominiq@lps.ens.fr>
158
159         PR libfortran/59771
160         PR libfortran/59774
161         PR libfortran/59836
162         * io/write_float.def (output_float): Fix wrong handling of the
163         Fw.0 format.
164         (output_float_FMT_G_): Fixes rounding issues with -m32.
165
166 2014-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu>
167             Dominique d'Humieres  <dominiq@lps.ens.fr>
168             Steven G. Kargl  <kargl@gcc.gnu.org>
169
170         PR libfortran/59700
171         PR libfortran/59764
172         * io/io.h (struct st_parameter_dt): Assign expanded_read flag to
173         unused bit. Define new variable line_buffer_pos.
174         * io/list_read.c (free_saved, next_char, l_push_char,
175         read_logical, read_real): Replace use of item_count with
176         line_buffer_pos for line_buffer look ahead.
177         (read_logical, read_integer, parse_real, read_real, check_type):
178         Adjust location of free_line to after generating error messages
179         to retain the correct item count for the message. 
180
181 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
182
183         Update copyright years
184
185 2013-12-18  Steven G. Kargl  <kargl@gcc.gnu.org>
186
187         * io/read.c (read_f): Convert assert to runtime error.
188
189 2013-12-17  Andreas Tobler  <andreast@gcc.gnu.org>
190
191         * io/unix.c (tempfile_open): Only use the needed flag O_CLOEXEC.
192
193 2013-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu>
194
195         PR libfortran/59419
196         * io/file_pos.c (st_rewind): Do proper return after
197         generate_error.
198         * io/open.c (edit_modes): Move action code inside block that
199         checks for library ok. (new_unit): Do cleanup after error.
200         (st_open): Do proper return after error.
201         * io/transfer.c (data_transfer_init): Likewise.
202         
203 2013-12-11  Tobias Burnus  <burnus@net-b.de>
204
205         * config/fpu-387.h (sigill_hdlr, get_fpu_rounding_mode): Emit SSE
206         instructions when __SSE_MATH__ is defined.
207
208 2013-12-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
209
210         * intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing.
211
212 2013-12-01  Uros Bizjak  <ubizjak@gmail.com>
213
214         PR libfortran/59313
215         * intrinsics/erfc_scaled.c (erfc_scaled_r16): Also provide for
216         quadruple precision long double variant.
217
218 2013-11-20  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
219
220         * intrinsics/erfc_scaled.c (erfc_scaled_r16): Don't define if
221         __float128 is not available.
222
223 2013-11-20  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
224
225         PR libfortran/49024
226         * intrinsics/erfc_scaled.c (erfc_scaled_r16): New function.
227         * intrinsics/erfc_scaled_inc.c: Do not provide quadruple
228         precision variant.
229
230 2013-11-18  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
231
232         PR libfortran/51828
233         * intrinsics/unpack_generic.c (unpack_internal): Let the compiler
234         know that dim > 0 to avoid warnings.
235
236 2013-11-15  Janne Blomqvist  <jb@gcc.gnu.org>
237             Jerry DeLisle  <jvdelisle@gcc.gnu.org>
238
239         PR fortran/59108
240         * io/unix.c (regular_file): Don't set O_CREAT when opening a file
241         read-only with unknown status. Mask out O_CREAT when falling back
242         to opening read-only if ACTION= is not set and read-write fails.
243
244 2013-11-15  Steve Ellcey  <sellcey@mips.com>
245
246         * configure.ac: Do not define HAVE_STRTOLD.
247         * configure: Regenerate.
248
249 2013-11-10  Janne Blomqvist  <jb@gcc.gnu.org>
250
251         * configure.ac: Check presence of mkostemp.
252         * io/unix.c (set_close_on_exec): New function.
253         (tempfile_open): Use mkostemp and O_CLOEXEC if available, fallback
254         to calling set_close_on_exec.
255         (regular_file): Add O_CLOEXEC to flags if defined.
256         (open_external): Call set_close_on_exec if O_CLOEXEC is not
257         defined.
258         * config.h.in: Regenerated.
259         * configure: Regenerated.
260         * Makefile.in: Regenerated.
261         * aclocal.m4: Regenerated.
262
263 2013-10-01  Tobias Burnus  <burnus@net-b.de>
264
265         PR fortran/55469
266         * io/list_read (parse_repeat, read_integer, read_character,
267         parse_real, read_real, check_type, list_formatted_read_scalar,
268         finish_list_read): Call list_free.
269
270 2013-09-20  Alan Modra  <amodra@gmail.com>
271
272         * configure: Regenerate.
273
274 2013-07-23  Uros Bizjak  <ubizjak@gmail.com>
275
276         * config/fpu-387.h (get_fpu_rounding_mode): Read rounding mode
277         from SSE mxcsr register on x86_64.
278
279 2013-07-21  OndÅ™ej Bílka  <neleai@seznam.cz>
280
281         * io/transfer.c: Fix comment typos.
282
283 2013-07-21  Tobias Burnus  <burnus@net-b.de>
284
285         PR fortran/35862
286         * config/fpu-387.h (set_fpu_rounding_mode,
287         get_fpu_rounding_mode): Add missing _ to fix build.
288
289 2013-07-21  Tobias Burnus  <burnus@net-b.de>
290             Uros Bizjak  <ubizjak@gmail.com>
291
292         PR fortran/35862
293         * libgfortran.h (set_fpu_rounding_mode,
294         get_fpu_rounding_mode): New prototypes.
295         * config/fpu-387.h (set_fpu_rounding_mode,
296         get_fpu_rounding_mode): New functions.
297         * config/fpu-aix.h (set_fpu_rounding_mode,
298         get_fpu_rounding_mode): Ditto.
299         * config/fpu-generic.h (set_fpu_rounding_mode,
300         get_fpu_rounding_mode): Ditto.
301         * config/fpu-glibc.h (set_fpu_rounding_mode,
302         get_fpu_rounding_mode): Ditto.
303         * config/fpu-sysv.h (set_fpu_rounding_mode,
304         get_fpu_rounding_mode): Ditto.
305         * configure.ac: Check for fp_rnd and fp_rnd_t.
306         * io/io.h (enum unit_round): Use GFC_FPE_* for the value.
307         * io/read.c (convert_real): Set FP ronding mode.
308         * Makefile.in: Regenerate.
309         * aclocal.m4: Regenerate.
310         * config.h.in: Regenerate.
311         * configure: Regenerate.
312
313 2013-06-24  Tobias Burnus  <burnus@net-b.de>
314
315         * configure.ac: Check for fp_except and fp_except_t.
316         * config/fpu-sysv.h: Conditionally use either type.
317         * configure: Regenerate.
318         * config.h.in: Regenerate.
319
320 2013-06-21  Eric Botcazou  <ebotcazou@adacore.com>
321
322         * config/fpu-sysv.h (get_fpu_except_flags): Fix typo.
323
324 2013-06-20  Uros Bizjak  <ubizjak@gmail.com>
325
326         * config/fpu-387.h (_FPU_MASK_ALL): New.
327         (_FPU_EX_ALL): Ditto.
328         (set_fpu): Use fstcw to store x87 FPU control word. Use fnclex to
329         clear stalled exception flags.  Correctly clear stalled SSE
330         exception flags.  Simplify code.
331         (get_fpu_except_flags): Simplify code.
332
333 2013-06-20  Tobias Burnus  <burnus@net-b.de>
334
335         PR fortran/57633
336         * io/list_read.c (next_char, eat_separator): Don't set EOL for \r.
337
338 2013-06-19  Uros Bizjak  <ubizjak@gmail.com>
339
340         * config/fpu-387.h: Use __asm__ and __volatile__ consistently.
341         (get_fpu_except_flags): Initialize result.
342
343 2013-06-17  Tobias Burnus  <burnus@net-b.de>
344
345         * libgfortran.h (compile_options_t) Add fpe_summary.
346         (get_fpu_except_flags): New prototype.
347         * runtime/compile_options.c (set_options, init_compile_options):
348         Handle fpe_summary.
349         * runtime/stop.c (report_exception): New function.
350         (stop_numeric, stop_numeric_f08, stop_string, error_stop_string,
351         error_stop_numeric): Call it.
352         * config/fpu-387.h (get_fpu_except_flags): New function.
353         * config/fpu-aix.h (get_fpu_except_flags): New function.
354         * config/fpu-generic.h (get_fpu_except_flags): New function.
355         * config/fpu-glibc.h (get_fpu_except_flags): New function.
356         * config/fpu-sysv.h (get_fpu_except_flags): New function.
357         * configure.ac: Check for fpxcp.h.
358         * configure: Regenerate.
359         * config.h.in: Regenerate.
360
361 2013-06-01  Tobias Burnus  <burnus@net-b.de>
362
363         PR fortran/57496
364         * io/write_float.def (ISFINITE2Q, ISFINITE2, ISFINITE2L, ISFINITE,
365         SIGNBIT2Q, SIGNBIT2, SIGNBIT2L, SIGNBIT, ISNAN2Q, ISNAN2, ISNAN2L,
366         ISNAN): New macros.
367         (output_float_FMT_G_,WRITE_FLOAT): Use them.
368
369 2013-05-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
370
371         * acinclude.m4 (libgfor_cv_have_as_needed): Check for -z ignore, too.
372         * configure: Regenerate.
373
374 2013-05-05  David Edelsohn  <dje.gcc@gmail.com>
375
376         * caf/libcaf.h (_gfortran_caf_critical): Add a prototype.
377         (_gfortran_caf_end_critical): Same.
378
379 2013-05-04  David Edelsohn  <dje.gcc@gmail.com>
380
381         * runtime/environ.c: Include unistd.h.
382         * runtime/pause.c: Test HAVE_UNISTD_H.
383         * runtime/stop.c: Same.
384         * io/open.c: Same.
385         * io/unix.c: Same.
386         * io/read.c (si_max): Protect declaration of value.
387
388 2013-04-29  Janne Blomqvist  <jb@gcc.gnu.org>
389
390         * intrinsics/system_clock (gf_gettime_mono): Use variable
391         resolution for fractional seconds argument.
392         (system_clock_4): Simplify, update for gf_gettime_mono change.
393         (system_clock_8): Likewise.
394
395 2013-04-29  Janne Blomqvist  <jb@gcc.gnu.org>
396
397         PR fortran/56981
398         * io/transfer.c (next_record_w_unf): First fix head marker, then
399         write tail.
400         (next_record): Call flush_if_unbuffered.
401         * io/unix.c (struct unix_stream): Add field unbuffered.
402         (flush_if_unbuffered): New function.
403         (fd_to_stream): New argument.
404         (open_external): Fix fd_to_stream call.
405         (input_stream): Likewise.
406         (output_stream): Likewise.
407         (error_stream): Likewise.
408         * io/unix.h (flush_if_unbuffered): New prototype.
409
410 2013-04-28  Janne Blomqvist  <jb@gcc.gnu.org>
411
412         * intrinsics/system_clock.c (system_clock_4): Fix sign error in
413         Windows version.
414
415 2013-04-15  Tobias Burnus  <burnus@net-b.de>
416
417         * list_read.c (finish_separator): Initialize variable.
418
419 2013-04-15  Janne Blomqvist  <jb@gcc.gnu.org>
420
421         PR fortran/56919
422         * intrinsics/time_1.h: Check __CYGWIN__ in addition to
423         __MINGW32__.
424         * intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
425         _POSIX_MONOTONIC_CLOCK as well.
426         (system_clock_4): Use GetTickCount on Windows.
427         (system_clock_8): Use QueryPerformanceCounter and
428         QueryPerformanceCounterFrequency on Windows.
429
430 2013-04-04  Tobias Burnus  <burnus@net-b.de>
431
432         PR fortran/56810
433         * io/list_read.c (check_type): Fix kind checking for COMPLEX.
434
435 2013-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
436
437         PR libfortran/56660
438         * io/list_read.c (nml_read_obj): Do not reset the read error flag
439         inside nml_read_obj. If the read error flag is found set just exit.
440         Fix some whitespace on comments.
441         (nml_read_obj_data): Reset the read error flag before the first call
442         to nml_read_object.
443
444 2013-03-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
445
446         PR libfortran/56786
447         * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
448         when checking for EOF. Use error return mechanism when EOF detected.
449         Do not return false unless parse_err_msg and parse_err_msg_size have
450         been set. Use hit_eof.
451         (nml_get_obj_data): Likewise use the correct error mechanism.
452         * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
453         mode.
454
455 2013-03-29  Tobias Burnus  <burnus@net-b.de>
456
457         PR fortran/56737
458         * io/format.c (parse_format_list): Also cache FMT_STRING.
459         (parse_format): Update call.
460
461 2013-03-29  Tobias Burnus  <burnus@net-b.de>
462
463         PR fortran/56737
464         * io/format.c (parse_format): With caching, copy
465         dtp->format string.
466         (save_parsed_format): Use dtp->format directy without
467         copying.
468
469 2013-03-29  Tobias Burnus  <burnus@net-b.de>
470
471         PR fortran/56735
472         * io/list_read.c (nml_query): Only abort when
473         an error occured.
474         (namelist_read): Add goto instead of falling through.
475
476 2013-03-25  Tilo Schwarz  <tilo@tilo-schwarz.de>
477
478         PR libfortran/52512
479         * io/list_read.c (nml_parse_qualifier): To check for a derived type
480         don't use the namelist head element type but the current element type.
481         (nml_get_obj_data): Add current namelist element type to
482         nml_parse_qualifier call.
483
484 2013-03-24  Tobias Burnus  <burnus@net-b.de>
485
486         PR fortran/56696
487         * io/list_read.c (read_real): Fix EOF diagnostic.
488
489 2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>
490
491         PR libfortran/51825
492         * io/list_read.c (nml_read_obj): Don't end the component loop on a
493         nested derived type, but continue with the next loop iteration.
494         (nml_get_obj_data): Don't move the first_nl pointer further in the
495         list if a qualifier was found.
496
497 2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>
498
499         PR libfortran/48618
500         * io/open.c (st_open): Raise error for unit number < 0 only if
501         unit number does not exist already.
502
503 2013-03-19  Janne Blomqvist  <jb@gcc.gnu.org>
504
505         * libgfortran.h: Include stdbool.h.
506         (enum try): Remove.
507         (notify_std): Change return type to bool.
508         * intrinsics/chmod.c: Don't include stdbool.h.
509         * intrinsics/execute_command_line.c: Likewise.
510         * io/format.c: Likewise.
511         * io/list_read.c (nml_parse_qualifier): Change return type to bool.
512         (nml_read_obj): Likewise.
513         (nml_get_obj_data): Likewise.
514         * io/transfer.c (read_block_form): Fix comment.
515         (write_buf): Change return type to bool.
516         * io/write.c: Don't include stdbool.h.
517         * io/write_float.def (output_float): Change return type to bool.
518         (output_float_FMT_G_ ## x): Change type of result variable.
519         * runtime/error.c (notify_std): Change return type to bool.
520
521 2013-03-11  Tobias Burnus  <burnus@net-b.de>
522
523         * io/transfer.c (read_block_direct): Correct condition.
524         * intrinsics/execute_command_line.c (execute_command_line):
525         Remove dead code for the HAVE_FORK case.
526
527 2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>
528
529         PR libfortran/30162
530         * io/open.c (test_endfile): Call stell only if size != 0.
531         * io/unix.c (raw_tell): Revert r194679.
532         (raw_size): Return size field only for regular files, otherwise 0.
533
534 2013-02-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
535
536         PR target/56347
537         * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
538         broken powf.
539         * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
540         * intrinsics/c99_functions.c: Likewise.
541         * configure: Rebuilt.
542         * config.h.in: Rebuilt.
543
544 2013-02-06  Janus Weil  <janus@gcc.gnu.org>
545
546         PR fortran/55978
547         * runtime/in_pack_generic.c (internal_pack): Return if base_addr is
548         NULL.
549
550 2013-01-23  Janne Blomqvist  <jb@gcc.gnu.org>
551
552         * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX
553         instead of reverse_memcpy.
554         * io/io.h (reverse_memcpy): Remove prototype.
555         * io/transfer.c (reverse_memcpy): Make static, move towards
556         beginning of file.
557         (bswap_array): New function.
558         (unformatted_read): Use bswap_array to byte swap the data
559         in-place.
560         (unformatted_write): Use a larger temp buffer and bswap_array.
561         (us_read): Use __builtin_bswapXX instead of reverse_memcpy.
562         (write_us_marker): Likewise.
563
564 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
565
566         Update copyright years.
567
568 2013-01-06  Tobias Burnus  <burnus@net-b.de>
569
570         PR fortran/54678
571         * intrinsics/env.c (get_environment_variable_i8): Don't use
572         uninitialized variable.
573
574 2013-01-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
575
576         PR libfortran/55818
577         * io/list_read.c (read_real): Do not call hit_eof when EOF can be
578         treated as a value separator.
579         (parse_real): Likewise.
580         (read_logical): Likewise.
581         (read_character): Likewise.
582         (read_complex): Likewise.
583 \f
584 Copyright (C) 2013-2014 Free Software Foundation, Inc.
585
586 Copying and distribution of this file, with or without modification,
587 are permitted in any medium without royalty provided the copyright
588 notice and this notice are preserved.