1 2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
4 * intrinsics/iso_c_binding.c (c_funloc): Remove.
5 * intrinsics/iso_c_binding.h: Remove c_funloc.
8 2007-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
10 * io/read.c (convert_real): Generate error only on EINVAL.
12 2007-07-21 Christopher D. Rickett <crickett@lanl.gov>
15 * libgfortran/intrinsics/iso_c_generated_procs.c: Add c_f_pointer
16 for character/string arguments.
17 * libgfortran/intrinsic/iso_c_binding.c (c_f_pointer_u0): Allow
18 the optional SHAPE arg to be any valid integer kind.
19 * libgfortran/gfortran.map: Add c_f_pointer_s0.
20 * libgfortran/mk-kinds-h.sh: Save smallest integer kind as default
22 * libgfortran/intrinsics/iso_c_generated_procs.c: Add versions of
23 c_f_pointer for complex and logical types.
24 * libgfortran/gfortran.map: Add c_f_pointer versions for logical
27 2007-07-19 Christopher D. Rickett <crickett@lanl.gov>
30 * libgfortran/intrinsics/iso_c_binding.c: Remove C_LOC.
31 * libgfortran/intrinsics/iso_c_binding.h: Ditto.
32 * libgfortran/gfortran.map: Ditto.
34 2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
35 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
38 * runtime/compile_options.c (set_std): Remove.
39 (set_options): New function.
40 (init_compile_options): Add initialization for -fsign-zero option.
41 * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
42 _gfortran_set_options.
43 * libgfortran.h (compile_options_t): Add sign_zero field.
44 * io/write.c (output_float): Use the sign bit of the value to determine
45 if a negative sign should be emitted for zero values. Do not emit the
46 negative sign for zero if -fno-sign-zero was set during compile.
48 2007-07-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
51 * io/unix.c (unix_stream): Move buffer pointer adjacent to small_buffer.
52 * io/transfer.c (formatted_transfer_scalar): If stream I/O, set
53 bytes_used to zero. Fix off by one error in calculation of pos and
54 skips. Eliminate duplicate pending_spaces check.
56 2007-07-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
59 * intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
60 TOPOS arguments are C int.
62 2007-07-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
65 * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
66 (fd_alloc): If the number of bytes needed is greater than the default
67 BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer if
68 necessary. (fd_sfree): Restore use of buffer pointer.
69 (fd_close): Likewise. (fd_open): Likewise.
70 (init_error_stream): Likewise.
72 2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
75 * m4/matmul.m4: When the dimension of b is incorrect,
76 raise a runtime error instead of a failed assertion.
77 * generated/matmul_i1.c: Regenerated.
78 * generated/matmul_i2.c: Regenerated.
79 * generated/matmul_i4.c: Regenerated.
80 * generated/matmul_i8.c: Regenerated.
81 * generated/matmul_i16.c: Regenerated.
82 * generated/matmul_r4.c: Regenerated.
83 * generated/matmul_r8.c: Regenerated.
84 * generated/matmul_r10.c: Regenerated.
85 * generated/matmul_r16.c: Regenerated.
87 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
90 * io/transfer.c (formatted_transfer_scalar): Don't allow pending_spaces
93 2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
96 * intrinsics/unpack_generic.c: If the destination array is
99 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
101 * aclocal.m4: Regenerated.
103 2007-07-04 David Edelsohn <edelsohn@gnu.org>
105 * configure.ac: SUBST CFLAGS.
106 * configure: Regenerate.
108 2007-07-03 Janne Blomqvist <jb@gcc.gnu.org>
110 * libgfortran.h: Mark internal_malloc_size as a malloc function.
111 * runtime/memory.c (internal_realloc_size): Remove.
112 (internal_realloc): Call realloc directly instead of
113 internal_realloc_size.
114 (allocate_size): Remove.
115 (allocate): Call malloc directly instead of allocate_size, mark as
118 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
120 Restore collateral damage from ISO C Binding merge.
122 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
125 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
128 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
130 * Makefile.in: Regenerated with automake 1.9.6.
132 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
134 * Makefile.in: Remove extraneous kill.lo rule.
136 2007-07-02 Janne Blomqvist <jb@gcc.gnu.org>
139 * generated/pow_r*_i4.c: Removed.
141 2007-07-01 Christopher D. Rickett <crickett@lanl.gov>
143 * Makefile.in: Add support for iso_c_generated_procs.c and
145 * Makefile.am: Ditto.
146 * intrinsics/iso_c_generated_procs.c: New file containing helper
148 * intrinsics/iso_c_binding.c: Ditto.
149 * intrinsics/iso_c_binding.h: New file
150 * gfortran.map: Include the __iso_c_binding_c_* functions.
151 * libgfortran.h: define GFC_NUM_RANK_BITS.
153 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
156 * Makefile.am: Don't generate real**int4 pow functions.
157 * gfortran.map: Remove real**int4 pow symbols.
158 * Makefile.in: Regenerated.
160 2007-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
163 * io/write.c (output_float): Set edigits to a fixed size, avoiding
164 variation in field width calculation and eliminate buffer overrun.
166 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
168 * runtime/memory.c (internal_realloc): Use index_type for size
169 argument instead of GFC_INTEGER_4.
170 (allocate_array): Likewise.
171 (allocate): Likewise, add ifdef around unnecessary check.
172 (internal_reallo64): Remove.
173 (allocate_array64): Remove.
174 (allocate64): Remove.
175 * gfortran.map: Remove symbols for 64-bit allocation functions.
177 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
180 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
183 2007-06-24 Adam Nemet <anemet@caviumnetworks.com>
186 * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
187 (show_backtrace): Rename strcasestr to local_strcasestr.
189 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
192 * runtime/error.c (show_locus): Update to emit the unit number
193 and file name involved with the error. Use new function
195 * libgfortran.h (filename_from_unit): Declare new function.
196 * io/unit.c (init_units): Set the unit file name for stdin, stdout,
197 and stderr for use later in error reporting.
198 (filename_from_unit): Add this new function.
200 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
203 * io/write.c (output_float): Calculate ndigits correctly for large
204 numbered formats that must pad zeros before the decimal point.
206 2007-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
209 * runtime/backtrace.c (show_backtrace): Only use snprintf if
212 2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
215 * io/transfer.c (st_read): Remove test for end of file condition.
216 (next_record_r): Add test for end of file condition.
218 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
220 * configure: Regenerate.
222 2007-05-28 Tobias Burnus <burnus@net-b.de>
225 * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
226 (allocate,allocate64): Use stat variable if present.
228 2007-05-27 Janne Blomqvist <jb@gcc.gnu.org>
230 * runtime/string.c (compare0): Use gfc_charlen_type instead of
233 (find_option): Likewise.
234 (fstrcpy): Use gfc_charlen_type instead of int, return length.
235 (cf_strcpy): Likewise.
236 * libgfortran.h: Change string prototypes to use gfc_charlen_type.
237 * io/open.c (new_unit): Use snprintf if available.
238 * io/list_read.c (nml_touch_nodes): Use memcpy instead of
240 (nml_read_obj): Likewise.
241 * io/transfer.c (st_set_nml_var): Likewise.
242 * io/write.c (output_float): Use snprintf if available.
243 (nml_write_obj) Use memcpy instead of strcpy/strcat.
245 2007-05-26 Janne Blomqvist <jb@gcc.gnu.org>
247 * io/unix.c (unix_stream): Rearrange struct members, remove
249 (int_stream): New struct.
250 (fd_alloc): Always use existing buffer, never reallocate.
251 (fd_sfree): Remove check for buffer != small_buffer.
252 (fd_close): Likewise.
253 (mem_alloc_r_at): Change to use int_stream.
254 (mem_alloc_w_at): Likewise.
255 (mem_read): Likewise.
256 (mem_write): Likewise.
258 (mem_truncate): Likewise.
259 (mem_close): Likewise.
260 (mem_sfree): Likewise.
261 (empty_internal_buffer): Likewise.
262 (open_internal): Likewise.
264 2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
266 * io/transfer.c (unformatted_read): Use size from front end eliminating
267 use of size_from_real_kind. (unformatted_write): Ditto.
269 2007-05-23 Steve Ellcey <sje@cup.hp.com>
271 * Makefile.in: Regenerate.
272 * configure: Regenerate.
273 * aclocal.m4: Regenerate.
275 2007-05-22 Tobias Burnus <burnus@net-b.de>
277 * libgfortran.h: Mark stop_numeric as noreturn.
279 2007-05-22 Tobias Burnus <burnus@net-b.de>
282 * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
283 * intrinsics/eoshift2.c (eoshift2): Ditto.
285 2007-05-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
288 * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
289 shift of bit-size number of bits.
291 2007-05-17 Tobias Burnus <burnus@net-b.de>
294 * runtime/environ.c (mark_range): Fix setting default convert unit.
296 2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
299 * intrinsics/string_intrinsics.c (string_trim): Set result to null if
300 string length is zero.
302 2007-05-15 Tobias Burnus <burnus@net-b.de>
305 * io/transfer.c (unformatted_read): Use proper size for real(10).
306 (unformatted_write): Ditto.
308 2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
311 * runtime/memory.c (internal_malloc, internal_malloc64,
312 internal_free): Remove.
313 * runtime/error.c (os_error): Export function.
314 * intrinsics/move_alloc.c: Include stdlib.h.
315 (move_alloc): Call free instead of internal_free.
316 (move_alloc_c): Wrap long lines.
317 * libgfortran.h (os_error): Export prototype.
318 (internal_free): Remove prototype.
319 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
320 _gfortran_internal_malloc and _gfortran_internal_malloc64.
321 Add _gfortran_os_error.
323 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
326 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
328 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
331 * intrinsics/system.c (system_sub): Call flush_all_units.
332 * io/io.h (flush_all_units): Move prototype to libgfortran.h.
333 * libgfortran.h (flush_all_units): Add prototype.
335 2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
338 * runtime/error.c (runtime_error_at): New function.
339 (generate_error): Export this function.
340 * gfortran.map: Add _gfortran_generate_error and
341 _gfortran_runtime_error_at.
342 * libgfortran.h: Add comment to reference error codes in front end.
343 (library_start): Locate prototype with library_end macro and add
344 a new comment. Add prototype for runtime_error_at. Export prototype for
346 * io/lock.c (library_start): Fix check for error condition.
347 * io/transfer.c (data_transfer_init): Add library check.
349 2007-05-04 Daniel Franke <franke.daniel@gmail.com>
352 * io/intrinsics.c (fseek_sub): New.
353 * io/unix.c (fd_fseek): Change logical and physical offsets only
355 * gfortran.map (fseek_sub): New.
357 2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
360 * io/transfer.c (transfer_character): Avoid passing a NULL
361 pointer as source to the transfer routines, if the string length
364 2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
367 * io/list_read.c (next_char): Fix whitespace.
368 * io/io.h: Remove prototypes and define macros for is_array_io,
369 is_stream_io, and is_internal_unit.
370 * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
372 * io/transfer.c (read_sf): Change handling of internal_unit to make a
373 single call to salloc_r and use memcpy to transfer the data.
375 2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
378 * io/file_pos.c (st_backspace): Set flags.position for end of file
379 condition and use new function update_position.
380 (st_endfile): Use new function update_position.
381 * io/io.h: Add prototype for new function.
382 * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
384 * io/unit.c (update_position): New function to update position info
386 * io/transfer.c (next_record): Fix typo and use new function.
388 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
391 * intrinsics/getlog.c: Use getpwuid and geteuid instead of
392 getlogin if they are available.
393 * configure.ac: Add checks for getpwuid and geteuid.
394 * configure: Regenerate.
395 * config.h.in: Regenerate.
397 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
399 * configure: Regenerate using autoconf 2.59.
400 * Makefile.in: Likewise.
401 * config.h.in: Likewise.
403 2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
406 * configure.ac: New test to determine if symbol versioning is
408 * Makefile.am: Use result of above test to add appropriate linker
410 * gfortran.map: New file.
411 * configure: Regenerated.
412 * Makefile.in: Regenerated.
413 * config.h.in: Regenerated.
415 2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
418 * io/transfer.c (read_block_direct): Instead of calling us_read,
419 set dtp->u.p.current_unit->current_record = 0 so that pre_position
420 will read the record marker.
421 (data_transfer_init): For different error conditions, call
422 generate_error, then return.
424 2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
426 * runtime/main.c (please_free_exe_path_when_done): New variable.
427 (store_exe_path): Initialize character buffer, and mark whether
428 exe_path should be free'd by the library destructor function.
429 (cleanup): Only free exe_path if needed.
431 2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
432 Tobias Burnus <burnus@net-b.de>
436 * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
437 * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
438 array structures we pass to unpack_internal.
440 2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
442 * io/open.c (test_endfile): Revert changes for 31052, restoring this
445 2007-04-14 Steve Ellcey <sje@cup.hp.com>
447 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
448 * Makefile.in: Regenerate.
450 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
452 * configure: Regenerate.
454 2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
456 * intrinsics/cpu_time.c: Don't include headers already included
457 by libgfortran.h. Protect inclusion of sys/times.h.
458 * configure.ac: Remove unneeded checks for finit, stdio.h,
459 stddef.h, math.h and sys/params.h.
460 * config/fpu-aix.h: Don't include headers already included by
462 * config/fpu-sysv.h: Likewise.
463 * io/write.c: Likewise.
464 * m4/minloc1.m4: Likewise.
465 * m4/maxloc1.m4: Likewise.
466 * m4/fraction.m4: Likewise.
467 * m4/set_exponent.m4: Likewise.
468 * m4/spacing.m4: Likewise.
469 * m4/minval.m4: Likewise.
470 * m4/maxval.m4: Likewise.
471 * m4/exponent.m4: Likewise.
472 * m4/nearest.m4: Likewise.
473 * m4/minloc0.m4: Likewise.
474 * m4/maxloc0.m4: Likewise.
475 * m4/rrspacing.m4: Likewise.
476 * runtime/main.c: Likewise.
477 * runtime/error.c: Likewise.
478 * intrinsics/system_clock.c: Likewise.
479 * intrinsics/etime.c: Likewise.
480 * intrinsics/stat.c: Likewise.
481 * intrinsics/date_and_time.c: Likewise.
482 * intrinsics/env.c: Likewise.
483 * intrinsics/kill.c: Likewise.
484 * intrinsics/getXid.c: Likewise.
485 * intrinsics/chmod.c: Likewise.
486 * intrinsics/args.c: Likewise.
487 * intrinsics/c99_functions.c: Likewise.
488 * generated/minval_r8.c: Regenerate.
489 * generated/maxloc1_4_r8.c: Regenerate.
490 * generated/minloc1_16_r16.c: Regenerate.
491 * generated/maxval_i2.c: Regenerate.
492 * generated/maxloc1_8_i4.c: Regenerate.
493 * generated/exponent_r16.c: Regenerate.
494 * generated/maxloc0_4_r4.c: Regenerate.
495 * generated/fraction_r16.c: Regenerate.
496 * generated/fraction_r4.c: Regenerate.
497 * generated/minloc0_4_r16.c: Regenerate.
498 * generated/minloc0_4_i1.c: Regenerate.
499 * generated/maxloc0_4_r16.c: Regenerate.
500 * generated/maxloc0_4_i2.c: Regenerate.
501 * generated/minloc1_8_r16.c: Regenerate.
502 * generated/maxloc1_8_r16.c: Regenerate.
503 * generated/set_exponent_r8.c: Regenerate.
504 * generated/maxloc0_8_i8.c: Regenerate.
505 * generated/minloc1_4_r8.c: Regenerate.
506 * generated/maxloc1_16_r16.c: Regenerate.
507 * generated/minloc1_16_i4.c: Regenerate.
508 * generated/maxloc1_16_i4.c: Regenerate.
509 * generated/minloc0_16_i8.c: Regenerate.
510 * generated/maxloc0_16_i8.c: Regenerate.
511 * generated/nearest_r8.c: Regenerate.
512 * generated/spacing_r16.c: Regenerate.
513 * generated/maxval_r16.c: Regenerate.
514 * generated/minloc1_8_i4.c: Regenerate.
515 * generated/minloc0_16_i16.c: Regenerate.
516 * generated/minloc0_4_r4.c: Regenerate.
517 * generated/set_exponent_r10.c: Regenerate.
518 * generated/rrspacing_r10.c: Regenerate.
519 * generated/minloc0_4_i2.c: Regenerate.
520 * generated/maxloc0_8_i1.c: Regenerate.
521 * generated/minloc0_8_i8.c: Regenerate.
522 * generated/spacing_r4.c: Regenerate.
523 * generated/minloc1_16_r10.c: Regenerate.
524 * generated/minloc0_16_i1.c: Regenerate.
525 * generated/maxloc0_16_i1.c: Regenerate.
526 * generated/maxloc1_8_r8.c: Regenerate.
527 * generated/minval_i16.c: Regenerate.
528 * generated/exponent_r10.c: Regenerate.
529 * generated/maxval_i4.c: Regenerate.
530 * generated/minval_i8.c: Regenerate.
531 * generated/maxloc1_4_i8.c: Regenerate.
532 * generated/fraction_r10.c: Regenerate.
533 * generated/maxloc0_16_i16.c: Regenerate.
534 * generated/maxloc0_8_r4.c: Regenerate.
535 * generated/rrspacing_r8.c: Regenerate.
536 * generated/minloc1_4_i16.c: Regenerate.
537 * generated/minloc0_4_r10.c: Regenerate.
538 * generated/maxloc1_4_i16.c: Regenerate.
539 * generated/minloc0_8_i16.c: Regenerate.
540 * generated/maxloc0_4_r10.c: Regenerate.
541 * generated/maxloc0_8_i16.c: Regenerate.
542 * generated/minloc1_8_r10.c: Regenerate.
543 * generated/minloc0_16_r4.c: Regenerate.
544 * generated/maxloc1_8_r10.c: Regenerate.
545 * generated/maxloc0_16_r4.c: Regenerate.
546 * generated/minloc1_16_r8.c: Regenerate.
547 * generated/minloc0_8_i1.c: Regenerate.
548 * generated/maxloc0_4_i4.c: Regenerate.
549 * generated/maxloc1_16_r8.c: Regenerate.
550 * generated/maxloc0_8_i2.c: Regenerate.
551 * generated/nearest_r16.c: Regenerate.
552 * generated/maxloc1_16_r10.c: Regenerate.
553 * generated/minloc0_16_i2.c: Regenerate.
554 * generated/minloc1_8_r8.c: Regenerate.
555 * generated/maxloc0_16_i2.c: Regenerate.
556 * generated/exponent_r4.c: Regenerate.
557 * generated/spacing_r10.c: Regenerate.
558 * generated/maxval_r10.c: Regenerate.
559 * generated/minval_i1.c: Regenerate.
560 * generated/maxloc1_4_i1.c: Regenerate.
561 * generated/minloc1_4_i8.c: Regenerate.
562 * generated/minloc0_8_r4.c: Regenerate.
563 * generated/minloc0_16_r16.c: Regenerate.
564 * generated/minloc0_4_i4.c: Regenerate.
565 * generated/minloc0_8_i2.c: Regenerate.
566 * generated/minval_r4.c: Regenerate.
567 * generated/maxloc1_4_r4.c: Regenerate.
568 * generated/maxval_r8.c: Regenerate.
569 * generated/minval_r16.c: Regenerate.
570 * generated/minloc1_4_i1.c: Regenerate.
571 * generated/minval_i2.c: Regenerate.
572 * generated/maxloc1_4_i2.c: Regenerate.
573 * generated/maxloc1_8_i8.c: Regenerate.
574 * generated/maxloc0_4_r8.c: Regenerate.
575 * generated/maxloc0_16_r16.c: Regenerate.
576 * generated/minloc1_4_r16.c: Regenerate.
577 * generated/fraction_r8.c: Regenerate.
578 * generated/maxloc1_4_r16.c: Regenerate.
579 * generated/set_exponent_r4.c: Regenerate.
580 * generated/minloc0_8_r16.c: Regenerate.
581 * generated/maxloc0_8_r16.c: Regenerate.
582 * generated/nearest_r10.c: Regenerate.
583 * generated/maxloc0_8_i4.c: Regenerate.
584 * generated/minloc1_4_r4.c: Regenerate.
585 * generated/minloc0_16_i4.c: Regenerate.
586 * generated/maxloc0_16_i4.c: Regenerate.
587 * generated/nearest_r4.c: Regenerate.
588 * generated/minloc1_16_i8.c: Regenerate.
589 * generated/maxloc1_16_i8.c: Regenerate.
590 * generated/minloc1_4_i2.c: Regenerate.
591 * generated/maxloc1_8_i1.c: Regenerate.
592 * generated/minloc0_16_r10.c: Regenerate.
593 * generated/minloc1_8_i8.c: Regenerate.
594 * generated/minloc0_4_r8.c: Regenerate.
595 * generated/minloc0_8_i4.c: Regenerate.
596 * generated/minloc1_16_i16.c: Regenerate.
597 * generated/spacing_r8.c: Regenerate.
598 * generated/maxloc1_8_r4.c: Regenerate.
599 * generated/minloc1_16_i1.c: Regenerate.
600 * generated/maxloc1_16_i1.c: Regenerate.
601 * generated/minval_r10.c: Regenerate.
602 * generated/minval_i4.c: Regenerate.
603 * generated/minloc1_8_i1.c: Regenerate.
604 * generated/maxloc1_4_i4.c: Regenerate.
605 * generated/maxloc1_8_i2.c: Regenerate.
606 * generated/maxval_i8.c: Regenerate.
607 * generated/maxloc0_16_r10.c: Regenerate.
608 * generated/rrspacing_r4.c: Regenerate.
609 * generated/minloc0_4_i16.c: Regenerate.
610 * generated/maxloc0_8_r8.c: Regenerate.
611 * generated/maxloc0_4_i16.c: Regenerate.
612 * generated/minloc1_4_r10.c: Regenerate.
613 * generated/minloc1_8_i16.c: Regenerate.
614 * generated/maxloc1_4_r10.c: Regenerate.
615 * generated/minloc0_8_r10.c: Regenerate.
616 * generated/maxloc1_8_i16.c: Regenerate.
617 * generated/maxloc0_8_r10.c: Regenerate.
618 * generated/minloc1_16_r4.c: Regenerate.
619 * generated/maxloc1_16_r4.c: Regenerate.
620 * generated/minloc0_16_r8.c: Regenerate.
621 * generated/maxloc0_16_r8.c: Regenerate.
622 * generated/maxloc0_4_i8.c: Regenerate.
623 * generated/maxloc1_16_i16.c: Regenerate.
624 * generated/minloc1_8_r4.c: Regenerate.
625 * generated/minloc1_16_i2.c: Regenerate.
626 * generated/maxloc1_16_i2.c: Regenerate.
627 * generated/maxval_i16.c: Regenerate.
628 * generated/exponent_r8.c: Regenerate.
629 * generated/minloc1_4_i4.c: Regenerate.
630 * generated/maxval_i1.c: Regenerate.
631 * generated/minloc1_8_i2.c: Regenerate.
632 * generated/minloc0_8_r8.c: Regenerate.
633 * generated/set_exponent_r16.c: Regenerate.
634 * generated/maxloc0_4_i1.c: Regenerate.
635 * generated/rrspacing_r16.c: Regenerate.
636 * generated/minloc0_4_i8.c: Regenerate.
637 * generated/maxval_r4.c: Regenerate.
638 * configure: Regenerate.
639 * config.h.in: Regenerate.
641 2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
644 * io/format.c (parse_format_list): Fix parsing.
646 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
649 intrinsics/string_intrinsics.c (string_repeat): Remove.
651 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
654 * io/open.c (test_endfile): Delete this function.
655 (edit_modes): Delete call to test_endfile.
656 (new_unit): Likewise.
657 * io/io.h: Delete prototype for test_endfile.
658 * io/transfer.c (next_record_r): Remove use of test_endfile.
659 (st_read): Add test for end file condition and adjust status.
661 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
664 * io/transfer.c (read_block_direct): Do not generate error when reading
665 past EOF on a short record that is less than the RECL= specified.
667 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
670 * io/unit.c (close_unit_1): If there are bytes previously written from
671 ADVANCE="no", move to the end before closing.
673 2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
676 * intrinsics/stat.c: Only provide STAT and FSTAT library routines
677 if stat() and fstat() library functions are available. When lstat()
678 is not available, use stat() instead.
679 * configure.ac: Add checks for stat, fstat and lstat.
680 * configure: Regenerate.
681 * config.h.in: Regenerate.
683 2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
686 * io/transfer.c (next_record_r): Do not call test_endfile if in namelist
689 2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
692 * io/io.h: Add saved_pos to gfc_unit structure.
693 * io/open.c (new_unit): Initialize saved_pos.
694 * io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
695 (next_record_w): Fix whitespace.
696 (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
697 later use. If not ADVANCE="no" set saved_pos to zero.
699 2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
702 * intrinsics/reshape_generic.c (reshape_internal): Increment
705 2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
708 * file_pos.c: Update Copyright year.
709 * io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
710 Update Copyright year.
712 * io/unix.c (is_special): Add missing type for this function.
713 Update Copyright year.
714 * io/transfer.c (next_record_r): Restore test_endfile.
715 (st_read): Fix whitespace. Update Copyright year
717 2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
719 * configure.ac: Add missing check for gettimeofday.
720 * config.h.in: Renegerate.
721 * configure: Regenerate.
723 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
726 * io/file_position (st_rewind): Fix comments. Remove use of
727 test_endfile. Don't seek if already at 0 position. Use new is_special
728 function to set endfile state.
729 * io/open.c (test_endfile): Delete this function.
730 * io/io.h: Delete prototype for test_endfile. Add prototype
732 * io/unix.c (is_special): New function. Fix whitespace.
733 * io/transfer.c (next_record_r): Remove use of test_endfile.
735 2007-03-16 David Edelsohn <edelsohn@gnu.org>
737 * runtime/main.c: Include "config.h" first.
739 2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
742 * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
744 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
746 * runtime/backtrace.c: New file.
747 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
748 environment variable.
749 * runtime/compile_options.c (set_std): Add new argument.
750 * runtime/main.c (store_exe_path, full_exe_path): New functions.
751 * runtime/error.c (sys_exit): Add call to show_backtrace.
752 * libgfortran.h (options_t): New backtrace field.
753 (store_exe_path, full_exe_path, show_backtrace): New prototypes.
754 * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
755 close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
757 * Makefile.am: Add runtime/backtrace.c.
758 * fmain.c (main): Add call to store_exe_path.
759 * Makefile.in: Renegerate.
760 * config.h.in: Renegerate.
761 * configure: Regenerate.
763 2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
766 * io/transfer.c (formatted_transfer_scalar): Adjust position for pending
767 spaces when in writing mode. Clean up some formatting.
769 2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
772 * all.m4: Quote everything, except for m4 macros.
774 * count.m4: Likewise.
775 * cshift1.m4: Likewise.
776 * eoshift1.m4: Likewise.
777 * eoshift3.m4: Likewise.
778 * exponent.m4: Likewise.
779 * fraction.m4: Likewise.
780 * in_pack.m4: Likewise.
781 * in_unpack.m4: Likewise.
782 * matmul.m4: Likewise.
783 * matmull.m4: Likewise.
784 * nearest.m4: Likewise.
786 * product.m4: Likewise.
787 * reshape.m4: Likewise.
788 * rrspacing.m4: Likewise.
789 * set_exponent.m4: Likewise.
790 * shape.m4: Likewise.
791 * spacing.m4: Likewise.
792 * transpose.m4: Likewise.
794 2007-03-14 Jakub Jelinek <jakub@redhat.com>
796 * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
797 O_RDONLY even if errno is EROFS.
799 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
802 * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
803 * io/transfer.c (next_record_w): Set bytes left to record length for
804 sequential unformatted I/O.
805 (next_record_r): Ditto.
806 (read_block_direct): Fix test for exceeding bytes_left.
808 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
811 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
814 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
817 * m4/pow_m4: Use appropriate unsigned int type for u.
818 * generated/pow_c10_i16.c: Regenerated.
819 * generated/pow_c10_i4.c: Regenerated.
820 * generated/pow_c10_i8.c: Regenerated.
821 * generated/pow_c16_i16.c: Regenerated.
822 * generated/pow_c16_i4.c: Regenerated.
823 * generated/pow_c16_i8.c: Regenerated.
824 * generated/pow_c4_i16.c: Regenerated.
825 * generated/pow_c4_i4.c: Regenerated.
826 * generated/pow_c4_i8.c: Regenerated.
827 * generated/pow_c8_i16.c: Regenerated.
828 * generated/pow_c8_i4.c: Regenerated.
829 * generated/pow_c8_i8.c: Regenerated.
830 * generated/pow_i16_i16.c: Regenerated.
831 * generated/pow_i16_i4.c: Regenerated.
832 * generated/pow_i16_i8.c: Regenerated.
833 * generated/pow_i4_i16.c: Regenerated.
834 * generated/pow_i4_i4.c: Regenerated.
835 * generated/pow_i4_i8.c: Regenerated.
836 * generated/pow_i8_i16.c: Regenerated.
837 * generated/pow_i8_i4.c: Regenerated.
838 * generated/pow_i8_i8.c: Regenerated.
839 * generated/pow_r10_i16.c: Regenerated.
840 * generated/pow_r10_i4.c: Regenerated.
841 * generated/pow_r10_i8.c: Regenerated.
842 * generated/pow_r16_i16.c: Regenerated.
843 * generated/pow_r16_i4.c: Regenerated.
844 * generated/pow_r16_i8.c: Regenerated.
845 * generated/pow_r4_i16.c: Regenerated.
846 * generated/pow_r4_i4.c: Regenerated.
847 * generated/pow_r4_i8.c: Regenerated.
848 * generated/pow_r8_i16.c: Regenerated.
849 * generated/pow_r8_i4.c: Regenerated.
850 * generated/pow_r8_i8.c: Regenerated.
852 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
855 * intrinsics/pack_generic.c (pack_internal): Add special checks
856 for zero-sized arrays.
858 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
860 * Makefile.am: Add dummy install-pdf target.
861 * Makefile.in: Regenerate
863 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
866 * io/listread.c (namelist_read): Eat comment line.
868 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
871 * io/write.c (output_float): Add condition of format F only for
872 special case rounding with zero precision.
874 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
878 * Makefile.am: Add $(srcdir) too all files in generated/.
879 (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
880 maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
882 (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
883 maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
885 (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
886 (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
887 minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
889 (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
890 minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
892 (i_minval_c): Add minval_i1.c and minval_i2.c.
893 (i_sum_c): Add sum_i1.c and sum_i2.c.
894 (i_product_c): Add product_i1.c and product_i2.c.
895 (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
896 (gfor_built_specific_src): Remove $(srcdir) from target.
897 (gfor_bulit_specific2_src): Likewise.
898 Makefile.in: Regenerated.
899 libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
900 Add gfc_array_i1 and gfc_array_i2.
901 * generated/matmul_i1.c: New file.
902 * generated/matmul_i2.c: New file.
903 * generated/maxloc0_16_i1.c: New file.
904 * generated/maxloc0_16_i2.c: New file.
905 * generated/maxloc0_4_i1.c: New file.
906 * generated/maxloc0_4_i2.c: New file.
907 * generated/maxloc0_8_i1.c: New file.
908 * generated/maxloc0_8_i2.c: New file.
909 * generated/maxloc1_16_i1.c: New file.
910 * generated/maxloc1_16_i2.c: New file.
911 * generated/maxloc1_4_i1.c: New file.
912 * generated/maxloc1_4_i2.c: New file.
913 * generated/maxloc1_8_i1.c: New file.
914 * generated/maxloc1_8_i2.c: New file.
915 * generated/maxval_i1.c: New file.
916 * generated/maxval_i2.c: New file.
917 * generated/minloc0_16_i1.c: New file.
918 * generated/minloc0_16_i2.c: New file.
919 * generated/minloc0_4_i1.c: New file.
920 * generated/minloc0_4_i2.c: New file.
921 * generated/minloc0_8_i1.c: New file.
922 * generated/minloc0_8_i2.c: New file.
923 * generated/minloc1_16_i1.c: New file.
924 * generated/minloc1_16_i2.c: New file.
925 * generated/minloc1_4_i1.c: New file.
926 * generated/minloc1_4_i2.c: New file.
927 * generated/minloc1_8_i1.c: New file.
928 * generated/minloc1_8_i2.c: New file.
929 * generated/minval_i1.c: New file.
930 * generated/minval_i2.c: New file.
931 * generated/product_i1.c: New file.
932 * generated/product_i2.c: New file.
933 * generated/sum_i1.c: New file.
934 * generated/sum_i2.c: New file.
936 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
938 * runtime/memory.c (deallocate): Correct comment.
940 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
942 * Makefile.am: Use $(M4) instead of m4.
943 * Makefile.in: Regenerate.
945 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
947 * Makefile.am: Remove $(srcdir) from assorted targets
949 * Makefile.in: Regenerate.
951 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
952 Tobias Burnus <burnus@net-b.de>
955 * m4/iparm.m4: Use HUGE-1 for most negative integer.
956 * generated/maxloc1_8_i4.c: Regenerate.
957 * generated/maxloc0_8_i8.c: Regenerate.
958 * generated/maxloc1_16_i4.c: Regenerate.
959 * generated/maxloc0_16_i8.c: Regenerate.
960 * generated/maxval_i4.c: Regenerate.
961 * generated/maxloc1_4_i8.c: Regenerate.
962 * generated/maxloc0_16_i16.c: Regenerate.
963 * generated/maxloc1_4_i16.c: Regenerate.
964 * generated/maxloc0_8_i16.c: Regenerate.
965 * generated/maxloc0_4_i4.c: Regenerate.
966 * generated/maxloc1_8_i8.c: Regenerate.
967 * generated/maxloc0_8_i4.c: Regenerate.
968 * generated/maxloc0_16_i4.c: Regenerate.
969 * generated/maxloc1_16_i8.c: Regenerate.
970 * generated/maxloc1_4_i4.c: Regenerate.
971 * generated/maxval_i8.c: Regenerate.
972 * generated/maxloc0_4_i16.c: Regenerate.
973 * generated/maxloc1_8_i16.c: Regenerate.
974 * generated/maxloc0_4_i8.c: Regenerate.
975 * generated/maxloc1_16_i16.c: Regenerate.
976 * generated/maxval_i16.c: Regenerate.
978 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
981 * intrinsics/string_intrinsics.c (string_repeat): Don't check
982 if ncopies is negative.
984 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
987 * libgfortran.h: Do not prefix symbol name with
988 __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
990 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
994 * io/transfer.c (init_loop_spec, next_array_record): Change to
995 lbound rather than unity base.
997 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
999 * runtime/error.c: Include sys/time.h before sys/resource.h.
1001 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
1004 * intrinsics/string_intrinsics.c(compare_string): Make
1005 sure that comparisons are done unsigned.
1007 2007-01-21 Tobias Burnus <burnus@net-b.de>
1010 * intrinsics/date_and_time.c (date_and_time): Fix case where time
1012 * configure.ac: Remove AC_TRY_RUN test for timezone in
1014 * acinclude.m4: Ditto.
1015 * configure: Regenerate.
1016 * config.h.in: Regenerate.
1018 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1020 * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
1021 * m4/specific2.m4: Likewise.
1022 * m4/specific.m4: Likewise.
1023 * intrinsics/f2c_specifics.F90: Likewise.
1024 * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
1025 * intrinsics/selected_real_kind.f90: Likewise.
1026 * intrinsics/dprod_r8.f90: Likewise.
1027 * Makefile.am: Add -fallow-leading-underscore to the
1028 gfor_specific_src files, as well as selected_real_kind.F90
1029 and selected_int_kind.F90
1030 * Makefile.in: Regenerate.
1031 * generated/_sqrt_c8.F90: Regenerate.
1032 * generated/_sign_r16.F90: Regenerate.
1033 * generated/_log_c16.F90: Regenerate.
1034 * generated/_sin_c10.F90: Regenerate.
1035 * generated/_tanh_r4.F90: Regenerate.
1036 * generated/_tanh_r8.F90: Regenerate.
1037 * generated/_log10_r10.F90: Regenerate.
1038 * generated/_aimag_c4.F90: Regenerate.
1039 * generated/_sign_r4.F90: Regenerate.
1040 * generated/_aimag_c8.F90: Regenerate.
1041 * generated/_sign_r8.F90: Regenerate.
1042 * generated/_mod_i4.F90: Regenerate.
1043 * generated/_cos_r16.F90: Regenerate.
1044 * generated/_aint_r10.F90: Regenerate.
1045 * generated/_mod_i8.F90: Regenerate.
1046 * generated/_abs_i16.F90: Regenerate.
1047 * generated/_sqrt_c10.F90: Regenerate.
1048 * generated/_atan2_r4.F90: Regenerate.
1049 * generated/_cos_c4.F90: Regenerate.
1050 * generated/_atan_r16.F90: Regenerate.
1051 * generated/_tanh_r10.F90: Regenerate.
1052 * generated/_atan2_r8.F90: Regenerate.
1053 * generated/_cos_c8.F90: Regenerate.
1054 * generated/_exp_r4.F90: Regenerate.
1055 * generated/_log_r10.F90: Regenerate.
1056 * generated/_exp_r8.F90: Regenerate.
1057 * generated/_abs_r4.F90: Regenerate.
1058 * generated/_abs_r8.F90: Regenerate.
1059 * generated/_sin_r16.F90: Regenerate.
1060 * generated/_tan_r4.F90: Regenerate.
1061 * generated/_tan_r8.F90: Regenerate.
1062 * generated/_sign_i4.F90: Regenerate.
1063 * generated/_sign_i8.F90: Regenerate.
1064 * generated/_exp_c16.F90: Regenerate.
1065 * generated/_sqrt_r16.F90: Regenerate.
1066 * generated/_conjg_c4.F90: Regenerate.
1067 * generated/_conjg_c8.F90: Regenerate.
1068 * generated/_dim_r16.F90: Regenerate.
1069 * generated/_mod_r10.F90: Regenerate.
1070 * generated/_abs_c10.F90: Regenerate.
1071 * generated/_conjg_c16.F90: Regenerate.
1072 * generated/_tan_r16.F90: Regenerate.
1073 * generated/_asinh_r10.F90: Regenerate.
1074 * generated/_abs_i4.F90: Regenerate.
1075 * generated/_abs_i8.F90: Regenerate.
1076 * generated/_acos_r10.F90: Regenerate.
1077 * generated/_exp_r10.F90: Regenerate.
1078 * generated/_acosh_r16.F90: Regenerate.
1079 * generated/_atan2_r16.F90: Regenerate.
1080 * generated/_cos_c16.F90: Regenerate.
1081 * generated/_mod_i16.F90: Regenerate.
1082 * generated/_asin_r4.F90: Regenerate.
1083 * generated/_anint_r16.F90: Regenerate.
1084 * generated/_asin_r8.F90: Regenerate.
1085 * generated/_aimag_c10.F90: Regenerate.
1086 * generated/_exp_c4.F90: Regenerate.
1087 * generated/_sinh_r10.F90: Regenerate.
1088 * generated/_exp_c8.F90: Regenerate.
1089 * generated/_log10_r4.F90: Regenerate.
1090 * generated/_log10_r8.F90: Regenerate.
1091 * generated/_abs_c4.F90: Regenerate.
1092 * generated/_abs_r16.F90: Regenerate.
1093 * generated/_abs_c8.F90: Regenerate.
1094 * generated/_asin_r10.F90: Regenerate.
1095 * generated/_sign_r10.F90: Regenerate.
1096 * generated/_atanh_r16.F90: Regenerate.
1097 * generated/_log_c10.F90: Regenerate.
1098 * generated/_cosh_r16.F90: Regenerate.
1099 * generated/_sin_c16.F90: Regenerate.
1100 * generated/_cos_r10.F90: Regenerate.
1101 * generated/_log10_r16.F90: Regenerate.
1102 * generated/_aint_r16.F90: Regenerate.
1103 * generated/_acos_r4.F90: Regenerate.
1104 * generated/_acos_r8.F90: Regenerate.
1105 * generated/_sqrt_c16.F90: Regenerate.
1106 * generated/_acosh_r4.F90: Regenerate.
1107 * generated/_atan_r10.F90: Regenerate.
1108 * generated/_acosh_r8.F90: Regenerate.
1109 * generated/_sign_i16.F90: Regenerate.
1110 * generated/_tanh_r16.F90: Regenerate.
1111 * generated/_log_r4.F90: Regenerate.
1112 * generated/_log_r8.F90: Regenerate.
1113 * generated/_sin_r4.F90: Regenerate.
1114 * generated/_sin_r8.F90: Regenerate.
1115 * generated/_log_r16.F90: Regenerate.
1116 * generated/_sin_r10.F90: Regenerate.
1117 * generated/_sqrt_r4.F90: Regenerate.
1118 * generated/_exp_c10.F90: Regenerate.
1119 * generated/_sqrt_r8.F90: Regenerate.
1120 * generated/_asinh_r4.F90: Regenerate.
1121 * generated/_sqrt_r10.F90: Regenerate.
1122 * generated/_asinh_r8.F90: Regenerate.
1123 * generated/_dim_r4.F90: Regenerate.
1124 * generated/_dim_r8.F90: Regenerate.
1125 * generated/_dim_r10.F90: Regenerate.
1126 * generated/_cosh_r4.F90: Regenerate.
1127 * generated/_conjg_c10.F90: Regenerate.
1128 * generated/_tan_r10.F90: Regenerate.
1129 * generated/_cosh_r8.F90: Regenerate.
1130 * generated/_mod_r16.F90: Regenerate.
1131 * generated/_abs_c16.F90: Regenerate.
1132 * generated/_cos_r4.F90: Regenerate.
1133 * generated/_asinh_r16.F90: Regenerate.
1134 * generated/_cos_r8.F90: Regenerate.
1135 * generated/_atanh_r4.F90: Regenerate.
1136 * generated/_atanh_r8.F90: Regenerate.
1137 * generated/_acos_r16.F90: Regenerate.
1138 * generated/_anint_r4.F90: Regenerate.
1139 * generated/_acosh_r10.F90: Regenerate.
1140 * generated/_anint_r8.F90: Regenerate.
1141 * generated/_exp_r16.F90: Regenerate.
1142 * generated/_mod_r4.F90: Regenerate.
1143 * generated/_cos_c10.F90: Regenerate.
1144 * generated/_atan2_r10.F90: Regenerate.
1145 * generated/_dim_i16.F90: Regenerate.
1146 * generated/_mod_r8.F90: Regenerate.
1147 * generated/_anint_r10.F90: Regenerate.
1148 * generated/_aint_r4.F90: Regenerate.
1149 * generated/_aint_r8.F90: Regenerate.
1150 * generated/_dim_i4.F90: Regenerate.
1151 * generated/_sinh_r4.F90: Regenerate.
1152 * generated/_log_c4.F90: Regenerate.
1153 * generated/_dim_i8.F90: Regenerate.
1154 * generated/_sinh_r8.F90: Regenerate.
1155 * generated/_log_c8.F90: Regenerate.
1156 * generated/_sin_c4.F90: Regenerate.
1157 * generated/_sin_c8.F90: Regenerate.
1158 * generated/misc_specifics.F90: Regenerate.
1159 * generated/_abs_r10.F90: Regenerate.
1160 * generated/_aimag_c16.F90: Regenerate.
1161 * generated/_atan_r4.F90: Regenerate.
1162 * generated/_sinh_r16.F90: Regenerate.
1163 * generated/_atan_r8.F90: Regenerate.
1164 * generated/_atanh_r10.F90: Regenerate.
1165 * generated/_cosh_r10.F90: Regenerate.
1166 * generated/_sqrt_c4.F90: Regenerate.
1167 * generated/_asin_r16.F90: Regenerate.
1169 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1172 * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
1173 * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
1174 * configure: Regenerate.
1175 * config.h.in: Regenerate because it was forgottent in the last
1178 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1179 Tobias Burnus <burnus@net-b.de>
1182 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
1183 environment variable.
1184 * runtime/compile_options.c (set_std): Add new argument.
1185 * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
1187 * libgfortran.h (options_t): New dump_core and backtrace members.
1188 (sys_exit): Move prototype.
1189 * io/unix.c (sys_exit): Move to runtime/error.c.
1190 * configure.ac: Add check for getrlimit.
1191 * configure: Regenerate.
1193 2007-01-17 Tom Tromey <tromey@redhat.com>
1195 PR libfortran/27107:
1196 * aclocal.m4, configure, Makefile.in: Rebuilt.
1197 * configure.ac: Enable automake dependency tracking. Update
1198 minimum automake version.
1200 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1203 * runtime/environ.c: Don't include io/io.h.
1204 * runtime/string.c: Don't include io/io.h.
1205 (compare0): Add cast to avoid warning.
1206 * runtime/error.c: Don't include io/io.h.
1207 (st_printf): Move to io/unix.c.
1208 * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
1209 * intrinsics/fget.c: Likewise.
1210 * intrinsics/ftell.c: Likewise.
1211 * intrinsics/tty.c: Likewise.
1212 * libgfortran.h (DEFAULT_RECL, notification_std,
1213 get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
1214 DEFAULT_TEMPDIR): New declarations.
1215 * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
1216 IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
1217 Move to libgfortran.h.
1218 * io/unix.c: Add io/unix.h content.
1219 (st_printf): New function.
1220 * io/intrinsics.c: New file.
1221 * io/unix.h: Remove, contents moved into unix.c.
1222 * libtool-version: Update library version to 3.0.0.
1223 * configure.ac: Update library version to 0.3.
1224 * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
1225 intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
1226 * Makefile.in: Regenerate.
1227 * configure: Regenerate.
1229 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1232 * io/list_read.c (finish_separator): Don't call next_record.
1233 (list_formatted_read_scalar): Clean up some comments and whitespace.
1234 (nml_read_obj): Whitespace fix.
1236 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1239 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
1240 s->file_length == -1.
1241 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
1242 (fd_seek): If not seekable, just return success.
1243 (fd_truncate): If not seekable, no need to truncate. Return failure if
1244 seek fails and the stream is not a pipe.
1245 (fd_to_stream): Make test for non-seekable file more robust.
1247 2007-01-01 Steven G. Kargl <kargls@comcast.net>
1249 * ChangeLog: Copied to ...
1250 * ChangeLog-2006: here.