1 2007-08-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
4 * intrinsics/c99_functions.c (roundl,lroundf,lround,lroundl,
5 llroundf,llround,llroundl): New functions.
6 * c99_protos.h (roundl,lroundf,lround,lroundl,llroundf,llround,
7 llroundl): New prototypes.
8 * configure.ac: Check for lroundf, lround, lroundl, llroundf,
10 * configure: Regenerate.
11 * Makefile.in: Regenerate.
12 * config.h.in: Regenerate.
14 2007-07-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
16 * libgfortran.h: Include <stdarg.h>.
18 2007-07-29 Thomas Koenig <tkoenig@gcc.gnu.org>
22 * configure.ac: Added checks for presence of stdio.h and
23 stdarg.h. Test presence of vsnprintf().
24 * configure: Regenerated.
25 * config.h.in: Regenerated.
26 * libgfortran.h: Include <stdio.h>. Add printf attribute to
27 prototype of runtime_error. Remove prototype for st_sprintf.
28 Add prototype for st_vprintf.
29 * runtime/main.c (store_exec_path): Replace st_sprintf by sprintf.
30 * runtime/error.c (st_sprintf): Remove.
31 (runtime_error): Rewrite as a variadic function. Call
33 * intrinsics/pack_generic.c: Output extents of LHS and RHS for
35 * io/open.c (new_unit): Replace st_sprintf by sprintf.
36 * io/list_read.c (convert_integer): Likewise.
37 (parse_repeat): Likewise.
38 (read_logical): Likewise.
39 (read_character): Likewise.
40 (parse_real): Likewise.
41 (read_real): Likewise.
42 (check_type): Likewise.
43 (nml_parse_qualifyer): Likewise.
44 (nml_read_obj): Likewise.
45 (nml_get_ojb_data): Likewise.
46 * io/unix.c (init_error_stream): Remove.
47 (tempfile): Replace st_sprintf by sprintf.
48 (st_vprintf): New function.
49 (st_printf): Rewrite to call st_vprintf.
50 * io/transfer.c (require_type): Replace st_sprintf by sprintf.
51 * io/format.c (format_error): Likewise.
52 * io/write.c (nml_write_obj): Likewise.
54 2007-07-27 Janne Blomqvist <jb@gcc.gnu.org>
56 * io/transfer.c (st_set_nml_var_dim): Use index_type instead of
57 GFC_INTEGER_4 for array descriptor triplets.
59 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
61 * io/unix.c (stream_ttyname): Mark argument as potentialy unused.
63 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
66 * runtime/select.c (select_string): Adjust prototype and function
67 so that the return value is an integer, not a pointer.
69 2007-07-24 Tobias Burnus <burnus@net-b.de>
71 * libgfortran.h: Add bounds_check to compile_options_t.
73 2007-07-24 Thomas Koenig <tkoenig@gcc.gnu.org>
76 * libgfortran.h: Add bounds_check to compile_options_t.
77 * runtime/compile_options.c (set_options): Add handling
78 of compile_options.bounds_check.
79 * intrinsics/pack_generic.c (pack_internal): Also determine
80 the number of elements if compile_options.bounds_check is
81 true. Raise runtime error if a different array shape is
84 2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
87 * intrinsics/iso_c_binding.c (c_funloc): Remove.
88 * intrinsics/iso_c_binding.h: Remove c_funloc.
89 * gfortran.map: Ditto.
91 2007-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
93 * io/read.c (convert_real): Generate error only on EINVAL.
95 2007-07-21 Christopher D. Rickett <crickett@lanl.gov>
98 * libgfortran/intrinsics/iso_c_generated_procs.c: Add c_f_pointer
99 for character/string arguments.
100 * libgfortran/intrinsic/iso_c_binding.c (c_f_pointer_u0): Allow
101 the optional SHAPE arg to be any valid integer kind.
102 * libgfortran/gfortran.map: Add c_f_pointer_s0.
103 * libgfortran/mk-kinds-h.sh: Save smallest integer kind as default
105 * libgfortran/intrinsics/iso_c_generated_procs.c: Add versions of
106 c_f_pointer for complex and logical types.
107 * libgfortran/gfortran.map: Add c_f_pointer versions for logical
110 2007-07-19 Christopher D. Rickett <crickett@lanl.gov>
113 * libgfortran/intrinsics/iso_c_binding.c: Remove C_LOC.
114 * libgfortran/intrinsics/iso_c_binding.h: Ditto.
115 * libgfortran/gfortran.map: Ditto.
117 2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
118 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
121 * runtime/compile_options.c (set_std): Remove.
122 (set_options): New function.
123 (init_compile_options): Add initialization for -fsign-zero option.
124 * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
125 _gfortran_set_options.
126 * libgfortran.h (compile_options_t): Add sign_zero field.
127 * io/write.c (output_float): Use the sign bit of the value to determine
128 if a negative sign should be emitted for zero values. Do not emit the
129 negative sign for zero if -fno-sign-zero was set during compile.
131 2007-07-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
134 * io/unix.c (unix_stream): Move buffer pointer adjacent to small_buffer.
135 * io/transfer.c (formatted_transfer_scalar): If stream I/O, set
136 bytes_used to zero. Fix off by one error in calculation of pos and
137 skips. Eliminate duplicate pending_spaces check.
139 2007-07-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
142 * intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
143 TOPOS arguments are C int.
145 2007-07-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
148 * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
149 (fd_alloc): If the number of bytes needed is greater than the default
150 BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer if
151 necessary. (fd_sfree): Restore use of buffer pointer.
152 (fd_close): Likewise. (fd_open): Likewise.
153 (init_error_stream): Likewise.
155 2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
158 * m4/matmul.m4: When the dimension of b is incorrect,
159 raise a runtime error instead of a failed assertion.
160 * generated/matmul_i1.c: Regenerated.
161 * generated/matmul_i2.c: Regenerated.
162 * generated/matmul_i4.c: Regenerated.
163 * generated/matmul_i8.c: Regenerated.
164 * generated/matmul_i16.c: Regenerated.
165 * generated/matmul_r4.c: Regenerated.
166 * generated/matmul_r8.c: Regenerated.
167 * generated/matmul_r10.c: Regenerated.
168 * generated/matmul_r16.c: Regenerated.
170 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
173 * io/transfer.c (formatted_transfer_scalar): Don't allow pending_spaces
176 2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
179 * intrinsics/unpack_generic.c: If the destination array is
182 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
184 * aclocal.m4: Regenerated.
186 2007-07-04 David Edelsohn <edelsohn@gnu.org>
188 * configure.ac: SUBST CFLAGS.
189 * configure: Regenerate.
191 2007-07-03 Janne Blomqvist <jb@gcc.gnu.org>
193 * libgfortran.h: Mark internal_malloc_size as a malloc function.
194 * runtime/memory.c (internal_realloc_size): Remove.
195 (internal_realloc): Call realloc directly instead of
196 internal_realloc_size.
197 (allocate_size): Remove.
198 (allocate): Call malloc directly instead of allocate_size, mark as
201 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
203 Restore collateral damage from ISO C Binding merge.
205 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
208 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
211 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
213 * Makefile.in: Regenerated with automake 1.9.6.
215 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
217 * Makefile.in: Remove extraneous kill.lo rule.
219 2007-07-02 Janne Blomqvist <jb@gcc.gnu.org>
222 * generated/pow_r*_i4.c: Removed.
224 2007-07-01 Christopher D. Rickett <crickett@lanl.gov>
226 * Makefile.in: Add support for iso_c_generated_procs.c and
228 * Makefile.am: Ditto.
229 * intrinsics/iso_c_generated_procs.c: New file containing helper
231 * intrinsics/iso_c_binding.c: Ditto.
232 * intrinsics/iso_c_binding.h: New file
233 * gfortran.map: Include the __iso_c_binding_c_* functions.
234 * libgfortran.h: define GFC_NUM_RANK_BITS.
236 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
239 * Makefile.am: Don't generate real**int4 pow functions.
240 * gfortran.map: Remove real**int4 pow symbols.
241 * Makefile.in: Regenerated.
243 2007-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
246 * io/write.c (output_float): Set edigits to a fixed size, avoiding
247 variation in field width calculation and eliminate buffer overrun.
249 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
251 * runtime/memory.c (internal_realloc): Use index_type for size
252 argument instead of GFC_INTEGER_4.
253 (allocate_array): Likewise.
254 (allocate): Likewise, add ifdef around unnecessary check.
255 (internal_reallo64): Remove.
256 (allocate_array64): Remove.
257 (allocate64): Remove.
258 * gfortran.map: Remove symbols for 64-bit allocation functions.
260 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
263 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
266 2007-06-24 Adam Nemet <anemet@caviumnetworks.com>
269 * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
270 (show_backtrace): Rename strcasestr to local_strcasestr.
272 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
275 * runtime/error.c (show_locus): Update to emit the unit number
276 and file name involved with the error. Use new function
278 * libgfortran.h (filename_from_unit): Declare new function.
279 * io/unit.c (init_units): Set the unit file name for stdin, stdout,
280 and stderr for use later in error reporting.
281 (filename_from_unit): Add this new function.
283 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
286 * io/write.c (output_float): Calculate ndigits correctly for large
287 numbered formats that must pad zeros before the decimal point.
289 2007-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
292 * runtime/backtrace.c (show_backtrace): Only use snprintf if
295 2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
298 * io/transfer.c (st_read): Remove test for end of file condition.
299 (next_record_r): Add test for end of file condition.
301 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
303 * configure: Regenerate.
305 2007-05-28 Tobias Burnus <burnus@net-b.de>
308 * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
309 (allocate,allocate64): Use stat variable if present.
311 2007-05-27 Janne Blomqvist <jb@gcc.gnu.org>
313 * runtime/string.c (compare0): Use gfc_charlen_type instead of
316 (find_option): Likewise.
317 (fstrcpy): Use gfc_charlen_type instead of int, return length.
318 (cf_strcpy): Likewise.
319 * libgfortran.h: Change string prototypes to use gfc_charlen_type.
320 * io/open.c (new_unit): Use snprintf if available.
321 * io/list_read.c (nml_touch_nodes): Use memcpy instead of
323 (nml_read_obj): Likewise.
324 * io/transfer.c (st_set_nml_var): Likewise.
325 * io/write.c (output_float): Use snprintf if available.
326 (nml_write_obj) Use memcpy instead of strcpy/strcat.
328 2007-05-26 Janne Blomqvist <jb@gcc.gnu.org>
330 * io/unix.c (unix_stream): Rearrange struct members, remove
332 (int_stream): New struct.
333 (fd_alloc): Always use existing buffer, never reallocate.
334 (fd_sfree): Remove check for buffer != small_buffer.
335 (fd_close): Likewise.
336 (mem_alloc_r_at): Change to use int_stream.
337 (mem_alloc_w_at): Likewise.
338 (mem_read): Likewise.
339 (mem_write): Likewise.
341 (mem_truncate): Likewise.
342 (mem_close): Likewise.
343 (mem_sfree): Likewise.
344 (empty_internal_buffer): Likewise.
345 (open_internal): Likewise.
347 2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
349 * io/transfer.c (unformatted_read): Use size from front end eliminating
350 use of size_from_real_kind. (unformatted_write): Ditto.
352 2007-05-23 Steve Ellcey <sje@cup.hp.com>
354 * Makefile.in: Regenerate.
355 * configure: Regenerate.
356 * aclocal.m4: Regenerate.
358 2007-05-22 Tobias Burnus <burnus@net-b.de>
360 * libgfortran.h: Mark stop_numeric as noreturn.
362 2007-05-22 Tobias Burnus <burnus@net-b.de>
365 * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
366 * intrinsics/eoshift2.c (eoshift2): Ditto.
368 2007-05-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
371 * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
372 shift of bit-size number of bits.
374 2007-05-17 Tobias Burnus <burnus@net-b.de>
377 * runtime/environ.c (mark_range): Fix setting default convert unit.
379 2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
382 * intrinsics/string_intrinsics.c (string_trim): Set result to null if
383 string length is zero.
385 2007-05-15 Tobias Burnus <burnus@net-b.de>
388 * io/transfer.c (unformatted_read): Use proper size for real(10).
389 (unformatted_write): Ditto.
391 2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
394 * runtime/memory.c (internal_malloc, internal_malloc64,
395 internal_free): Remove.
396 * runtime/error.c (os_error): Export function.
397 * intrinsics/move_alloc.c: Include stdlib.h.
398 (move_alloc): Call free instead of internal_free.
399 (move_alloc_c): Wrap long lines.
400 * libgfortran.h (os_error): Export prototype.
401 (internal_free): Remove prototype.
402 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
403 _gfortran_internal_malloc and _gfortran_internal_malloc64.
404 Add _gfortran_os_error.
406 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
409 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
411 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
414 * intrinsics/system.c (system_sub): Call flush_all_units.
415 * io/io.h (flush_all_units): Move prototype to libgfortran.h.
416 * libgfortran.h (flush_all_units): Add prototype.
418 2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
421 * runtime/error.c (runtime_error_at): New function.
422 (generate_error): Export this function.
423 * gfortran.map: Add _gfortran_generate_error and
424 _gfortran_runtime_error_at.
425 * libgfortran.h: Add comment to reference error codes in front end.
426 (library_start): Locate prototype with library_end macro and add
427 a new comment. Add prototype for runtime_error_at. Export prototype for
429 * io/lock.c (library_start): Fix check for error condition.
430 * io/transfer.c (data_transfer_init): Add library check.
432 2007-05-04 Daniel Franke <franke.daniel@gmail.com>
435 * io/intrinsics.c (fseek_sub): New.
436 * io/unix.c (fd_fseek): Change logical and physical offsets only
438 * gfortran.map (fseek_sub): New.
440 2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
443 * io/transfer.c (transfer_character): Avoid passing a NULL
444 pointer as source to the transfer routines, if the string length
447 2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
450 * io/list_read.c (next_char): Fix whitespace.
451 * io/io.h: Remove prototypes and define macros for is_array_io,
452 is_stream_io, and is_internal_unit.
453 * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
455 * io/transfer.c (read_sf): Change handling of internal_unit to make a
456 single call to salloc_r and use memcpy to transfer the data.
458 2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
461 * io/file_pos.c (st_backspace): Set flags.position for end of file
462 condition and use new function update_position.
463 (st_endfile): Use new function update_position.
464 * io/io.h: Add prototype for new function.
465 * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
467 * io/unit.c (update_position): New function to update position info
469 * io/transfer.c (next_record): Fix typo and use new function.
471 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
474 * intrinsics/getlog.c: Use getpwuid and geteuid instead of
475 getlogin if they are available.
476 * configure.ac: Add checks for getpwuid and geteuid.
477 * configure: Regenerate.
478 * config.h.in: Regenerate.
480 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
482 * configure: Regenerate using autoconf 2.59.
483 * Makefile.in: Likewise.
484 * config.h.in: Likewise.
486 2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
489 * configure.ac: New test to determine if symbol versioning is
491 * Makefile.am: Use result of above test to add appropriate linker
493 * gfortran.map: New file.
494 * configure: Regenerated.
495 * Makefile.in: Regenerated.
496 * config.h.in: Regenerated.
498 2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
501 * io/transfer.c (read_block_direct): Instead of calling us_read,
502 set dtp->u.p.current_unit->current_record = 0 so that pre_position
503 will read the record marker.
504 (data_transfer_init): For different error conditions, call
505 generate_error, then return.
507 2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
509 * runtime/main.c (please_free_exe_path_when_done): New variable.
510 (store_exe_path): Initialize character buffer, and mark whether
511 exe_path should be free'd by the library destructor function.
512 (cleanup): Only free exe_path if needed.
514 2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
515 Tobias Burnus <burnus@net-b.de>
519 * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
520 * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
521 array structures we pass to unpack_internal.
523 2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
525 * io/open.c (test_endfile): Revert changes for 31052, restoring this
528 2007-04-14 Steve Ellcey <sje@cup.hp.com>
530 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
531 * Makefile.in: Regenerate.
533 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
535 * configure: Regenerate.
537 2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
539 * intrinsics/cpu_time.c: Don't include headers already included
540 by libgfortran.h. Protect inclusion of sys/times.h.
541 * configure.ac: Remove unneeded checks for finit, stdio.h,
542 stddef.h, math.h and sys/params.h.
543 * config/fpu-aix.h: Don't include headers already included by
545 * config/fpu-sysv.h: Likewise.
546 * io/write.c: Likewise.
547 * m4/minloc1.m4: Likewise.
548 * m4/maxloc1.m4: Likewise.
549 * m4/fraction.m4: Likewise.
550 * m4/set_exponent.m4: Likewise.
551 * m4/spacing.m4: Likewise.
552 * m4/minval.m4: Likewise.
553 * m4/maxval.m4: Likewise.
554 * m4/exponent.m4: Likewise.
555 * m4/nearest.m4: Likewise.
556 * m4/minloc0.m4: Likewise.
557 * m4/maxloc0.m4: Likewise.
558 * m4/rrspacing.m4: Likewise.
559 * runtime/main.c: Likewise.
560 * runtime/error.c: Likewise.
561 * intrinsics/system_clock.c: Likewise.
562 * intrinsics/etime.c: Likewise.
563 * intrinsics/stat.c: Likewise.
564 * intrinsics/date_and_time.c: Likewise.
565 * intrinsics/env.c: Likewise.
566 * intrinsics/kill.c: Likewise.
567 * intrinsics/getXid.c: Likewise.
568 * intrinsics/chmod.c: Likewise.
569 * intrinsics/args.c: Likewise.
570 * intrinsics/c99_functions.c: Likewise.
571 * generated/minval_r8.c: Regenerate.
572 * generated/maxloc1_4_r8.c: Regenerate.
573 * generated/minloc1_16_r16.c: Regenerate.
574 * generated/maxval_i2.c: Regenerate.
575 * generated/maxloc1_8_i4.c: Regenerate.
576 * generated/exponent_r16.c: Regenerate.
577 * generated/maxloc0_4_r4.c: Regenerate.
578 * generated/fraction_r16.c: Regenerate.
579 * generated/fraction_r4.c: Regenerate.
580 * generated/minloc0_4_r16.c: Regenerate.
581 * generated/minloc0_4_i1.c: Regenerate.
582 * generated/maxloc0_4_r16.c: Regenerate.
583 * generated/maxloc0_4_i2.c: Regenerate.
584 * generated/minloc1_8_r16.c: Regenerate.
585 * generated/maxloc1_8_r16.c: Regenerate.
586 * generated/set_exponent_r8.c: Regenerate.
587 * generated/maxloc0_8_i8.c: Regenerate.
588 * generated/minloc1_4_r8.c: Regenerate.
589 * generated/maxloc1_16_r16.c: Regenerate.
590 * generated/minloc1_16_i4.c: Regenerate.
591 * generated/maxloc1_16_i4.c: Regenerate.
592 * generated/minloc0_16_i8.c: Regenerate.
593 * generated/maxloc0_16_i8.c: Regenerate.
594 * generated/nearest_r8.c: Regenerate.
595 * generated/spacing_r16.c: Regenerate.
596 * generated/maxval_r16.c: Regenerate.
597 * generated/minloc1_8_i4.c: Regenerate.
598 * generated/minloc0_16_i16.c: Regenerate.
599 * generated/minloc0_4_r4.c: Regenerate.
600 * generated/set_exponent_r10.c: Regenerate.
601 * generated/rrspacing_r10.c: Regenerate.
602 * generated/minloc0_4_i2.c: Regenerate.
603 * generated/maxloc0_8_i1.c: Regenerate.
604 * generated/minloc0_8_i8.c: Regenerate.
605 * generated/spacing_r4.c: Regenerate.
606 * generated/minloc1_16_r10.c: Regenerate.
607 * generated/minloc0_16_i1.c: Regenerate.
608 * generated/maxloc0_16_i1.c: Regenerate.
609 * generated/maxloc1_8_r8.c: Regenerate.
610 * generated/minval_i16.c: Regenerate.
611 * generated/exponent_r10.c: Regenerate.
612 * generated/maxval_i4.c: Regenerate.
613 * generated/minval_i8.c: Regenerate.
614 * generated/maxloc1_4_i8.c: Regenerate.
615 * generated/fraction_r10.c: Regenerate.
616 * generated/maxloc0_16_i16.c: Regenerate.
617 * generated/maxloc0_8_r4.c: Regenerate.
618 * generated/rrspacing_r8.c: Regenerate.
619 * generated/minloc1_4_i16.c: Regenerate.
620 * generated/minloc0_4_r10.c: Regenerate.
621 * generated/maxloc1_4_i16.c: Regenerate.
622 * generated/minloc0_8_i16.c: Regenerate.
623 * generated/maxloc0_4_r10.c: Regenerate.
624 * generated/maxloc0_8_i16.c: Regenerate.
625 * generated/minloc1_8_r10.c: Regenerate.
626 * generated/minloc0_16_r4.c: Regenerate.
627 * generated/maxloc1_8_r10.c: Regenerate.
628 * generated/maxloc0_16_r4.c: Regenerate.
629 * generated/minloc1_16_r8.c: Regenerate.
630 * generated/minloc0_8_i1.c: Regenerate.
631 * generated/maxloc0_4_i4.c: Regenerate.
632 * generated/maxloc1_16_r8.c: Regenerate.
633 * generated/maxloc0_8_i2.c: Regenerate.
634 * generated/nearest_r16.c: Regenerate.
635 * generated/maxloc1_16_r10.c: Regenerate.
636 * generated/minloc0_16_i2.c: Regenerate.
637 * generated/minloc1_8_r8.c: Regenerate.
638 * generated/maxloc0_16_i2.c: Regenerate.
639 * generated/exponent_r4.c: Regenerate.
640 * generated/spacing_r10.c: Regenerate.
641 * generated/maxval_r10.c: Regenerate.
642 * generated/minval_i1.c: Regenerate.
643 * generated/maxloc1_4_i1.c: Regenerate.
644 * generated/minloc1_4_i8.c: Regenerate.
645 * generated/minloc0_8_r4.c: Regenerate.
646 * generated/minloc0_16_r16.c: Regenerate.
647 * generated/minloc0_4_i4.c: Regenerate.
648 * generated/minloc0_8_i2.c: Regenerate.
649 * generated/minval_r4.c: Regenerate.
650 * generated/maxloc1_4_r4.c: Regenerate.
651 * generated/maxval_r8.c: Regenerate.
652 * generated/minval_r16.c: Regenerate.
653 * generated/minloc1_4_i1.c: Regenerate.
654 * generated/minval_i2.c: Regenerate.
655 * generated/maxloc1_4_i2.c: Regenerate.
656 * generated/maxloc1_8_i8.c: Regenerate.
657 * generated/maxloc0_4_r8.c: Regenerate.
658 * generated/maxloc0_16_r16.c: Regenerate.
659 * generated/minloc1_4_r16.c: Regenerate.
660 * generated/fraction_r8.c: Regenerate.
661 * generated/maxloc1_4_r16.c: Regenerate.
662 * generated/set_exponent_r4.c: Regenerate.
663 * generated/minloc0_8_r16.c: Regenerate.
664 * generated/maxloc0_8_r16.c: Regenerate.
665 * generated/nearest_r10.c: Regenerate.
666 * generated/maxloc0_8_i4.c: Regenerate.
667 * generated/minloc1_4_r4.c: Regenerate.
668 * generated/minloc0_16_i4.c: Regenerate.
669 * generated/maxloc0_16_i4.c: Regenerate.
670 * generated/nearest_r4.c: Regenerate.
671 * generated/minloc1_16_i8.c: Regenerate.
672 * generated/maxloc1_16_i8.c: Regenerate.
673 * generated/minloc1_4_i2.c: Regenerate.
674 * generated/maxloc1_8_i1.c: Regenerate.
675 * generated/minloc0_16_r10.c: Regenerate.
676 * generated/minloc1_8_i8.c: Regenerate.
677 * generated/minloc0_4_r8.c: Regenerate.
678 * generated/minloc0_8_i4.c: Regenerate.
679 * generated/minloc1_16_i16.c: Regenerate.
680 * generated/spacing_r8.c: Regenerate.
681 * generated/maxloc1_8_r4.c: Regenerate.
682 * generated/minloc1_16_i1.c: Regenerate.
683 * generated/maxloc1_16_i1.c: Regenerate.
684 * generated/minval_r10.c: Regenerate.
685 * generated/minval_i4.c: Regenerate.
686 * generated/minloc1_8_i1.c: Regenerate.
687 * generated/maxloc1_4_i4.c: Regenerate.
688 * generated/maxloc1_8_i2.c: Regenerate.
689 * generated/maxval_i8.c: Regenerate.
690 * generated/maxloc0_16_r10.c: Regenerate.
691 * generated/rrspacing_r4.c: Regenerate.
692 * generated/minloc0_4_i16.c: Regenerate.
693 * generated/maxloc0_8_r8.c: Regenerate.
694 * generated/maxloc0_4_i16.c: Regenerate.
695 * generated/minloc1_4_r10.c: Regenerate.
696 * generated/minloc1_8_i16.c: Regenerate.
697 * generated/maxloc1_4_r10.c: Regenerate.
698 * generated/minloc0_8_r10.c: Regenerate.
699 * generated/maxloc1_8_i16.c: Regenerate.
700 * generated/maxloc0_8_r10.c: Regenerate.
701 * generated/minloc1_16_r4.c: Regenerate.
702 * generated/maxloc1_16_r4.c: Regenerate.
703 * generated/minloc0_16_r8.c: Regenerate.
704 * generated/maxloc0_16_r8.c: Regenerate.
705 * generated/maxloc0_4_i8.c: Regenerate.
706 * generated/maxloc1_16_i16.c: Regenerate.
707 * generated/minloc1_8_r4.c: Regenerate.
708 * generated/minloc1_16_i2.c: Regenerate.
709 * generated/maxloc1_16_i2.c: Regenerate.
710 * generated/maxval_i16.c: Regenerate.
711 * generated/exponent_r8.c: Regenerate.
712 * generated/minloc1_4_i4.c: Regenerate.
713 * generated/maxval_i1.c: Regenerate.
714 * generated/minloc1_8_i2.c: Regenerate.
715 * generated/minloc0_8_r8.c: Regenerate.
716 * generated/set_exponent_r16.c: Regenerate.
717 * generated/maxloc0_4_i1.c: Regenerate.
718 * generated/rrspacing_r16.c: Regenerate.
719 * generated/minloc0_4_i8.c: Regenerate.
720 * generated/maxval_r4.c: Regenerate.
721 * configure: Regenerate.
722 * config.h.in: Regenerate.
724 2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
727 * io/format.c (parse_format_list): Fix parsing.
729 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
732 intrinsics/string_intrinsics.c (string_repeat): Remove.
734 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
737 * io/open.c (test_endfile): Delete this function.
738 (edit_modes): Delete call to test_endfile.
739 (new_unit): Likewise.
740 * io/io.h: Delete prototype for test_endfile.
741 * io/transfer.c (next_record_r): Remove use of test_endfile.
742 (st_read): Add test for end file condition and adjust status.
744 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
747 * io/transfer.c (read_block_direct): Do not generate error when reading
748 past EOF on a short record that is less than the RECL= specified.
750 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
753 * io/unit.c (close_unit_1): If there are bytes previously written from
754 ADVANCE="no", move to the end before closing.
756 2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
759 * intrinsics/stat.c: Only provide STAT and FSTAT library routines
760 if stat() and fstat() library functions are available. When lstat()
761 is not available, use stat() instead.
762 * configure.ac: Add checks for stat, fstat and lstat.
763 * configure: Regenerate.
764 * config.h.in: Regenerate.
766 2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
769 * io/transfer.c (next_record_r): Do not call test_endfile if in namelist
772 2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
775 * io/io.h: Add saved_pos to gfc_unit structure.
776 * io/open.c (new_unit): Initialize saved_pos.
777 * io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
778 (next_record_w): Fix whitespace.
779 (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
780 later use. If not ADVANCE="no" set saved_pos to zero.
782 2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
785 * intrinsics/reshape_generic.c (reshape_internal): Increment
788 2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
791 * file_pos.c: Update Copyright year.
792 * io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
793 Update Copyright year.
795 * io/unix.c (is_special): Add missing type for this function.
796 Update Copyright year.
797 * io/transfer.c (next_record_r): Restore test_endfile.
798 (st_read): Fix whitespace. Update Copyright year
800 2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
802 * configure.ac: Add missing check for gettimeofday.
803 * config.h.in: Renegerate.
804 * configure: Regenerate.
806 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
809 * io/file_position (st_rewind): Fix comments. Remove use of
810 test_endfile. Don't seek if already at 0 position. Use new is_special
811 function to set endfile state.
812 * io/open.c (test_endfile): Delete this function.
813 * io/io.h: Delete prototype for test_endfile. Add prototype
815 * io/unix.c (is_special): New function. Fix whitespace.
816 * io/transfer.c (next_record_r): Remove use of test_endfile.
818 2007-03-16 David Edelsohn <edelsohn@gnu.org>
820 * runtime/main.c: Include "config.h" first.
822 2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
825 * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
827 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
829 * runtime/backtrace.c: New file.
830 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
831 environment variable.
832 * runtime/compile_options.c (set_std): Add new argument.
833 * runtime/main.c (store_exe_path, full_exe_path): New functions.
834 * runtime/error.c (sys_exit): Add call to show_backtrace.
835 * libgfortran.h (options_t): New backtrace field.
836 (store_exe_path, full_exe_path, show_backtrace): New prototypes.
837 * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
838 close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
840 * Makefile.am: Add runtime/backtrace.c.
841 * fmain.c (main): Add call to store_exe_path.
842 * Makefile.in: Renegerate.
843 * config.h.in: Renegerate.
844 * configure: Regenerate.
846 2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
849 * io/transfer.c (formatted_transfer_scalar): Adjust position for pending
850 spaces when in writing mode. Clean up some formatting.
852 2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
855 * all.m4: Quote everything, except for m4 macros.
857 * count.m4: Likewise.
858 * cshift1.m4: Likewise.
859 * eoshift1.m4: Likewise.
860 * eoshift3.m4: Likewise.
861 * exponent.m4: Likewise.
862 * fraction.m4: Likewise.
863 * in_pack.m4: Likewise.
864 * in_unpack.m4: Likewise.
865 * matmul.m4: Likewise.
866 * matmull.m4: Likewise.
867 * nearest.m4: Likewise.
869 * product.m4: Likewise.
870 * reshape.m4: Likewise.
871 * rrspacing.m4: Likewise.
872 * set_exponent.m4: Likewise.
873 * shape.m4: Likewise.
874 * spacing.m4: Likewise.
875 * transpose.m4: Likewise.
877 2007-03-14 Jakub Jelinek <jakub@redhat.com>
879 * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
880 O_RDONLY even if errno is EROFS.
882 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
885 * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
886 * io/transfer.c (next_record_w): Set bytes left to record length for
887 sequential unformatted I/O.
888 (next_record_r): Ditto.
889 (read_block_direct): Fix test for exceeding bytes_left.
891 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
894 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
897 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
900 * m4/pow_m4: Use appropriate unsigned int type for u.
901 * generated/pow_c10_i16.c: Regenerated.
902 * generated/pow_c10_i4.c: Regenerated.
903 * generated/pow_c10_i8.c: Regenerated.
904 * generated/pow_c16_i16.c: Regenerated.
905 * generated/pow_c16_i4.c: Regenerated.
906 * generated/pow_c16_i8.c: Regenerated.
907 * generated/pow_c4_i16.c: Regenerated.
908 * generated/pow_c4_i4.c: Regenerated.
909 * generated/pow_c4_i8.c: Regenerated.
910 * generated/pow_c8_i16.c: Regenerated.
911 * generated/pow_c8_i4.c: Regenerated.
912 * generated/pow_c8_i8.c: Regenerated.
913 * generated/pow_i16_i16.c: Regenerated.
914 * generated/pow_i16_i4.c: Regenerated.
915 * generated/pow_i16_i8.c: Regenerated.
916 * generated/pow_i4_i16.c: Regenerated.
917 * generated/pow_i4_i4.c: Regenerated.
918 * generated/pow_i4_i8.c: Regenerated.
919 * generated/pow_i8_i16.c: Regenerated.
920 * generated/pow_i8_i4.c: Regenerated.
921 * generated/pow_i8_i8.c: Regenerated.
922 * generated/pow_r10_i16.c: Regenerated.
923 * generated/pow_r10_i4.c: Regenerated.
924 * generated/pow_r10_i8.c: Regenerated.
925 * generated/pow_r16_i16.c: Regenerated.
926 * generated/pow_r16_i4.c: Regenerated.
927 * generated/pow_r16_i8.c: Regenerated.
928 * generated/pow_r4_i16.c: Regenerated.
929 * generated/pow_r4_i4.c: Regenerated.
930 * generated/pow_r4_i8.c: Regenerated.
931 * generated/pow_r8_i16.c: Regenerated.
932 * generated/pow_r8_i4.c: Regenerated.
933 * generated/pow_r8_i8.c: Regenerated.
935 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
938 * intrinsics/pack_generic.c (pack_internal): Add special checks
939 for zero-sized arrays.
941 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
943 * Makefile.am: Add dummy install-pdf target.
944 * Makefile.in: Regenerate
946 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
949 * io/listread.c (namelist_read): Eat comment line.
951 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
954 * io/write.c (output_float): Add condition of format F only for
955 special case rounding with zero precision.
957 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
961 * Makefile.am: Add $(srcdir) too all files in generated/.
962 (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
963 maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
965 (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
966 maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
968 (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
969 (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
970 minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
972 (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
973 minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
975 (i_minval_c): Add minval_i1.c and minval_i2.c.
976 (i_sum_c): Add sum_i1.c and sum_i2.c.
977 (i_product_c): Add product_i1.c and product_i2.c.
978 (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
979 (gfor_built_specific_src): Remove $(srcdir) from target.
980 (gfor_bulit_specific2_src): Likewise.
981 Makefile.in: Regenerated.
982 libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
983 Add gfc_array_i1 and gfc_array_i2.
984 * generated/matmul_i1.c: New file.
985 * generated/matmul_i2.c: New file.
986 * generated/maxloc0_16_i1.c: New file.
987 * generated/maxloc0_16_i2.c: New file.
988 * generated/maxloc0_4_i1.c: New file.
989 * generated/maxloc0_4_i2.c: New file.
990 * generated/maxloc0_8_i1.c: New file.
991 * generated/maxloc0_8_i2.c: New file.
992 * generated/maxloc1_16_i1.c: New file.
993 * generated/maxloc1_16_i2.c: New file.
994 * generated/maxloc1_4_i1.c: New file.
995 * generated/maxloc1_4_i2.c: New file.
996 * generated/maxloc1_8_i1.c: New file.
997 * generated/maxloc1_8_i2.c: New file.
998 * generated/maxval_i1.c: New file.
999 * generated/maxval_i2.c: New file.
1000 * generated/minloc0_16_i1.c: New file.
1001 * generated/minloc0_16_i2.c: New file.
1002 * generated/minloc0_4_i1.c: New file.
1003 * generated/minloc0_4_i2.c: New file.
1004 * generated/minloc0_8_i1.c: New file.
1005 * generated/minloc0_8_i2.c: New file.
1006 * generated/minloc1_16_i1.c: New file.
1007 * generated/minloc1_16_i2.c: New file.
1008 * generated/minloc1_4_i1.c: New file.
1009 * generated/minloc1_4_i2.c: New file.
1010 * generated/minloc1_8_i1.c: New file.
1011 * generated/minloc1_8_i2.c: New file.
1012 * generated/minval_i1.c: New file.
1013 * generated/minval_i2.c: New file.
1014 * generated/product_i1.c: New file.
1015 * generated/product_i2.c: New file.
1016 * generated/sum_i1.c: New file.
1017 * generated/sum_i2.c: New file.
1019 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1021 * runtime/memory.c (deallocate): Correct comment.
1023 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
1025 * Makefile.am: Use $(M4) instead of m4.
1026 * Makefile.in: Regenerate.
1028 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
1030 * Makefile.am: Remove $(srcdir) from assorted targets
1032 * Makefile.in: Regenerate.
1034 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
1035 Tobias Burnus <burnus@net-b.de>
1038 * m4/iparm.m4: Use HUGE-1 for most negative integer.
1039 * generated/maxloc1_8_i4.c: Regenerate.
1040 * generated/maxloc0_8_i8.c: Regenerate.
1041 * generated/maxloc1_16_i4.c: Regenerate.
1042 * generated/maxloc0_16_i8.c: Regenerate.
1043 * generated/maxval_i4.c: Regenerate.
1044 * generated/maxloc1_4_i8.c: Regenerate.
1045 * generated/maxloc0_16_i16.c: Regenerate.
1046 * generated/maxloc1_4_i16.c: Regenerate.
1047 * generated/maxloc0_8_i16.c: Regenerate.
1048 * generated/maxloc0_4_i4.c: Regenerate.
1049 * generated/maxloc1_8_i8.c: Regenerate.
1050 * generated/maxloc0_8_i4.c: Regenerate.
1051 * generated/maxloc0_16_i4.c: Regenerate.
1052 * generated/maxloc1_16_i8.c: Regenerate.
1053 * generated/maxloc1_4_i4.c: Regenerate.
1054 * generated/maxval_i8.c: Regenerate.
1055 * generated/maxloc0_4_i16.c: Regenerate.
1056 * generated/maxloc1_8_i16.c: Regenerate.
1057 * generated/maxloc0_4_i8.c: Regenerate.
1058 * generated/maxloc1_16_i16.c: Regenerate.
1059 * generated/maxval_i16.c: Regenerate.
1061 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1064 * intrinsics/string_intrinsics.c (string_repeat): Don't check
1065 if ncopies is negative.
1067 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1070 * libgfortran.h: Do not prefix symbol name with
1071 __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
1073 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
1077 * io/transfer.c (init_loop_spec, next_array_record): Change to
1078 lbound rather than unity base.
1080 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1082 * runtime/error.c: Include sys/time.h before sys/resource.h.
1084 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
1087 * intrinsics/string_intrinsics.c(compare_string): Make
1088 sure that comparisons are done unsigned.
1090 2007-01-21 Tobias Burnus <burnus@net-b.de>
1093 * intrinsics/date_and_time.c (date_and_time): Fix case where time
1095 * configure.ac: Remove AC_TRY_RUN test for timezone in
1097 * acinclude.m4: Ditto.
1098 * configure: Regenerate.
1099 * config.h.in: Regenerate.
1101 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1103 * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
1104 * m4/specific2.m4: Likewise.
1105 * m4/specific.m4: Likewise.
1106 * intrinsics/f2c_specifics.F90: Likewise.
1107 * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
1108 * intrinsics/selected_real_kind.f90: Likewise.
1109 * intrinsics/dprod_r8.f90: Likewise.
1110 * Makefile.am: Add -fallow-leading-underscore to the
1111 gfor_specific_src files, as well as selected_real_kind.F90
1112 and selected_int_kind.F90
1113 * Makefile.in: Regenerate.
1114 * generated/_sqrt_c8.F90: Regenerate.
1115 * generated/_sign_r16.F90: Regenerate.
1116 * generated/_log_c16.F90: Regenerate.
1117 * generated/_sin_c10.F90: Regenerate.
1118 * generated/_tanh_r4.F90: Regenerate.
1119 * generated/_tanh_r8.F90: Regenerate.
1120 * generated/_log10_r10.F90: Regenerate.
1121 * generated/_aimag_c4.F90: Regenerate.
1122 * generated/_sign_r4.F90: Regenerate.
1123 * generated/_aimag_c8.F90: Regenerate.
1124 * generated/_sign_r8.F90: Regenerate.
1125 * generated/_mod_i4.F90: Regenerate.
1126 * generated/_cos_r16.F90: Regenerate.
1127 * generated/_aint_r10.F90: Regenerate.
1128 * generated/_mod_i8.F90: Regenerate.
1129 * generated/_abs_i16.F90: Regenerate.
1130 * generated/_sqrt_c10.F90: Regenerate.
1131 * generated/_atan2_r4.F90: Regenerate.
1132 * generated/_cos_c4.F90: Regenerate.
1133 * generated/_atan_r16.F90: Regenerate.
1134 * generated/_tanh_r10.F90: Regenerate.
1135 * generated/_atan2_r8.F90: Regenerate.
1136 * generated/_cos_c8.F90: Regenerate.
1137 * generated/_exp_r4.F90: Regenerate.
1138 * generated/_log_r10.F90: Regenerate.
1139 * generated/_exp_r8.F90: Regenerate.
1140 * generated/_abs_r4.F90: Regenerate.
1141 * generated/_abs_r8.F90: Regenerate.
1142 * generated/_sin_r16.F90: Regenerate.
1143 * generated/_tan_r4.F90: Regenerate.
1144 * generated/_tan_r8.F90: Regenerate.
1145 * generated/_sign_i4.F90: Regenerate.
1146 * generated/_sign_i8.F90: Regenerate.
1147 * generated/_exp_c16.F90: Regenerate.
1148 * generated/_sqrt_r16.F90: Regenerate.
1149 * generated/_conjg_c4.F90: Regenerate.
1150 * generated/_conjg_c8.F90: Regenerate.
1151 * generated/_dim_r16.F90: Regenerate.
1152 * generated/_mod_r10.F90: Regenerate.
1153 * generated/_abs_c10.F90: Regenerate.
1154 * generated/_conjg_c16.F90: Regenerate.
1155 * generated/_tan_r16.F90: Regenerate.
1156 * generated/_asinh_r10.F90: Regenerate.
1157 * generated/_abs_i4.F90: Regenerate.
1158 * generated/_abs_i8.F90: Regenerate.
1159 * generated/_acos_r10.F90: Regenerate.
1160 * generated/_exp_r10.F90: Regenerate.
1161 * generated/_acosh_r16.F90: Regenerate.
1162 * generated/_atan2_r16.F90: Regenerate.
1163 * generated/_cos_c16.F90: Regenerate.
1164 * generated/_mod_i16.F90: Regenerate.
1165 * generated/_asin_r4.F90: Regenerate.
1166 * generated/_anint_r16.F90: Regenerate.
1167 * generated/_asin_r8.F90: Regenerate.
1168 * generated/_aimag_c10.F90: Regenerate.
1169 * generated/_exp_c4.F90: Regenerate.
1170 * generated/_sinh_r10.F90: Regenerate.
1171 * generated/_exp_c8.F90: Regenerate.
1172 * generated/_log10_r4.F90: Regenerate.
1173 * generated/_log10_r8.F90: Regenerate.
1174 * generated/_abs_c4.F90: Regenerate.
1175 * generated/_abs_r16.F90: Regenerate.
1176 * generated/_abs_c8.F90: Regenerate.
1177 * generated/_asin_r10.F90: Regenerate.
1178 * generated/_sign_r10.F90: Regenerate.
1179 * generated/_atanh_r16.F90: Regenerate.
1180 * generated/_log_c10.F90: Regenerate.
1181 * generated/_cosh_r16.F90: Regenerate.
1182 * generated/_sin_c16.F90: Regenerate.
1183 * generated/_cos_r10.F90: Regenerate.
1184 * generated/_log10_r16.F90: Regenerate.
1185 * generated/_aint_r16.F90: Regenerate.
1186 * generated/_acos_r4.F90: Regenerate.
1187 * generated/_acos_r8.F90: Regenerate.
1188 * generated/_sqrt_c16.F90: Regenerate.
1189 * generated/_acosh_r4.F90: Regenerate.
1190 * generated/_atan_r10.F90: Regenerate.
1191 * generated/_acosh_r8.F90: Regenerate.
1192 * generated/_sign_i16.F90: Regenerate.
1193 * generated/_tanh_r16.F90: Regenerate.
1194 * generated/_log_r4.F90: Regenerate.
1195 * generated/_log_r8.F90: Regenerate.
1196 * generated/_sin_r4.F90: Regenerate.
1197 * generated/_sin_r8.F90: Regenerate.
1198 * generated/_log_r16.F90: Regenerate.
1199 * generated/_sin_r10.F90: Regenerate.
1200 * generated/_sqrt_r4.F90: Regenerate.
1201 * generated/_exp_c10.F90: Regenerate.
1202 * generated/_sqrt_r8.F90: Regenerate.
1203 * generated/_asinh_r4.F90: Regenerate.
1204 * generated/_sqrt_r10.F90: Regenerate.
1205 * generated/_asinh_r8.F90: Regenerate.
1206 * generated/_dim_r4.F90: Regenerate.
1207 * generated/_dim_r8.F90: Regenerate.
1208 * generated/_dim_r10.F90: Regenerate.
1209 * generated/_cosh_r4.F90: Regenerate.
1210 * generated/_conjg_c10.F90: Regenerate.
1211 * generated/_tan_r10.F90: Regenerate.
1212 * generated/_cosh_r8.F90: Regenerate.
1213 * generated/_mod_r16.F90: Regenerate.
1214 * generated/_abs_c16.F90: Regenerate.
1215 * generated/_cos_r4.F90: Regenerate.
1216 * generated/_asinh_r16.F90: Regenerate.
1217 * generated/_cos_r8.F90: Regenerate.
1218 * generated/_atanh_r4.F90: Regenerate.
1219 * generated/_atanh_r8.F90: Regenerate.
1220 * generated/_acos_r16.F90: Regenerate.
1221 * generated/_anint_r4.F90: Regenerate.
1222 * generated/_acosh_r10.F90: Regenerate.
1223 * generated/_anint_r8.F90: Regenerate.
1224 * generated/_exp_r16.F90: Regenerate.
1225 * generated/_mod_r4.F90: Regenerate.
1226 * generated/_cos_c10.F90: Regenerate.
1227 * generated/_atan2_r10.F90: Regenerate.
1228 * generated/_dim_i16.F90: Regenerate.
1229 * generated/_mod_r8.F90: Regenerate.
1230 * generated/_anint_r10.F90: Regenerate.
1231 * generated/_aint_r4.F90: Regenerate.
1232 * generated/_aint_r8.F90: Regenerate.
1233 * generated/_dim_i4.F90: Regenerate.
1234 * generated/_sinh_r4.F90: Regenerate.
1235 * generated/_log_c4.F90: Regenerate.
1236 * generated/_dim_i8.F90: Regenerate.
1237 * generated/_sinh_r8.F90: Regenerate.
1238 * generated/_log_c8.F90: Regenerate.
1239 * generated/_sin_c4.F90: Regenerate.
1240 * generated/_sin_c8.F90: Regenerate.
1241 * generated/misc_specifics.F90: Regenerate.
1242 * generated/_abs_r10.F90: Regenerate.
1243 * generated/_aimag_c16.F90: Regenerate.
1244 * generated/_atan_r4.F90: Regenerate.
1245 * generated/_sinh_r16.F90: Regenerate.
1246 * generated/_atan_r8.F90: Regenerate.
1247 * generated/_atanh_r10.F90: Regenerate.
1248 * generated/_cosh_r10.F90: Regenerate.
1249 * generated/_sqrt_c4.F90: Regenerate.
1250 * generated/_asin_r16.F90: Regenerate.
1252 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1255 * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
1256 * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
1257 * configure: Regenerate.
1258 * config.h.in: Regenerate because it was forgottent in the last
1261 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1262 Tobias Burnus <burnus@net-b.de>
1265 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
1266 environment variable.
1267 * runtime/compile_options.c (set_std): Add new argument.
1268 * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
1270 * libgfortran.h (options_t): New dump_core and backtrace members.
1271 (sys_exit): Move prototype.
1272 * io/unix.c (sys_exit): Move to runtime/error.c.
1273 * configure.ac: Add check for getrlimit.
1274 * configure: Regenerate.
1276 2007-01-17 Tom Tromey <tromey@redhat.com>
1278 PR libfortran/27107:
1279 * aclocal.m4, configure, Makefile.in: Rebuilt.
1280 * configure.ac: Enable automake dependency tracking. Update
1281 minimum automake version.
1283 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1286 * runtime/environ.c: Don't include io/io.h.
1287 * runtime/string.c: Don't include io/io.h.
1288 (compare0): Add cast to avoid warning.
1289 * runtime/error.c: Don't include io/io.h.
1290 (st_printf): Move to io/unix.c.
1291 * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
1292 * intrinsics/fget.c: Likewise.
1293 * intrinsics/ftell.c: Likewise.
1294 * intrinsics/tty.c: Likewise.
1295 * libgfortran.h (DEFAULT_RECL, notification_std,
1296 get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
1297 DEFAULT_TEMPDIR): New declarations.
1298 * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
1299 IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
1300 Move to libgfortran.h.
1301 * io/unix.c: Add io/unix.h content.
1302 (st_printf): New function.
1303 * io/intrinsics.c: New file.
1304 * io/unix.h: Remove, contents moved into unix.c.
1305 * libtool-version: Update library version to 3.0.0.
1306 * configure.ac: Update library version to 0.3.
1307 * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
1308 intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
1309 * Makefile.in: Regenerate.
1310 * configure: Regenerate.
1312 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1315 * io/list_read.c (finish_separator): Don't call next_record.
1316 (list_formatted_read_scalar): Clean up some comments and whitespace.
1317 (nml_read_obj): Whitespace fix.
1319 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1322 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
1323 s->file_length == -1.
1324 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
1325 (fd_seek): If not seekable, just return success.
1326 (fd_truncate): If not seekable, no need to truncate. Return failure if
1327 seek fails and the stream is not a pipe.
1328 (fd_to_stream): Make test for non-seekable file more robust.
1330 2007-01-01 Steven G. Kargl <kargls@comcast.net>
1332 * ChangeLog: Copied to ...
1333 * ChangeLog-2006: here.