1 2015-06-26 Release Manager
5 2015-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
7 * io/transfer.c (data_transfer_init): Fix whitespace.
9 2015-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
12 * io/transfer.c (data_transfer_init): Do not error for
15 2015-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
18 * io/transfer.c (data_transfer_init): If in namelist mode and
19 delimiter is not specified, set it to DELIM_QUOTE, independent
22 2015-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
25 Backport from mainline
26 * io/fbuf.c (fbuf_flush_list): New function that only flushes
27 if current fbuf position exceeds a limit.
28 * io/fbuf.h: Declare the new function.
29 * io/io.h (enum unit_mode): Add two new modes.
30 * io/list_read.c (list_formatted_read_scalar): Call new function.
31 * io/write.c: Include fbuf.h. (list_formatted_write_scalar):
34 2014-10-30 Release Manager
38 2014-10-20 Janne Blomqvist <jb@gcc.gnu.org>
41 * configure.ac: Check for strtok_r.
42 * runtime/main.c (gfstrtok_r): Fallback implementation of
44 (find_addr2line): Use strtok_r to split PATH.
45 * config.h.in: Regenerated.
46 * configure: Regenerated.
48 2014-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
51 * io/unit.c (init_units): Initialize the DELIM flag to
52 UNSPECIFIED for the STDIN unit so that the flag is
55 2014-09-01 Jakub Jelinek <jakub@redhat.com>
57 Backported from mainline
58 2014-08-04 Jakub Jelinek <jakub@redhat.com>
60 * runtime/memory.c (xmallocarray): Avoid division for the common case.
62 2014-08-20 Steven G. Kargl <kargl@gcc.gnu.org>
65 * m4/bessel.m4: Avoid indexing off the end of an array.
66 * generated/bessel_r10.c: Regenerated.
67 * generated/bessel_r16.c: Ditto.
68 * generated/bessel_r4.c: Ditto.
69 * generated/bessel_r8.c: Ditto.
71 2014-07-31 Janne Blomqvist <jb@gcc.gnu.org>
73 Backport from mainline
75 * libgfortran.h (xmallocarray): New prototype.
76 * runtime/memory.c (xmallocarray): New function.
77 (xcalloc): Check for nonzero separately instead of multiplying.
78 * generated/*.c: Regenerated.
79 * intrinsics/cshift0.c (cshift0): Call xmallocarray instead of
81 * intrinsics/eoshift0.c (eoshift0): Likewise.
82 * intrinsics/eoshift2.c (eoshift2): Likewise.
83 * intrinsics/pack_generic.c (pack_internal): Likewise.
84 (pack_s_internal): Likewise.
85 * intrinsics/reshape_generic.c (reshape_internal): Likewise.
86 * intrinsics/spread_generic.c (spread_internal): Likewise.
87 (spread_internal_scalar): Likewise.
88 * intrinsics/string_intrinsics_inc.c (string_trim): Likewise.
89 (string_minmax): Likewise.
90 * intrinsics/transpose_generic.c (transpose_internal): Likewise.
91 * intrinsics/unpack_generic.c (unpack_internal): Likewise.
92 * io/list_read.c (nml_touch_nodes): Don't cast xmalloc return value.
93 * io/transfer.c (st_set_nml_var): Call xmallocarray instead of
95 * io/unit.c (get_internal_unit): Likewise.
96 (filename_from_unit): Don't cast xmalloc return value.
97 * io/write.c (nml_write_obj): Likewise, formatting.
98 * m4/bessel.m4 (bessel_jn_r'rtype_kind`): Call xmallocarray
100 (besse_yn_r'rtype_kind`): Likewise.
101 * m4/cshift1.m4 (cshift1): Likewise.
102 * m4/eoshift1.m4 (eoshift1): Likewise.
103 * m4/eoshift3.m4 (eoshift3): Likewise.
104 * m4/iforeach.m4: Likewise.
105 * m4/ifunction.m4: Likewise.
106 * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code):
108 * m4/in_pack.m4 (internal_pack_'rtype_ccode`): Likewise.
109 * m4/matmul.m4 (matmul_'rtype_code`): Likewise.
110 * m4/matmull.m4 (matmul_'rtype_code`): Likewise.
111 * m4/pack.m4 (pack_'rtype_code`): Likewise.
112 * m4/reshape.m4 (reshape_'rtype_ccode`): Likewise.
113 * m4/shape.m4 (shape_'rtype_kind`): Likewise.
114 * m4/spread.m4 (spread_'rtype_code`): Likewise.
115 (spread_scalar_'rtype_code`): Likewise.
116 * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
117 * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
118 (unpack1_'rtype_code`): Likewise.
119 * runtime/convert_char.c (convert_char1_to_char4): Likewise.
120 (convert_char4_to_char1): Simplify.
121 * runtime/environ.c (init_unformatted): Call xmallocarray instead
123 * runtime/in_pack_generic.c (internal_pack): Likewise.
125 2014-07-16 Release Manager
127 * GCC 4.9.1 released.
129 2014-07-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
133 * io/list_read.c (next_char_internal): Adjust the read length to
134 a single wide character. (eat_spaces): Add missing paren.
135 * io/unix.c (mem_read4): Use the correct mem_alloc function for
136 wide character internal reads.
138 2014-06-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
142 * io/list_read.c (eat_spaces): Use a 'for' loop instead of
143 'while' loop to skip the loop if there are no bytes left in the
144 string. Only seek if actual spaces can be skipped.
146 2014-06-07 Jerry DeLisle <jvdelisle@gcc.gnu>
150 * io/list_read.c (eat_spaces): If the next character pointed to
151 is a space, don't seek, must be at the end.
153 2014-05-26 Janne Blomqvist <jb@gcc.gnu.org>
155 Backport from mainline
157 * intrinsics/ctime.c (strctime): Rename to gf_ctime, use snprintf
159 (fdate): Use gf_ctime.
160 (fdate_sub): Likewise.
162 (ctime_sub): Likewise.
164 2014-05-16 Janne Blomqvist <jb@gcc.gnu.org>
168 * io/unix.c (raw_close): Check if s->fd is -1.
169 (fd_to_stream): Check return value of fstat(), handle error.
171 2014-05-10 Jerry DeLisle <jvdelisle@gcc.gnu>
175 * io/list_read.c (list_formatted_read_scalar): Use eat_separator
176 and delete extraneous code.
178 2014-04-22 Release Manager
180 * GCC 4.9.0 released.
182 2014-04-12 Jerry DeLisle <jvdelisle@gcc.gnu>
185 io/unit.c (is_trim_ok): If internal unit is array, do not trim.
187 2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu>
190 * io/transfer.c (data_transfer_init): If std= was specified, set
191 delim status to DELIM_NONE if no other was specified.
193 2014-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
195 * configure.ac: Check for presence of fcntl.
196 * configure: Regenerate.
197 * config.h.in: Regenerate.
198 * io/unix.c (set_close_on_exec): Check for HAVE_FCNTL.
200 2014-03-17 Jerry DeLisle <jvdelisle@gcc.gnu>
203 * io/list_read.c (list_formatted_read_scalar): Do not use
204 eat_separator. Explicitly set the comma and end-of-line flags.
205 Check for END condition from finish_separator.
207 2014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu>
210 * io/list_read.c (finish_list_read): Read one character to check
211 for the end of the file. If it is the end, then issue the file
212 end error message. If not, use eat_line to reach the end
213 without giving error. The next attempt to read will then
214 issue the error as described above.
216 2014-03-12 Jerry DeLisle <jvdelisle@gcc.gnu>
219 * io/read.c (read_decimal): Quickly skip spaces to avoid calls
221 * io/unit.c (is_trim_ok): New helper function to check various
222 conditions to see if its OK to trim the internal unit string.
223 (get_internal_unit): Use LEN_TRIM to shorten selected internal
224 unit strings for optimizing READ. Enable this optimization for
226 * io/list_read.c (finish_list_read): Don't call eat_line for
229 2014-03-08 Jerry DeLisle <jvdelisle@gcc.gnu>
232 * io/list_read.c (next_char): Mark unlikely error checks.
233 (eat_spaces): For character array reading, skip ahead over
234 spaces rather than call next_char multiple times.
236 2014-03-08 Tobias Burnus <burnus@net-b.de>
238 * libgfortran.h (unlikely, likely): Add usage comment.
240 2014-03-08 Dominique d'Humieres <dominiq@lps.ens.fr>
243 * io/write_float.def (output_float): Remove unused variable
244 nzero_real. Replace a double space with a single one.
245 (determine_en_precision): Fix wrong handling of the EN format.
247 2014-03-03 Jerry DeLisle <jvdelisle@gcc.gnu>
250 * io/inquire.c (inquire_via_unit): In the case of
251 DELIM_UNSPECIFIED set inquire return string to "NONE".
252 * io/list_read.c (read_character): In the case of DELIM_NONE and
253 namelists, complete the character read using the namelist
255 * io/open.c (new_unit): Don't set delim status to none if not
256 specified so that DELIM_UNSPECIFIED can be used later.
257 * io/transfer.c (data_transfer_init): For namelist I/O, if the
258 unit delim status is unspecified set the current status to quote.
259 Otherwise, set current status to the unit status.
260 * io/unit.c (get_internel_unit, init_unit): Remember to set
261 flags_delim initially to DELIM_UNSPECIFIED so defaults come out
263 * io/write.c (write_character): Add a new function argument
264 "mode" to signify that raw output is to be used vs output with
265 delimiters. If the mode is set to DELIM (1) proceed with
266 delimiters. (list_formatted_write_scalar): Write the separator
267 only if a delimiter was previously specified. Update the call to
268 write_character with the mode argument given.
269 (namelist_write_newline): Use the mode argument. (nml_write_obj):
270 Use the mode argument. Remove use of tmp_delim. Write the
271 semi-colon or comma correctly only when needed with using
272 delimiters. Cleanup whitespace.
273 (namelist_write): If delim is not specified in namelist I/O,
274 default to using quotes. Get rid of the tmp_delim variable and
275 use the new mode argument in write_character.
277 2014-02-21 Tobias Burnus <burnus@net-b.de>
280 * libgfortran/io/inquire.c (yes, no): New static const char vars.
281 (inquire_via_unit): Use them. Use OPEN mode instead of using
282 POSIX's access to query about write=, read= and readwrite=.
284 2014-01-20 Jerry DeLisle <jvdelisle@gcc.gnu>
285 Dominique d'Humieres <dominiq@lps.ens.fr>
287 * io/write_float.def (output_float): Remove inadvertent test
288 code from previous patch.
290 2014-01-19 Jerry DeLisle <jvdelisle@gcc.gnu>
291 Dominique d'Humieres <dominiq@lps.ens.fr>
296 * io/write_float.def (output_float): Fix wrong handling of the
298 (output_float_FMT_G_): Fixes rounding issues with -m32.
300 2014-01-11 Jerry DeLisle <jvdelisle@gcc.gnu>
301 Dominique d'Humieres <dominiq@lps.ens.fr>
302 Steven G. Kargl <kargl@gcc.gnu.org>
306 * io/io.h (struct st_parameter_dt): Assign expanded_read flag to
307 unused bit. Define new variable line_buffer_pos.
308 * io/list_read.c (free_saved, next_char, l_push_char,
309 read_logical, read_real): Replace use of item_count with
310 line_buffer_pos for line_buffer look ahead.
311 (read_logical, read_integer, parse_real, read_real, check_type):
312 Adjust location of free_line to after generating error messages
313 to retain the correct item count for the message.
315 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
317 Update copyright years
319 2013-12-18 Steven G. Kargl <kargl@gcc.gnu.org>
321 * io/read.c (read_f): Convert assert to runtime error.
323 2013-12-17 Andreas Tobler <andreast@gcc.gnu.org>
325 * io/unix.c (tempfile_open): Only use the needed flag O_CLOEXEC.
327 2013-12-16 Jerry DeLisle <jvdelisle@gcc.gnu>
330 * io/file_pos.c (st_rewind): Do proper return after
332 * io/open.c (edit_modes): Move action code inside block that
333 checks for library ok. (new_unit): Do cleanup after error.
334 (st_open): Do proper return after error.
335 * io/transfer.c (data_transfer_init): Likewise.
337 2013-12-11 Tobias Burnus <burnus@net-b.de>
339 * config/fpu-387.h (sigill_hdlr, get_fpu_rounding_mode): Emit SSE
340 instructions when __SSE_MATH__ is defined.
342 2013-12-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
344 * intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing.
346 2013-12-01 Uros Bizjak <ubizjak@gmail.com>
349 * intrinsics/erfc_scaled.c (erfc_scaled_r16): Also provide for
350 quadruple precision long double variant.
352 2013-11-20 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
354 * intrinsics/erfc_scaled.c (erfc_scaled_r16): Don't define if
355 __float128 is not available.
357 2013-11-20 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
360 * intrinsics/erfc_scaled.c (erfc_scaled_r16): New function.
361 * intrinsics/erfc_scaled_inc.c: Do not provide quadruple
364 2013-11-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
367 * intrinsics/unpack_generic.c (unpack_internal): Let the compiler
368 know that dim > 0 to avoid warnings.
370 2013-11-15 Janne Blomqvist <jb@gcc.gnu.org>
371 Jerry DeLisle <jvdelisle@gcc.gnu.org>
374 * io/unix.c (regular_file): Don't set O_CREAT when opening a file
375 read-only with unknown status. Mask out O_CREAT when falling back
376 to opening read-only if ACTION= is not set and read-write fails.
378 2013-11-15 Steve Ellcey <sellcey@mips.com>
380 * configure.ac: Do not define HAVE_STRTOLD.
381 * configure: Regenerate.
383 2013-11-10 Janne Blomqvist <jb@gcc.gnu.org>
385 * configure.ac: Check presence of mkostemp.
386 * io/unix.c (set_close_on_exec): New function.
387 (tempfile_open): Use mkostemp and O_CLOEXEC if available, fallback
388 to calling set_close_on_exec.
389 (regular_file): Add O_CLOEXEC to flags if defined.
390 (open_external): Call set_close_on_exec if O_CLOEXEC is not
392 * config.h.in: Regenerated.
393 * configure: Regenerated.
394 * Makefile.in: Regenerated.
395 * aclocal.m4: Regenerated.
397 2013-10-01 Tobias Burnus <burnus@net-b.de>
400 * io/list_read (parse_repeat, read_integer, read_character,
401 parse_real, read_real, check_type, list_formatted_read_scalar,
402 finish_list_read): Call list_free.
404 2013-09-20 Alan Modra <amodra@gmail.com>
406 * configure: Regenerate.
408 2013-07-23 Uros Bizjak <ubizjak@gmail.com>
410 * config/fpu-387.h (get_fpu_rounding_mode): Read rounding mode
411 from SSE mxcsr register on x86_64.
413 2013-07-21 OndÅ™ej BÃlka <neleai@seznam.cz>
415 * io/transfer.c: Fix comment typos.
417 2013-07-21 Tobias Burnus <burnus@net-b.de>
420 * config/fpu-387.h (set_fpu_rounding_mode,
421 get_fpu_rounding_mode): Add missing _ to fix build.
423 2013-07-21 Tobias Burnus <burnus@net-b.de>
424 Uros Bizjak <ubizjak@gmail.com>
427 * libgfortran.h (set_fpu_rounding_mode,
428 get_fpu_rounding_mode): New prototypes.
429 * config/fpu-387.h (set_fpu_rounding_mode,
430 get_fpu_rounding_mode): New functions.
431 * config/fpu-aix.h (set_fpu_rounding_mode,
432 get_fpu_rounding_mode): Ditto.
433 * config/fpu-generic.h (set_fpu_rounding_mode,
434 get_fpu_rounding_mode): Ditto.
435 * config/fpu-glibc.h (set_fpu_rounding_mode,
436 get_fpu_rounding_mode): Ditto.
437 * config/fpu-sysv.h (set_fpu_rounding_mode,
438 get_fpu_rounding_mode): Ditto.
439 * configure.ac: Check for fp_rnd and fp_rnd_t.
440 * io/io.h (enum unit_round): Use GFC_FPE_* for the value.
441 * io/read.c (convert_real): Set FP ronding mode.
442 * Makefile.in: Regenerate.
443 * aclocal.m4: Regenerate.
444 * config.h.in: Regenerate.
445 * configure: Regenerate.
447 2013-06-24 Tobias Burnus <burnus@net-b.de>
449 * configure.ac: Check for fp_except and fp_except_t.
450 * config/fpu-sysv.h: Conditionally use either type.
451 * configure: Regenerate.
452 * config.h.in: Regenerate.
454 2013-06-21 Eric Botcazou <ebotcazou@adacore.com>
456 * config/fpu-sysv.h (get_fpu_except_flags): Fix typo.
458 2013-06-20 Uros Bizjak <ubizjak@gmail.com>
460 * config/fpu-387.h (_FPU_MASK_ALL): New.
461 (_FPU_EX_ALL): Ditto.
462 (set_fpu): Use fstcw to store x87 FPU control word. Use fnclex to
463 clear stalled exception flags. Correctly clear stalled SSE
464 exception flags. Simplify code.
465 (get_fpu_except_flags): Simplify code.
467 2013-06-20 Tobias Burnus <burnus@net-b.de>
470 * io/list_read.c (next_char, eat_separator): Don't set EOL for \r.
472 2013-06-19 Uros Bizjak <ubizjak@gmail.com>
474 * config/fpu-387.h: Use __asm__ and __volatile__ consistently.
475 (get_fpu_except_flags): Initialize result.
477 2013-06-17 Tobias Burnus <burnus@net-b.de>
479 * libgfortran.h (compile_options_t) Add fpe_summary.
480 (get_fpu_except_flags): New prototype.
481 * runtime/compile_options.c (set_options, init_compile_options):
483 * runtime/stop.c (report_exception): New function.
484 (stop_numeric, stop_numeric_f08, stop_string, error_stop_string,
485 error_stop_numeric): Call it.
486 * config/fpu-387.h (get_fpu_except_flags): New function.
487 * config/fpu-aix.h (get_fpu_except_flags): New function.
488 * config/fpu-generic.h (get_fpu_except_flags): New function.
489 * config/fpu-glibc.h (get_fpu_except_flags): New function.
490 * config/fpu-sysv.h (get_fpu_except_flags): New function.
491 * configure.ac: Check for fpxcp.h.
492 * configure: Regenerate.
493 * config.h.in: Regenerate.
495 2013-06-01 Tobias Burnus <burnus@net-b.de>
498 * io/write_float.def (ISFINITE2Q, ISFINITE2, ISFINITE2L, ISFINITE,
499 SIGNBIT2Q, SIGNBIT2, SIGNBIT2L, SIGNBIT, ISNAN2Q, ISNAN2, ISNAN2L,
501 (output_float_FMT_G_,WRITE_FLOAT): Use them.
503 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
505 * acinclude.m4 (libgfor_cv_have_as_needed): Check for -z ignore, too.
506 * configure: Regenerate.
508 2013-05-05 David Edelsohn <dje.gcc@gmail.com>
510 * caf/libcaf.h (_gfortran_caf_critical): Add a prototype.
511 (_gfortran_caf_end_critical): Same.
513 2013-05-04 David Edelsohn <dje.gcc@gmail.com>
515 * runtime/environ.c: Include unistd.h.
516 * runtime/pause.c: Test HAVE_UNISTD_H.
517 * runtime/stop.c: Same.
520 * io/read.c (si_max): Protect declaration of value.
522 2013-04-29 Janne Blomqvist <jb@gcc.gnu.org>
524 * intrinsics/system_clock (gf_gettime_mono): Use variable
525 resolution for fractional seconds argument.
526 (system_clock_4): Simplify, update for gf_gettime_mono change.
527 (system_clock_8): Likewise.
529 2013-04-29 Janne Blomqvist <jb@gcc.gnu.org>
532 * io/transfer.c (next_record_w_unf): First fix head marker, then
534 (next_record): Call flush_if_unbuffered.
535 * io/unix.c (struct unix_stream): Add field unbuffered.
536 (flush_if_unbuffered): New function.
537 (fd_to_stream): New argument.
538 (open_external): Fix fd_to_stream call.
539 (input_stream): Likewise.
540 (output_stream): Likewise.
541 (error_stream): Likewise.
542 * io/unix.h (flush_if_unbuffered): New prototype.
544 2013-04-28 Janne Blomqvist <jb@gcc.gnu.org>
546 * intrinsics/system_clock.c (system_clock_4): Fix sign error in
549 2013-04-15 Tobias Burnus <burnus@net-b.de>
551 * list_read.c (finish_separator): Initialize variable.
553 2013-04-15 Janne Blomqvist <jb@gcc.gnu.org>
556 * intrinsics/time_1.h: Check __CYGWIN__ in addition to
558 * intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
559 _POSIX_MONOTONIC_CLOCK as well.
560 (system_clock_4): Use GetTickCount on Windows.
561 (system_clock_8): Use QueryPerformanceCounter and
562 QueryPerformanceCounterFrequency on Windows.
564 2013-04-04 Tobias Burnus <burnus@net-b.de>
567 * io/list_read.c (check_type): Fix kind checking for COMPLEX.
569 2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
572 * io/list_read.c (nml_read_obj): Do not reset the read error flag
573 inside nml_read_obj. If the read error flag is found set just exit.
574 Fix some whitespace on comments.
575 (nml_read_obj_data): Reset the read error flag before the first call
578 2013-03-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
581 * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
582 when checking for EOF. Use error return mechanism when EOF detected.
583 Do not return false unless parse_err_msg and parse_err_msg_size have
584 been set. Use hit_eof.
585 (nml_get_obj_data): Likewise use the correct error mechanism.
586 * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
589 2013-03-29 Tobias Burnus <burnus@net-b.de>
592 * io/format.c (parse_format_list): Also cache FMT_STRING.
593 (parse_format): Update call.
595 2013-03-29 Tobias Burnus <burnus@net-b.de>
598 * io/format.c (parse_format): With caching, copy
600 (save_parsed_format): Use dtp->format directy without
603 2013-03-29 Tobias Burnus <burnus@net-b.de>
606 * io/list_read.c (nml_query): Only abort when
608 (namelist_read): Add goto instead of falling through.
610 2013-03-25 Tilo Schwarz <tilo@tilo-schwarz.de>
613 * io/list_read.c (nml_parse_qualifier): To check for a derived type
614 don't use the namelist head element type but the current element type.
615 (nml_get_obj_data): Add current namelist element type to
616 nml_parse_qualifier call.
618 2013-03-24 Tobias Burnus <burnus@net-b.de>
621 * io/list_read.c (read_real): Fix EOF diagnostic.
623 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de>
626 * io/list_read.c (nml_read_obj): Don't end the component loop on a
627 nested derived type, but continue with the next loop iteration.
628 (nml_get_obj_data): Don't move the first_nl pointer further in the
629 list if a qualifier was found.
631 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de>
634 * io/open.c (st_open): Raise error for unit number < 0 only if
635 unit number does not exist already.
637 2013-03-19 Janne Blomqvist <jb@gcc.gnu.org>
639 * libgfortran.h: Include stdbool.h.
641 (notify_std): Change return type to bool.
642 * intrinsics/chmod.c: Don't include stdbool.h.
643 * intrinsics/execute_command_line.c: Likewise.
644 * io/format.c: Likewise.
645 * io/list_read.c (nml_parse_qualifier): Change return type to bool.
646 (nml_read_obj): Likewise.
647 (nml_get_obj_data): Likewise.
648 * io/transfer.c (read_block_form): Fix comment.
649 (write_buf): Change return type to bool.
650 * io/write.c: Don't include stdbool.h.
651 * io/write_float.def (output_float): Change return type to bool.
652 (output_float_FMT_G_ ## x): Change type of result variable.
653 * runtime/error.c (notify_std): Change return type to bool.
655 2013-03-11 Tobias Burnus <burnus@net-b.de>
657 * io/transfer.c (read_block_direct): Correct condition.
658 * intrinsics/execute_command_line.c (execute_command_line):
659 Remove dead code for the HAVE_FORK case.
661 2013-02-21 Janne Blomqvist <jb@gcc.gnu.org>
664 * io/open.c (test_endfile): Call stell only if size != 0.
665 * io/unix.c (raw_tell): Revert r194679.
666 (raw_size): Return size field only for regular files, otherwise 0.
668 2013-02-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
671 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
673 * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
674 * intrinsics/c99_functions.c: Likewise.
675 * configure: Rebuilt.
676 * config.h.in: Rebuilt.
678 2013-02-06 Janus Weil <janus@gcc.gnu.org>
681 * runtime/in_pack_generic.c (internal_pack): Return if base_addr is
684 2013-01-23 Janne Blomqvist <jb@gcc.gnu.org>
686 * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX
687 instead of reverse_memcpy.
688 * io/io.h (reverse_memcpy): Remove prototype.
689 * io/transfer.c (reverse_memcpy): Make static, move towards
691 (bswap_array): New function.
692 (unformatted_read): Use bswap_array to byte swap the data
694 (unformatted_write): Use a larger temp buffer and bswap_array.
695 (us_read): Use __builtin_bswapXX instead of reverse_memcpy.
696 (write_us_marker): Likewise.
698 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
700 Update copyright years.
702 2013-01-06 Tobias Burnus <burnus@net-b.de>
705 * intrinsics/env.c (get_environment_variable_i8): Don't use
706 uninitialized variable.
708 2013-01-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
711 * io/list_read.c (read_real): Do not call hit_eof when EOF can be
712 treated as a value separator.
713 (parse_real): Likewise.
714 (read_logical): Likewise.
715 (read_character): Likewise.
716 (read_complex): Likewise.
718 Copyright (C) 2013-2014 Free Software Foundation, Inc.
720 Copying and distribution of this file, with or without modification,
721 are permitted in any medium without royalty provided the copyright
722 notice and this notice are preserved.